svn commit: r343800 - head/devel/fortytwo-encore

Antoine Brodin antoine at FreeBSD.org
Tue Feb 11 19:15:53 UTC 2014


Author: antoine
Date: Tue Feb 11 19:15:52 2014
New Revision: 343800
URL: http://svnweb.freebsd.org/changeset/ports/343800
QAT: https://qat.redports.org/buildarchive/r343800/

Log:
  Stage support

Modified:
  head/devel/fortytwo-encore/Makefile

Modified: head/devel/fortytwo-encore/Makefile
==============================================================================
--- head/devel/fortytwo-encore/Makefile	Tue Feb 11 19:07:50 2014	(r343799)
+++ head/devel/fortytwo-encore/Makefile	Tue Feb 11 19:15:52 2014	(r343800)
@@ -24,12 +24,10 @@ USE_GNUSTEP_LDCONFIG=	${GNUSTEP_LOCAL_LI
 WRKSRC=		${WRKDIR}/Encore
 DOCSDIR=	${GNUSTEP_PREFIX}/Local/Library/Documentation/Encore
 
-NO_STAGE=	yes
+OPTIONS_DEFINE=	DOCS
+
 post-install:
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
-	@${TAR} -C ${WRKDIR}/Encore-${PORTVERSION}-api-ref -cf - . | \
-		${TAR} -C ${DOCSDIR} -xf -
-.endif
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	cd ${WRKDIR}/Encore-${PORTVERSION}-api-ref && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list