Lines 1-7
Link Here
|
1 |
PORTNAME= stlink |
1 |
PORTNAME= stlink |
2 |
PORTVERSION= 1.7.0 |
2 |
PORTVERSION= 1.7.0 |
3 |
DISTVERSIONPREFIX= v |
3 |
DISTVERSIONPREFIX= v |
4 |
PORTREVISION= 0 |
|
|
5 |
CATEGORIES= devel |
4 |
CATEGORIES= devel |
6 |
|
5 |
|
7 |
MAINTAINER= lev@FreeBSD.org |
6 |
MAINTAINER= lev@FreeBSD.org |
Lines 9-25
COMMENT= STM32 ST-Link JTAG variant tools
Link Here
|
9 |
|
8 |
|
10 |
LICENSE= BSD3CLAUSE |
9 |
LICENSE= BSD3CLAUSE |
11 |
|
10 |
|
12 |
OPTIONS_DEFINE= GTK3 DOCS |
|
|
13 |
OPTIONS_SUB= yes |
14 |
GTK3_EXTRA_PATCHES_OFF= ${FILESDIR}/extra-pacth-turn-off-gtk |
15 |
GTK3_USES= gnome |
16 |
GTK3_USE= GNOME=gtk30 |
17 |
|
18 |
USE_GITHUB= yes |
19 |
GH_ACCOUNT= stlink-org |
20 |
|
21 |
USES= cmake pkgconfig |
11 |
USES= cmake pkgconfig |
22 |
USE_CSTD= c99 |
12 |
USE_CSTD= c99 |
|
|
13 |
USE_GITHUB= yes |
14 |
GH_ACCOUNT= stlink-org |
23 |
USE_LDCONFIG= yes |
15 |
USE_LDCONFIG= yes |
24 |
|
16 |
|
25 |
PORTDOCS= README.md ${ALLDOCS} |
17 |
PORTDOCS= README.md ${ALLDOCS} |
Lines 27-36
PORTDOCS= README.md ${ALLDOCS}
Link Here
|
27 |
ALLDOCS= compiling.md dev/developer.txt devices_boards.md \ |
19 |
ALLDOCS= compiling.md dev/developer.txt devices_boards.md \ |
28 |
flashloaders.md release.md tutorial.md \ |
20 |
flashloaders.md release.md tutorial.md \ |
29 |
version_support.md |
21 |
version_support.md |
30 |
|
22 |
|
31 |
FLASHLOADERS= cleanroom.md linker.ld Makefile stm32f0.s stm32f4.s \ |
23 |
FLASHLOADERS= cleanroom.md linker.ld Makefile stm32f0.s stm32f4.s \ |
32 |
stm32f4lv.s stm32f7.s stm32f7lv.s stm32l4.s stm32lx.s \ |
24 |
stm32f4lv.s stm32f7.s stm32f7lv.s stm32l4.s stm32lx.s \ |
33 |
|
25 |
|
|
|
26 |
OPTIONS_DEFINE= GTK3 DOCS |
27 |
OPTIONS_SUB= yes |
28 |
GTK3_USES= gnome |
29 |
GTK3_USE= GNOME=gtk30 |
30 |
GTK3_EXTRA_PATCHES_OFF= ${FILESDIR}/extra-pacth-turn-off-gtk |
31 |
|
34 |
.include <bsd.port.pre.mk> |
32 |
.include <bsd.port.pre.mk> |
35 |
|
33 |
|
36 |
post-install: |
34 |
post-install: |
Lines 44-49
post-install:
Link Here
|
44 |
.for F in ${FLASHLOADERS} |
42 |
.for F in ${FLASHLOADERS} |
45 |
${INSTALL_DATA} ${WRKSRC}/flashloaders/${F} ${STAGEDIR}${DATADIR}/${F} |
43 |
${INSTALL_DATA} ${WRKSRC}/flashloaders/${F} ${STAGEDIR}${DATADIR}/${F} |
46 |
.endfor |
44 |
.endfor |
47 |
|
|
|
48 |
|
45 |
|
49 |
.include <bsd.port.post.mk> |
46 |
.include <bsd.port.post.mk> |