PORTNAME= containers DISTVERSION= 0.9.0 PORTREVISION= 3 DISTVERSIONPREFIX= v CATEGORIES= devel MAINTAINER= acm@FreeBSD.org COMMENT= Containers backed on dlang by std.experimental.allocator WWW= https://github.com/dlang-community/containers LICENSE= BSL BUILD_DEPENDS= ldmd2:lang/ldc \ dub:devel/dub \ ${LOCALBASE}/lib/d/libmir-core.a:devel/mir-core \ ${LOCALBASE}/lib/d/libstdx-allocator.a:devel/stdx-allocator USE_GITHUB= yes GH_ACCOUNT= dlang-community DUB_CMD= ${LOCALBASE}/bin/dub build --build=release D_INCLUDE_DIR= ${PREFIX}/include/d D_LIB_DIR= ${PREFIX}/lib/d DC= ${PREFIX}/bin/ldmd2 do-build: @cd ${WRKSRC} && DC=${DC} ${DUB_CMD} do-install: @${MKDIR} ${STAGEDIR}${D_INCLUDE_DIR} @${MKDIR} ${STAGEDIR}${D_LIB_DIR} ${INSTALL_DATA} ${WRKSRC}/build/libemsi_containers.a ${STAGEDIR}${D_LIB_DIR} cd ${WRKSRC}/src && ${COPYTREE_SHARE} . ${STAGEDIR}${D_INCLUDE_DIR} "-name *\.d" .include