From b5448e38e317e1aa0c02c98512f2b6922a402b50 Mon Sep 17 00:00:00 2001 From: Pawel Pekala Date: Thu, 7 Aug 2014 14:06:44 +0000 Subject: [PATCH] Add staging support --- textproc/xhtml-11/Makefile | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/textproc/xhtml-11/Makefile b/textproc/xhtml-11/Makefile index 1ee85e118536..25d1171081b5 100644 --- a/textproc/xhtml-11/Makefile +++ b/textproc/xhtml-11/Makefile @@ -40,20 +40,15 @@ SGMLCAT_RM= ${XMLCATMGR} -sc ${SGMLCAT} remove \ DTDDIR= share/xml/${PORTNAME}/1.1/dtd XSDDIR= share/xml/${PORTNAME}/1.1/xsd -NO_STAGE= yes post-patch: ${REINPLACE_CMD} -i '' 's|SGMLDECL "xml1.dcl"|-- SGMLDECL "xml1.dcl" --|g' \ ${WRKSRC}/DTD/xhtml11.cat do-install: - ${MKDIR} ${PREFIX}/${DTDDIR} - ${INSTALL_DATA} ${WRKSRC}/DTD/* ${PREFIX}/${DTDDIR} - ${INSTALL_DATA} ${FILESDIR}/catalog.xml ${PREFIX}/${DTDDIR} - ${MKDIR} ${PREFIX}/${XSDDIR} - ${INSTALL_DATA} ${WRKSRC}/SCHEMA/* ${PREFIX}/${XSDDIR} - -post-install: - ${XMLCAT_ADD} - ${SGMLCAT_ADD} + @${MKDIR} ${STAGEDIR}${PREFIX}/${DTDDIR} + ${INSTALL_DATA} ${WRKSRC}/DTD/* ${STAGEDIR}${PREFIX}/${DTDDIR} + ${INSTALL_DATA} ${FILESDIR}/catalog.xml ${STAGEDIR}${PREFIX}/${DTDDIR} + @${MKDIR} ${STAGEDIR}${PREFIX}/${XSDDIR} + ${INSTALL_DATA} ${WRKSRC}/SCHEMA/* ${STAGEDIR}${PREFIX}/${XSDDIR} .include