dub: Import dub-1.21.0 as wip/dub

This commit is contained in:
Dan Cîrnaț 2020-05-13 16:26:05 +02:00
parent 209d778bc8
commit e708a63fb4
4 changed files with 42 additions and 0 deletions

5
dub/DESCR Normal file
View File

@ -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

29
dub/Makefile Normal file
View File

@ -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
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"

2
dub/PLIST Normal file
View File

@ -0,0 +1,2 @@
@comment $NetBSD$
bin/dub

6
dub/distinfo Normal file
View File

@ -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