aboutsummaryrefslogtreecommitdiff
path: root/archivers/dact
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2016-01-07 14:43:24 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2016-01-07 14:43:24 +0000
commit404692ba703151f0cc5da3ef6cecc3df2a4705fb (patch)
tree395bfc9ec6205ee8d754275e74a12c29176b485e /archivers/dact
parentbca5b15412415c2d285e0238fdbfb7a3a8afcee2 (diff)
downloadports-404692ba703151f0cc5da3ef6cecc3df2a4705fb.tar.gz
ports-404692ba703151f0cc5da3ef6cecc3df2a4705fb.zip
- Switch to USES=localbase
- Switch to options helpers
Notes
Notes: svn path=/head/; revision=405443
Diffstat (limited to 'archivers/dact')
-rw-r--r--archivers/dact/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/archivers/dact/Makefile b/archivers/dact/Makefile
index 01d7aa475568..c11b4c4b4c25 100644
--- a/archivers/dact/Makefile
+++ b/archivers/dact/Makefile
@@ -16,11 +16,9 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libmcrypt.so:${PORTSDIR}/security/libmcrypt \
liblzo2.so:${PORTSDIR}/archivers/lzo2
-USES= gmake desthack
+USES= desthack gmake localbase
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --libdir=${PREFIX}/lib
-CPPFLAGS+= ${CXXFLAGS} -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
MAKE_ARGS= TOBUILD="dact libdact.so dact.conf"
USE_LDCONFIG= yes
@@ -33,6 +31,8 @@ post-install:
${STAGEDIR}${DATADIR}/*.so
${MV} ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf \
${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample
+
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/Docs/dact.txt ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}