freebsd-ports/devel/dub/Makefile
Jose Alonso Cardenas Marquez 82602f68b5 - Update to 1.14.0
2019-03-07 06:09:27 +00:00

31 lines
627 B
Makefile

# $FreeBSD$
PORTNAME= dub
PORTVERSION= 1.14.0
DISTVERSIONPREFIX= v
CATEGORIES= devel
MAINTAINER= acm@FreeBSD.org
COMMENT= Package and build manager for D applications and libraries
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ldmd2:lang/ldc
LIB_DEPENDS= libcurl.so:ftp/curl
USE_GITHUB= yes
GH_ACCOUNT= dlang
PLIST_FILES= bin/${PORTNAME}
post-patch:
@${REINPLACE_CMD} -e 's|%%PORTVERSION%%|${PORTVERSION}|g' ${WRKSRC}/source/dub/version_.d
do-build:
@cd ${WRKSRC} && ${SH} build.sh
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${STAGEDIR}/${PREFIX}/bin/${PORTNAME}
.include <bsd.port.mk>