Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Jan 2016 14:43:24 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r405443 - head/archivers/dact
Message-ID:  <201601071443.u07EhOEQ024631@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Thu Jan  7 14:43:24 2016
New Revision: 405443
URL: https://svnweb.freebsd.org/changeset/ports/405443

Log:
  - Switch to USES=localbase
  - Switch to options helpers

Modified:
  head/archivers/dact/Makefile

Modified: head/archivers/dact/Makefile
==============================================================================
--- head/archivers/dact/Makefile	Thu Jan  7 14:43:18 2016	(r405442)
+++ head/archivers/dact/Makefile	Thu Jan  7 14:43:24 2016	(r405443)
@@ -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}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601071443.u07EhOEQ024631>