diff options
author | Neal Nelson <ports@nicandneal.net> | 2021-10-28 20:13:54 +0900 |
---|---|---|
committer | Yasuhiro Kimura <yasu@FreeBSD.org> | 2021-10-28 20:17:11 +0900 |
commit | a516093a0aac59570a7fd186bb6eda4261fc02cf (patch) | |
tree | 8f0fffa5e3c192f30c63bd55715767e35d36a781 /lang/nim/Makefile | |
parent | devel/mercurial: update from 5.9.2 to 5.9.3 (diff) |
lang/nim: Update to 1.6.0
* Switch to DISTVERSION
* Pet portlint and portclippy
* Reformat Makefile with portfmt
PR: 259341
Diffstat (limited to 'lang/nim/Makefile')
-rw-r--r-- | lang/nim/Makefile | 24 |
1 files changed, 9 insertions, 15 deletions
diff --git a/lang/nim/Makefile b/lang/nim/Makefile index ff8a94c9d852..b19db2e98670 100644 --- a/lang/nim/Makefile +++ b/lang/nim/Makefile @@ -1,7 +1,7 @@ # Created by: Neal Nelson <ports@nicandneal.net> PORTNAME= nim -PORTVERSION= 1.4.8 +DISTVERSION= 1.6.0 CATEGORIES= lang MASTER_SITES= https://nim-lang.org/download/ @@ -11,7 +11,7 @@ COMMENT= Nim programming language LICENSE= MIT LICENSE_FILE= ${WRKSRC}/copying.txt -BROKEN_sparc64= fails to build: build.sh: clang: not found +BROKEN_sparc64= fails to build: build.sh: clang: not found LIB_DEPENDS= libpcre.so:devel/pcre TEST_DEPENDS= node>=0:www/node @@ -20,23 +20,20 @@ USES= compiler:c11 cpe tar:xz CPE_VENDOR= nim-lang -CONFLICTS_INSTALL= nimble - -TOOLS_DESC= Build and install nim tools, including nimble +MAKE_JOBS_UNSAFE= yes -OPTIONS_DEFINE= DOCS TOOLS -OPTIONS_DEFAULT= DOCS TOOLS +OPTIONS_DEFINE= DOCS TOOLS +OPTIONS_DEFAULT= TOOLS OPTIONS_EXCLUDE_powerpc64= DOCS +OPTIONS_SUB= yes -TEST_BINARY_ALIAS= node=nodejs - -OPTIONS_SUB= yes +TOOLS_DESC= Build and install nim tools, not including nimble nor nimfind -MAKE_JOBS_UNSAFE= yes +TEST_BINARY_ALIAS= node=nodejs .include <bsd.port.pre.mk> -TLIST= nimble nimfind nimgrep nimpretty nimsuggest testament +TLIST= nimgrep nimpretty nimsuggest testament .if ${CHOSEN_COMPILER_TYPE} == "gcc" EXTRA_PATCHES= ${PATCHDIR}/elfv1-patch-build.sh @@ -72,9 +69,6 @@ do-build-TOOLS-on: -d:release --nimcache=${WRKSRC}/nimcache do-install: - # Revert hack to build docs - @${REINPLACE_CMD} -e '/%%NIMCACHE%%/d' \ - ${WRKSRC}/config/nim.cfg # Install nim compiler ${INSTALL_PROGRAM} ${WRKSRC}/bin/nim ${STAGEDIR}${PREFIX}/bin ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/nim |