svn commit: r346087 - head/textproc/xhtml
Martin Wilke
miwi at FreeBSD.org
Wed Feb 26 04:44:46 UTC 2014
Author: miwi
Date: Wed Feb 26 04:44:45 2014
New Revision: 346087
URL: http://svnweb.freebsd.org/changeset/ports/346087
QAT: https://qat.redports.org/buildarchive/r346087/
Log:
- Stage support
Modified:
head/textproc/xhtml/Makefile
Modified: head/textproc/xhtml/Makefile
==============================================================================
--- head/textproc/xhtml/Makefile Wed Feb 26 04:44:38 2014 (r346086)
+++ head/textproc/xhtml/Makefile Wed Feb 26 04:44:45 2014 (r346087)
@@ -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>
More information about the svn-ports-head
mailing list