aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
Diffstat (limited to 'databases')
-rw-r--r--databases/fortytwo-bdb/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/databases/fortytwo-bdb/Makefile b/databases/fortytwo-bdb/Makefile
index f4e695bdc971..2829cdf3fdd0 100644
--- a/databases/fortytwo-bdb/Makefile
+++ b/databases/fortytwo-bdb/Makefile
@@ -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>