aboutsummaryrefslogtreecommitdiffstats
path: root/archivers
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-01-07 22:43:24 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-01-07 22:43:24 +0800
commite0fca7c32096a3d8a61147646810a3eeae7553f9 (patch)
tree395bfc9ec6205ee8d754275e74a12c29176b485e /archivers
parent8c7bb2d8add016e82359006e753b0feee6e9619c (diff)
downloadfreebsd-ports-gnome-e0fca7c32096a3d8a61147646810a3eeae7553f9.tar.gz
freebsd-ports-gnome-e0fca7c32096a3d8a61147646810a3eeae7553f9.tar.zst
freebsd-ports-gnome-e0fca7c32096a3d8a61147646810a3eeae7553f9.zip
- Switch to USES=localbase
- Switch to options helpers
Diffstat (limited to 'archivers')
-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}