diff options
-rw-r--r-- | textproc/xhtml-11/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/textproc/xhtml-11/Makefile b/textproc/xhtml-11/Makefile index 7d80fecd9233..30bd19099d3e 100644 --- a/textproc/xhtml-11/Makefile +++ b/textproc/xhtml-11/Makefile @@ -7,7 +7,7 @@ PORTNAME= xhtml PORTVERSION= 1.1.${RECDATE} -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= textproc MASTER_SITES= http://www.w3.org/TR/2007/WD-xhtml11-${RECDATE}/ DISTNAME= xhtml11 @@ -44,6 +44,10 @@ SGMLCAT_RM= ${XMLCATMGR} -sc ${SGMLCAT} remove \ DTDDIR= share/xml/${PORTNAME}/1.1/dtd XSDDIR= share/xml/${PORTNAME}/1.1/xsd +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} |