aboutsummaryrefslogtreecommitdiff
path: root/devel/fortytwo-encore/Makefile
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2014-02-11 19:15:52 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2014-02-11 19:15:52 +0000
commit6cea56bc91b019fea03bc6767117b0f38313031f (patch)
tree495329897b720acf710670da6a2ad50c4919abb7 /devel/fortytwo-encore/Makefile
parent1995e7d346634927d35dbbbae0dfb4176c08c737 (diff)
downloadports-6cea56bc91b019fea03bc6767117b0f38313031f.tar.gz
ports-6cea56bc91b019fea03bc6767117b0f38313031f.zip
Stage support
Notes
Notes: svn path=/head/; revision=343800
Diffstat (limited to 'devel/fortytwo-encore/Makefile')
-rw-r--r--devel/fortytwo-encore/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/devel/fortytwo-encore/Makefile b/devel/fortytwo-encore/Makefile
index c3ce8e19be8b..b02a9c87292c 100644
--- a/devel/fortytwo-encore/Makefile
+++ b/devel/fortytwo-encore/Makefile
@@ -24,12 +24,10 @@ USE_GNUSTEP_LDCONFIG= ${GNUSTEP_LOCAL_LIBRARIES}
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>