pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

dub: Import dub-1.21.0 as wip/dub



Module Name:	pkgsrc-wip
Committed By:	Dan Cîrnaț <dan%alt.md@localhost>
Pushed By:	cirnatdan
Date:		Wed May 13 16:26:05 2020 +0200
Changeset:	e708a63fb484c7aba00817c629699c14511ff75f

Added Files:
	dub/DESCR
	dub/Makefile
	dub/PLIST
	dub/distinfo

Log Message:
dub: Import dub-1.21.0 as wip/dub

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=e708a63fb484c7aba00817c629699c14511ff75f

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 dub/DESCR    |  5 +++++
 dub/Makefile | 29 +++++++++++++++++++++++++++++
 dub/PLIST    |  2 ++
 dub/distinfo |  6 ++++++
 4 files changed, 42 insertions(+)

diffs:
diff --git a/dub/DESCR b/dub/DESCR
new file mode 100644
index 0000000000..99aea05ec8
--- /dev/null
+++ b/dub/DESCR
@@ -0,0 +1,5 @@
+Package and build manager for D applications and libraries.
+
+ - Simple package and build description not getting in your way
+ - Integrated with Git, avoiding maintenance tasks such as incrementing version
+ numbers or uploading new project releases
diff --git a/dub/Makefile b/dub/Makefile
new file mode 100644
index 0000000000..cf0d0d99b9
--- /dev/null
+++ b/dub/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD$
+
+GITHUB_PROJECT=	dub
+GITHUB_TAG=	v1.21.0
+DISTNAME=	v1.21.0
+PKGNAME=	${GITHUB_PROJECT}-${DISTNAME:S,^v,,}
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GITHUB:=dlang/}
+DIST_SUBDIR=	${GITHUB_PROJECT}
+
+MAINTAINER=	dan%alt.md@localhost
+HOMEPAGE=	https://github.com/dlang/dub/
+COMMENT=	Package and build management system for D
+LICENSE=	mit
+
+WRKSRC=		${WRKDIR}/dub-1.21.0
+USE_LANGUAGES=	c
+
+INSTALLATION_DIRS+=	bin
+
+do-build:
+	cd ${WRKSRC} && ldmd2 -run build.d
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/bin/dub ${DESTDIR}${PREFIX}/bin
+
+BUILD_DEPENDS+=	ldc>1.0:../../wip/ldc
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/dub/PLIST b/dub/PLIST
new file mode 100644
index 0000000000..3d22410f15
--- /dev/null
+++ b/dub/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+bin/dub
diff --git a/dub/distinfo b/dub/distinfo
new file mode 100644
index 0000000000..177db19db1
--- /dev/null
+++ b/dub/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (dub/v1.21.0.tar.gz) = 8a5b8c80a7cc5f1dc36b1c9636afbfd6456f89b8
+RMD160 (dub/v1.21.0.tar.gz) = e16b70fa3353b9cf4718bfc43dd4357cd31bf443
+SHA512 (dub/v1.21.0.tar.gz) = d85be6e35f51e34d34afce71fe902b8ef623c6f49ed6f5f755dded5bceda49416f9d625377136b928d0f95496e57999f0dd57a4cea796360edd34c72556debd7
+Size (dub/v1.21.0.tar.gz) = 1272369 bytes


Home | Main Index | Thread Index | Old Index