aboutsummaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2014-02-26 04:44:45 +0000
committerMartin Wilke <miwi@FreeBSD.org>2014-02-26 04:44:45 +0000
commit42a4770ed048c86fb3c27dbbf3ae791d5ae3e430 (patch)
tree73610376a625565985212d527c98cdc1cb22c859 /textproc
parentad909493072c01774db50b3495bc37dc061b8b5d (diff)
downloadports-42a4770ed048c86fb3c27dbbf3ae791d5ae3e430.tar.gz
ports-42a4770ed048c86fb3c27dbbf3ae791d5ae3e430.zip
Notes
Diffstat (limited to 'textproc')
-rw-r--r--textproc/xhtml/Makefile11
1 files changed, 3 insertions, 8 deletions
diff --git a/textproc/xhtml/Makefile b/textproc/xhtml/Makefile
index 8138a89fedc2..7adfecff6bb1 100644
--- a/textproc/xhtml/Makefile
+++ b/textproc/xhtml/Makefile
@@ -33,19 +33,14 @@ XMLCATMGR= ${LOCALBASE}/bin/xmlcatmgr
CATALOG_PORTS_SGML= ${PREFIX}/share/sgml/catalog.ports
CATALOG_PORTS_XML= ${PREFIX}/share/xml/catalog.ports
-NO_STAGE= yes
post-patch:
${SED} -e 's#@@DTDDIR@@#${DTDDIR}#' < ${FILESDIR}/catalog.xml > ${WRKSRC}/catalog.xml
pre-su-install:
- @[ -d ${DTDDIR} ] || ${MKDIR} ${DTDDIR}
+ @[ -d ${STAGEDIR}${DTDDIR} ] || ${MKDIR} ${STAGEDIR}${DTDDIR}
do-install:
- @(cd ${WRKSRC}/DTD; ${INSTALL_DATA} ${DTDFILES} ${DTDDIR})
- ${SED} -e 's|SGMLDECL.*||' ${WRKSRC}/DTD/xhtml.soc > ${DTDDIR}/xhtml-dcl.soc
-
-post-install:
- ${XMLCATMGR} -sc ${CATALOG_PORTS_SGML} add CATALOG ${DTDDIR}/xhtml-dcl.soc
- ${XMLCATMGR} -c ${CATALOG_PORTS_XML} add nextCatalog ${DTDDIR}/catalog.xml
+ @(cd ${WRKSRC}/DTD; ${INSTALL_DATA} ${DTDFILES} ${STAGEDIR}${DTDDIR})
+ ${SED} -e 's|SGMLDECL.*||' ${WRKSRC}/DTD/xhtml.soc > ${STAGEDIR}${DTDDIR}/xhtml-dcl.soc
.include <bsd.port.mk>