aboutsummaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2014-02-17 15:07:49 +0000
committerMartin Wilke <miwi@FreeBSD.org>2014-02-17 15:07:49 +0000
commit885c71d9bef324b8ef75b827060e6d05d77d7a17 (patch)
treed7345fdab2fbd048e413903bfbf68d5a798746c3 /textproc
parenta079b3ea52540fa9148e64a670153cd95a28b318 (diff)
downloadports-885c71d9bef324b8ef75b827060e6d05d77d7a17.tar.gz
ports-885c71d9bef324b8ef75b827060e6d05d77d7a17.zip
Notes
Diffstat (limited to 'textproc')
-rw-r--r--textproc/docbook-430/Makefile15
1 files changed, 4 insertions, 11 deletions
diff --git a/textproc/docbook-430/Makefile b/textproc/docbook-430/Makefile
index bf801ed9ebef..4810611fb697 100644
--- a/textproc/docbook-430/Makefile
+++ b/textproc/docbook-430/Makefile
@@ -36,7 +36,6 @@ DTD_FILES= calstblx.dtd catalog.xml dbcentx.mod dbgenent.mod \
dbhierx.mod dbnotnx.mod dbpoolx.mod docbook.cat docbook.dcl \
docbook.dtd docbookx.dtd htmltblx.mod soextblx.dtd catalog
-NO_STAGE= yes
post-extract:
${CP} ${WRKSRC}/docbook.cat ${WRKSRC}/catalog
@@ -49,24 +48,18 @@ pre-install:
done;\
${ECHO_CMD} "@dirrm ${DTDDIR}";\
${ECHO_CMD} "@dirrmtry ${SGMLCATBASE}/${DTD_NAME}"; ) > ${PLIST}
-.if !defined(NOPORTDOCS)
(for F in ${DOC_FILES}; do \
${ECHO_CMD} "${DOCSDIR:S,^${PREFIX}/,,}/$${F}"; \
done;\
${ECHO_CMD} "@dirrm ${DOCSDIR:S,^${PREFIX}/,,}" ) >> ${PLIST}
-.endif
${ECHO_CMD} "@exec ${XMLCATMGR} ${REGIST_CAT_FLAGS_SGML}" >> ${PLIST}
${ECHO_CMD} "@unexec ${XMLCATMGR} ${UNREGIST_CAT_FLAGS_SGML}" >> ${PLIST}
do-install:
- ${MKDIR} ${PREFIX}/${DTDDIR}
- ${INSTALL_DATA} ${DTD_FILES:S,^,${WRKSRC}/,} ${PREFIX}/${DTDDIR}
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${DOC_FILES:S,^,${WRKSRC}/,} ${DOCSDIR}
-.endif
+ ${MKDIR} ${STAGEDIR}${PREFIX}/${DTDDIR}
+ ${INSTALL_DATA} ${DTD_FILES:S,^,${WRKSRC}/,} ${STAGEDIR}${PREFIX}/${DTDDIR}
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${DOC_FILES:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
-post-install:
- -${XMLCATMGR} ${REGIST_CAT_FLAGS_SGML}
.include <bsd.port.mk>