1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00
freebsd-ports/devel/icontheme/Makefile
Jose Alonso Cardenas Marquez b52edae1df - New port: devel/icontheme
D library for dealing with icon themes in freedesktop environments

WWW: https://github.com/FreeSlave/icontheme
2018-06-15 18:11:29 +00:00

36 lines
882 B
Makefile

# $FreeBSD$
PORTNAME= icontheme
PORTVERSION= 1.2.1
DISTVERSIONPREFIX= v
CATEGORIES= devel
MAINTAINER= acm@FreeBSD.org
COMMENT= Icon Theme Specification implementation in D programming language
LICENSE= BSL
BUILD_DEPENDS= ldmd2:lang/ldc \
dub:devel/dub \
${LOCALBASE}/lib/d/libisfreedesktop.a:devel/isfreedesktop \
${LOCALBASE}/lib/d/libinilike.a:devel/inilike \
${LOCALBASE}/lib/d/libxdgpaths.a:devel/xdgpaths
USE_GITHUB= yes
GH_ACCOUNT= FreeSlave
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/libicontheme.a ${STAGEDIR}${D_LIB_DIR}
cd ${WRKSRC}/source && ${COPYTREE_SHARE} . ${STAGEDIR}${D_INCLUDE_DIR} "-name *\.d"
.include <bsd.port.mk>