Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Oct 2021 22:52:46 GMT
From:      Yasuhiro Kimura <yasu@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 7859c2a1569b - main - devel/nimble: Reinstate port and update to 0.13.1
Message-ID:  <202110292252.19TMqkkG023432@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yasu:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7859c2a1569bbe914530946f45da996c3180d17b

commit 7859c2a1569bbe914530946f45da996c3180d17b
Author:     Neal Nelson <ports@nicandneal.net>
AuthorDate: 2021-10-29 21:32:22 +0000
Commit:     Yasuhiro Kimura <yasu@FreeBSD.org>
CommitDate: 2021-10-29 22:52:29 +0000

    devel/nimble: Reinstate port and update to 0.13.1
    
    The official documentation of nim states that nimble is included with
    the distribution of nim, but this is somewhat disingenuous as koch,
    the nim builder, will fetch the nimble source code from git. So
    reinstate devel/nimble as separate port of nimble, which is not built
    by lang/nim.
    
    PR:             259522
---
 MOVED                  |  1 -
 devel/Makefile         |  1 +
 devel/nimble/Makefile  | 27 +++++++++++++++++++++++++++
 devel/nimble/distinfo  |  3 +++
 devel/nimble/pkg-descr |  5 +++++
 5 files changed, 36 insertions(+), 1 deletion(-)

diff --git a/MOVED b/MOVED
index f84665436f30..859b8acb4677 100644
--- a/MOVED
+++ b/MOVED
@@ -15589,7 +15589,6 @@ devel/pccts|devel/antlr|2020-11-01|Has expired: abandonedware, superseded by dev
 devel/gitg0|devel/gitg|2020-11-01|Has expired: ancient version of gitg not maintained
 devel/py-twext||2020-11-03|Has expired: Uses deprecated version of python
 databases/py-sqlparse020|databases/py-sqlparse|2020-11-03|Dependency of removed www/calendarserver
-devel/nimble|lang/nim|2020-11-06|Integrated in lang/nim
 net-im/zephyr||2020-11-07|Has expired: Broken for more than 6 months
 net/samba410|net/samba412|2020-11-08|Has expired: yes
 audio/xfce4-mixer|audio/xfce4-pulseaudio-plugin|2020-11-08|Unsupported upstream since 2015. Try using audio/xfce4-pulseaudio-plugin
diff --git a/devel/Makefile b/devel/Makefile
index f610c96231ca..9201df1702c8 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1598,6 +1598,7 @@
     SUBDIR += newtonsoft-json
     SUBDIR += nextpnr
     SUBDIR += nexus2-oss
+    SUBDIR += nimble
     SUBDIR += nini
     SUBDIR += ninja
     SUBDIR += nlohmann-json
diff --git a/devel/nimble/Makefile b/devel/nimble/Makefile
new file mode 100644
index 000000000000..26cd3afe0111
--- /dev/null
+++ b/devel/nimble/Makefile
@@ -0,0 +1,27 @@
+PORTNAME=	nimble
+DISTVERSIONPREFIX=	v
+DISTVERSION=	0.13.1
+CATEGORIES=	devel
+
+MAINTAINER=	ports@nicandneal.net
+COMMENT=	Package manager for the Nim programming language
+
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/license.txt
+
+BUILD_DEPENDS=	nim:lang/nim
+RUN_DEPENDS=	nim:lang/nim
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	nim-lang
+GH_TAGNAME=	d13f3b8
+
+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>
diff --git a/devel/nimble/distinfo b/devel/nimble/distinfo
new file mode 100644
index 000000000000..89feb06ccbd5
--- /dev/null
+++ b/devel/nimble/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1635501206
+SHA256 (nim-lang-nimble-v0.13.1-d13f3b8_GH0.tar.gz) = 8ba340950f4e350ac569625f0081a1976ed5789085cb2d35569977147204fedd
+SIZE (nim-lang-nimble-v0.13.1-d13f3b8_GH0.tar.gz) = 95506
diff --git a/devel/nimble/pkg-descr b/devel/nimble/pkg-descr
new file mode 100644
index 000000000000..c1769827a6d5
--- /dev/null
+++ b/devel/nimble/pkg-descr
@@ -0,0 +1,5 @@
+Nimble is Nim's package manager and build system. It's used to
+install and build libraries that you can use within your own Nim
+projects
+
+WWW: https://github.com/nim-lang/nimble



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202110292252.19TMqkkG023432>