mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
34 lines
756 B
Makefile
34 lines
756 B
Makefile
# Created by: Alonso Cardenas Marquez <acm@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= inifiled
|
|
PORTVERSION= 1.3.1
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= devel
|
|
|
|
MAINTAINER= acm@FreeBSD.org
|
|
COMMENT= Compile time ini file parser and writter generator for D
|
|
|
|
LICENSE= BSL
|
|
|
|
BUILD_DEPENDS= ldmd2:lang/ldc \
|
|
dub:devel/dub
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= burner
|
|
|
|
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}/libinifiled.a ${STAGEDIR}${D_LIB_DIR}
|
|
cd ${WRKSRC}/source && ${COPYTREE_SHARE} . ${STAGEDIR}${D_INCLUDE_DIR} "-name *\.d"
|
|
|
|
.include <bsd.port.mk>
|