PORTNAME= stlink DISTVERSION= 1.7.0 DISTVERSIONPREFIX= v CATEGORIES= devel MAINTAINER= lev@FreeBSD.org COMMENT= STM32 ST-Link JTAG variant tools LICENSE= BSD3CLAUSE USES= cmake pkgconfig USE_CSTD= c99 USE_GITHUB= yes GH_ACCOUNT= stlink-org USE_LDCONFIG= yes PORTDOCS= ${ALLDOCS} README.md ALLDOCS= compiling.md dev/developer.txt devices_boards.md \ flashloaders.md release.md tutorial.md version_support.md FLASHLOADERS= cleanroom.md linker.ld Makefile stm32f0.s stm32f4.s stm32f4lv.s \ stm32f7.s stm32f7lv.s stm32l4.s stm32lx.s OPTIONS_DEFINE= DOCS GTK3 OPTIONS_SUB= yes GTK3_USES= gnome GTK3_USE= GNOME=gtk30 GTK3_EXTRA_PATCHES_OFF= ${FILESDIR}/extra-pacth-turn-off-gtk .include post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${MKDIR} ${STAGEDIR}${DOCSDIR}/dev ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}/README.md .for DOC in ${ALLDOCS} ${INSTALL_DATA} ${WRKSRC}/doc/${DOC} ${STAGEDIR}${DOCSDIR}/${DOC} .endfor ${MKDIR} ${STAGEDIR}${DATADIR} .for F in ${FLASHLOADERS} ${INSTALL_DATA} ${WRKSRC}/flashloaders/${F} ${STAGEDIR}${DATADIR}/${F} .endfor .include