3878abc524
ChangeLog: https://github.com/nim-lang/nimble/releases/tag/v0.14.2 * Remove types requiresInit pragma which conflicts with json * Common: bump nimbleVersion from 0.14.0 to 0.14.1 * Run with --noNimblePath when there is a lock file * Lock: write lock file with final newline * Allow locking nim version in nimble.lock * Make sure that nimble.paths is checked relative to config.nims * Document where token is stored PR: 269781 Reported by: ports@nicandneal.net (maintainer)
28 lines
649 B
Makefile
28 lines
649 B
Makefile
PORTNAME= nimble
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 0.14.2
|
|
CATEGORIES= devel
|
|
|
|
MAINTAINER= ports@nicandneal.net
|
|
COMMENT= Package manager for the Nim programming language
|
|
WWW= https://github.com/nim-lang/nimble
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/license.txt
|
|
|
|
BUILD_DEPENDS= nim:lang/nim
|
|
RUN_DEPENDS= nim:lang/nim
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= nim-lang
|
|
|
|
PLIST_FILES= bin/nimble
|
|
|
|
do-build:
|
|
@cd ${WRKSRC} && nim c -d:release --noNimblePath --parallelBuild=${MAKE_JOBS_NUMBER} --path:${LOCALBASE}/nim --nimcache:${WRKSRC}/nimcache src/nimble
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/nimble ${STAGEDIR}${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|