summaryrefslogtreecommitdiff
path: root/textproc/xhtml
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2003-10-15 13:51:57 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2003-10-15 13:51:57 +0000
commit037cca9cf85d18a79c2d809b47831a47777dfb4d (patch)
treef7716615c8a7f3de0cae95d4183511ceb48b0a87 /textproc/xhtml
parent- Fix build on -current (diff)
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.
Notes
Notes: svn path=/head/; revision=91329
Diffstat (limited to 'textproc/xhtml')
-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