aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2003-10-15 21:51:57 +0800
committerkuriyama <kuriyama@FreeBSD.org>2003-10-15 21:51:57 +0800
commit904b1a002bbec2bc61351bc06dca927663e848c2 (patch)
tree11149b842572bd42d65ac32051568f6785384c25 /textproc
parent92015f055eb8c2951fa1d8af1bfc2eb2ad849f33 (diff)
downloadfreebsd-ports-gnome-904b1a002bbec2bc61351bc06dca927663e848c2.tar.gz
freebsd-ports-gnome-904b1a002bbec2bc61351bc06dca927663e848c2.tar.zst
freebsd-ports-gnome-904b1a002bbec2bc61351bc06dca927663e848c2.zip
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')
-rw-r--r--textproc/xhtml/Makefile5
-rw-r--r--textproc/xhtml/files/patch-xhtml.soc8
-rw-r--r--textproc/xhtml/pkg-plist5
3 files changed, 6 insertions, 12 deletions
diff --git a/textproc/xhtml/Makefile b/textproc/xhtml/Makefile
index 5a4354cb7b0d..93cfb164d012 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>
diff --git a/textproc/xhtml/files/patch-xhtml.soc b/textproc/xhtml/files/patch-xhtml.soc
deleted file mode 100644
index aa548c735869..000000000000
--- a/textproc/xhtml/files/patch-xhtml.soc
+++ /dev/null
@@ -1,8 +0,0 @@
---- DTD/xhtml.soc.orig Fri Aug 2 03:23:08 2002
-+++ DTD/xhtml.soc Sat Jun 28 16:43:36 2003
-@@ -11,4 +11,4 @@
- PUBLIC "-//W3C//ENTITIES Symbols for XHTML//EN" "xhtml-symbol.ent"
- PUBLIC "-//W3C//ENTITIES Special for XHTML//EN" "xhtml-special.ent"
-
--SGMLDECL "xhtml1.dcl"
-+-- SGMLDECL "xhtml1.dcl" --
diff --git a/textproc/xhtml/pkg-plist b/textproc/xhtml/pkg-plist
index 90de89ed5264..879764ad7541 100644
--- a/textproc/xhtml/pkg-plist
+++ b/textproc/xhtml/pkg-plist
@@ -1,9 +1,10 @@
share/xml/dtd/xhtml/xhtml-lat1.ent
share/xml/dtd/xhtml/xhtml-special.ent
share/xml/dtd/xhtml/xhtml-symbol.ent
-@unexec %%XMLCATMGR%% -sc %%CATALOG_PORTS_SGML%% remove %%DTDDIR%%/xhtml.soc
+@unexec %%XMLCATMGR%% -sc %%CATALOG_PORTS_SGML%% remove %%DTDDIR%%/xhtml-dcl.soc
share/xml/dtd/xhtml/xhtml.soc
-@exec %%XMLCATMGR%% -sc %%CATALOG_PORTS_SGML%% add CATALOG %%DTDDIR%%/xhtml.soc
+share/xml/dtd/xhtml/xhtml-dcl.soc
+@exec %%XMLCATMGR%% -sc %%CATALOG_PORTS_SGML%% add CATALOG %%DTDDIR%%/xhtml-dcl.soc
@unexec %%XMLCATMGR%% -c %%CATALOG_PORTS_XML%% remove %%DTDDIR%%/catalog.xml
share/xml/dtd/xhtml/catalog.xml
@exec %%XMLCATMGR%% -c %%CATALOG_PORTS_XML%% add nextCatalog %%DTDDIR%%/catalog.xml