diff options
-rw-r--r-- | textproc/xhtml/Makefile | 5 | ||||
-rw-r--r-- | textproc/xhtml/files/patch-xhtml.soc | 8 | ||||
-rw-r--r-- | textproc/xhtml/pkg-plist | 5 |
3 files changed, 6 insertions, 12 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> diff --git a/textproc/xhtml/files/patch-xhtml.soc b/textproc/xhtml/files/patch-xhtml.soc deleted file mode 100644 index aa548c7..0000000 --- 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 90de89e..879764a 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 |