diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2014-02-26 04:44:45 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2014-02-26 04:44:45 +0000 |
commit | 42a4770ed048c86fb3c27dbbf3ae791d5ae3e430 (patch) | |
tree | 73610376a625565985212d527c98cdc1cb22c859 /textproc | |
parent | ad909493072c01774db50b3495bc37dc061b8b5d (diff) | |
download | ports-42a4770ed048c86fb3c27dbbf3ae791d5ae3e430.tar.gz ports-42a4770ed048c86fb3c27dbbf3ae791d5ae3e430.zip |
Notes
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/xhtml/Makefile | 11 |
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> |