aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-02-12 03:15:52 +0800
committerantoine <antoine@FreeBSD.org>2014-02-12 03:15:52 +0800
commitbca1f244c5c257f376e166da615d68ac3ed3d9ee (patch)
tree495329897b720acf710670da6a2ad50c4919abb7 /devel
parenta6fc049a88c32a481038b6990218276556962dc1 (diff)
downloadfreebsd-ports-gnome-bca1f244c5c257f376e166da615d68ac3ed3d9ee.tar.gz
freebsd-ports-gnome-bca1f244c5c257f376e166da615d68ac3ed3d9ee.tar.zst
freebsd-ports-gnome-bca1f244c5c257f376e166da615d68ac3ed3d9ee.zip
Stage support
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>