diff options
author | kuriyama <kuriyama@FreeBSD.org> | 2003-10-15 13:51:57 +0000 |
---|---|---|
committer | kuriyama <kuriyama@FreeBSD.org> | 2003-10-15 13:51:57 +0000 |
commit | 904b1a002bbec2bc61351bc06dca927663e848c2 (patch) | |
tree | 11149b842572bd42d65ac32051568f6785384c25 /textproc/xhtml/Makefile | |
parent | 92015f055eb8c2951fa1d8af1bfc2eb2ad849f33 (diff) | |
download | FreeBSD-ports-904b1a002bbec2bc61351bc06dca927663e848c2.zip FreeBSD-ports-904b1a002bbec2bc61351bc06dca927663e848c2.tar.gz |
Change the usage of xhtml.soc file.
o Install original xhtml.soc as is.
o Install xhtml-dcl.soc file which has no SGMLDECL line.
o Register xhtml-dcl.soc as SGML catalog chain.
Users who use usual catalog file will not be affected, but if you
refer xhtml.soc directly and doesn't like SGMLDECL line, please use
xhtml-dcl.soc file instead.
Diffstat (limited to 'textproc/xhtml/Makefile')
-rw-r--r-- | textproc/xhtml/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/textproc/xhtml/Makefile b/textproc/xhtml/Makefile index 5a4354c..93cfb16 100644 --- a/textproc/xhtml/Makefile +++ b/textproc/xhtml/Makefile @@ -7,7 +7,7 @@ PORTNAME= xhtml PORTVERSION= 1.0.20020801 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= textproc #MASTER_SITES= http://www.w3.org/TR/xhtml1/ MASTER_SITES= ${MASTER_SITE_LOCAL} @@ -45,9 +45,10 @@ pre-install: 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.soc + ${XMLCATMGR} -sc ${CATALOG_PORTS_SGML} add CATALOG ${DTDDIR}/xhtml-dcl.soc ${XMLCATMGR} -c ${CATALOG_PORTS_XML} add nextCatalog ${DTDDIR}/catalog.xml .include <bsd.port.mk> |