aboutsummaryrefslogtreecommitdiff
path: root/textproc/xhtml-11
diff options
context:
space:
mode:
authorGabor Kovesdan <gabor@FreeBSD.org>2011-02-25 18:18:06 +0000
committerGabor Kovesdan <gabor@FreeBSD.org>2011-02-25 18:18:06 +0000
commit336e8813f46225496ae643215adadf50173cfc3c (patch)
tree6e6c07bfe98bb3442e38e6c33c6149c070cb847f /textproc/xhtml-11
parent0c857af46b533d13cfeff2909e38aa5b2e8e9e3f (diff)
downloadports-336e8813f46225496ae643215adadf50173cfc3c.tar.gz
ports-336e8813f46225496ae643215adadf50173cfc3c.zip
Notes
Diffstat (limited to 'textproc/xhtml-11')
-rw-r--r--textproc/xhtml-11/Makefile6
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}