svn commit: r343793 - head/databases/fortytwo-bdb

Antoine Brodin antoine at FreeBSD.org
Tue Feb 11 18:29:31 UTC 2014


Author: antoine
Date: Tue Feb 11 18:29:30 2014
New Revision: 343793
URL: http://svnweb.freebsd.org/changeset/ports/343793
QAT: https://qat.redports.org/buildarchive/r343793/

Log:
  Stage support

Modified:
  head/databases/fortytwo-bdb/Makefile

Modified: head/databases/fortytwo-bdb/Makefile
==============================================================================
--- head/databases/fortytwo-bdb/Makefile	Tue Feb 11 18:19:18 2014	(r343792)
+++ head/databases/fortytwo-bdb/Makefile	Tue Feb 11 18:29:30 2014	(r343793)
@@ -30,12 +30,10 @@ ADDITIONAL_LDFLAGS+=	-L${BDB_LIB_DIR}
 
 ENCORE_PORT?=	devel/fortytwo-encore
 
-NO_STAGE=	yes
+OPTIONS_DEFINE=	DOCS
+
 post-install:
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
-	@${TAR} -C ${WRKDIR}/BDB-0.2.0-api-ref -cf - . | \
-		${TAR} -C ${DOCSDIR} -xf -
-.endif
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	cd ${WRKDIR}/BDB-0.2.0-api-ref && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list