1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00
freebsd-ports/devel/iz/Makefile
Dmitry Marakasov ab132ec22f - Add LICENSE_FILE
- Chase GitHub account change (old account explicitly mentions new one via GitHub status feature; no change in distfile checksum)

Approved by:	portmgr blanket
2019-07-02 09:02:07 +00:00

36 lines
806 B
Makefile

# Created by: Alonso Cardenas Marquez <acm@FreeBSD.org>
# $FreeBSD$
PORTNAME= iz
PORTVERSION= 0.6.22
PORTREVISION= 1
DISTVERSIONPREFIX= v
CATEGORIES= devel
MAINTAINER= acm@FreeBSD.org
COMMENT= General purpose library for the D programming language
LICENSE= BSL
LICENSE_FILE= ${WRKSRC}/LICENSE_1_0..txt
BUILD_DEPENDS= ldmd2:lang/ldc \
dub:devel/dub
USE_GITHUB= yes
GH_ACCOUNT= Basile-z
DUB_CMD= ${LOCALBASE}/bin/dub build --build=release
D_INCLUDE_DIR= ${PREFIX}/include/d
D_LIB_DIR= ${PREFIX}/lib/d
do-build:
@cd ${WRKSRC} && ${DUB_CMD}
do-install:
@${MKDIR} ${STAGEDIR}${D_INCLUDE_DIR}
@${MKDIR} ${STAGEDIR}${D_LIB_DIR}
${INSTALL_DATA} ${WRKSRC}/lib/libiz.a ${STAGEDIR}${D_LIB_DIR}
cd ${WRKSRC}/import && ${COPYTREE_SHARE} . ${STAGEDIR}${D_INCLUDE_DIR} "-name *\.d"
.include <bsd.port.mk>