Lines 1-6
Link Here
|
1 |
PORTNAME= nimble |
1 |
PORTNAME= nimble |
2 |
DISTVERSIONPREFIX= v |
2 |
DISTVERSIONPREFIX= v |
3 |
DISTVERSION= 0.16.0 |
3 |
DISTVERSION= 0.16.2 |
4 |
CATEGORIES= devel |
4 |
CATEGORIES= devel |
5 |
|
5 |
|
6 |
MAINTAINER= ports@nicandneal.net |
6 |
MAINTAINER= ports@nicandneal.net |
Lines 13-30
LICENSE_FILE= ${WRKSRC}/license.txt
Link Here
|
13 |
BUILD_DEPENDS= ${LOCALBASE}/nim/bin/nim:lang/nim |
13 |
BUILD_DEPENDS= ${LOCALBASE}/nim/bin/nim:lang/nim |
14 |
RUN_DEPENDS= ${LOCALBASE}/nim/bin/nim:lang/nim |
14 |
RUN_DEPENDS= ${LOCALBASE}/nim/bin/nim:lang/nim |
15 |
|
15 |
|
16 |
NIMVER= 2.0.8 |
16 |
NIMVER= 2.2.0 |
17 |
|
17 |
|
18 |
USE_GITHUB= yes |
18 |
USE_GITHUB= yes |
19 |
GH_ACCOUNT= nim-lang |
19 |
GH_ACCOUNT= nim-lang |
20 |
GH_PROJECT= sat:sat checksums:checksums nim:nim |
20 |
GH_PROJECT= sat:sat checksums:checksums nim:nim |
21 |
GH_TAGNAME= faf1617f44d7632ee9601ebc13887644925dcc01:sat b4c73320253f78e3a265aec6d9e8feb83f97c77b:checksums v${NIMVER}:nim |
21 |
GH_TAGNAME= faf1617f44d7632ee9601ebc13887644925dcc01:sat bd9bf4eaea124bf8d01e08f92ac1b14c6879d8d3:checksums v${NIMVER}:nim |
22 |
|
22 |
|
23 |
PLIST_FILES= bin/nimble |
23 |
PLIST_FILES= bin/nimble |
24 |
|
24 |
|
25 |
post-extract: |
25 |
post-extract: |
26 |
# Nim gets extracted with a different name to WRKSRC_nim! |
26 |
# Nim gets extracted with a different name to WRKSRC_nim! |
27 |
${MV} ${WRKDIR}/Nim-${NIMVER} ${WRKSRC_nim} |
27 |
@${MV} ${WRKDIR}/Nim-${NIMVER} ${WRKSRC_nim} |
28 |
|
28 |
|
29 |
post-patch: |
29 |
post-patch: |
30 |
@${REINPLACE_CMD} -e 's|import ../dist/sat/src/sat/sat|import "${WRKSRC_sat}"/src/sat/sat|g' ${WRKSRC}/src/nimble.nim |
30 |
@${REINPLACE_CMD} -e 's|import ../dist/sat/src/sat/sat|import "${WRKSRC_sat}"/src/sat/sat|g' ${WRKSRC}/src/nimble.nim |
Lines 40-43
do-build:
Link Here
|
40 |
do-install: |
40 |
do-install: |
41 |
${INSTALL_PROGRAM} ${WRKSRC}/src/nimble ${STAGEDIR}${PREFIX}/bin |
41 |
${INSTALL_PROGRAM} ${WRKSRC}/src/nimble ${STAGEDIR}${PREFIX}/bin |
42 |
|
42 |
|
|
|
43 |
do-test: |
44 |
@cd $(WRKSRC) && $(STAGEDIR)$(PREFIX)/bin/nimble test |
45 |
|
43 |
.include <bsd.port.mk> |
46 |
.include <bsd.port.mk> |