aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
Diffstat (limited to 'devel')
-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>