aboutsummaryrefslogtreecommitdiff
path: root/databases/postgresql91-docs
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2014-02-26 17:24:35 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2014-02-26 17:24:35 +0000
commit4d4db2684b5537944ba9de1e90179e90a1bc1149 (patch)
tree43ea97af9adc9b293ee707fafab80172c869d42c /databases/postgresql91-docs
parent78fc6dd36ec2244cb42ebca87729183a62a4e39c (diff)
downloadports-4d4db2684b5537944ba9de1e90179e90a1bc1149.tar.gz
ports-4d4db2684b5537944ba9de1e90179e90a1bc1149.zip
Notes
Diffstat (limited to 'databases/postgresql91-docs')
-rw-r--r--databases/postgresql91-docs/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/databases/postgresql91-docs/Makefile b/databases/postgresql91-docs/Makefile
index a895342d2398..c9cfb21c2c1f 100644
--- a/databases/postgresql91-docs/Makefile
+++ b/databases/postgresql91-docs/Makefile
@@ -29,18 +29,17 @@ BUILD_DEPENDS+= onsgmls:${PORTSDIR}/textproc/opensp \
${dbdir}/dsssl/modular/catalog:${PORTSDIR}/textproc/dsssl-docbook-modular \
${dbdir}/4.2:${PORTSDIR}/textproc/docbook-sgml
-NO_STAGE= yes
do-build:
${GMAKE} -C ${WRKSRC} html
do-install:
- @ $(MKDIR) ${PGDOCSDIR}
+ @ $(MKDIR) ${STAGEDIR}${PGDOCSDIR}
( cd ${WRKSRC}/doc/src/sgml/html && \
- ${COPYTREE_SHARE} \* ${PGDOCSDIR} )
+ ${COPYTREE_SHARE} . ${STAGEDIR}${PGDOCSDIR} )
post-install:
- @(cd ${PREFIX} && ${FIND} ${PGDOCSREL} -type f) >> ${TMPPLIST}
- @(cd ${PREFIX} && ${FIND} ${PGDOCSREL} -type d) | ${SORT} -r | \
+ @(cd ${STAGEDIR}${PREFIX} && ${FIND} ${PGDOCSREL} -type f) >> ${TMPPLIST}
+ @(cd ${STAGEDIR}${PREFIX} && ${FIND} ${PGDOCSREL} -type d) | ${SORT} -r | \
${SED} 's,.*,@unexec rmdir %D/& 2>/dev/null || true,' >>${TMPPLIST}