diff options
author | gabor <gabor@FreeBSD.org> | 2011-02-26 02:18:06 +0800 |
---|---|---|
committer | gabor <gabor@FreeBSD.org> | 2011-02-26 02:18:06 +0800 |
commit | 64a76561e6d736c8b8b1ce74e7564e646a0326dc (patch) | |
tree | 3f0cc48b713e7cc7ad6f45a55bb08c20e37a30a3 /textproc/xhtml-11 | |
parent | e8d33b4ba32d8575e6eda770255d2b8338062b72 (diff) | |
download | freebsd-ports-gnome-64a76561e6d736c8b8b1ce74e7564e646a0326dc.tar.gz freebsd-ports-gnome-64a76561e6d736c8b8b1ce74e7564e646a0326dc.tar.zst freebsd-ports-gnome-64a76561e6d736c8b8b1ce74e7564e646a0326dc.zip |
- Modify SGML catalog to prevent some building errors by an SGML
declaration, which cannot be interpreted by Jade
PR: ports/152457 (related)
Submitted by: mandree
Diffstat (limited to 'textproc/xhtml-11')
-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} |