diff options
-rw-r--r-- | MOVED | 1 | ||||
-rw-r--r-- | textproc/Makefile | 2 | ||||
-rw-r--r-- | textproc/xhtml-11/Makefile (renamed from textproc/xhtml-1.1/Makefile) | 12 | ||||
-rw-r--r-- | textproc/xhtml-11/distinfo (renamed from textproc/xhtml-1.1/distinfo) | 0 | ||||
-rw-r--r-- | textproc/xhtml-11/pkg-descr (renamed from textproc/xhtml-1.1/pkg-descr) | 0 | ||||
-rw-r--r-- | textproc/xhtml-11/pkg-plist (renamed from textproc/xhtml-1.1/pkg-plist) | 2 |
6 files changed, 16 insertions, 1 deletions
@@ -742,3 +742,4 @@ x11-toolkits/guile-gobject||2004-01-07|Broken for a while, with no new versions devel/glade||2004-01-07|Superseded by devel/glade2 devel/p5-Glade-Perl||2004-01-07|No longer works under new glade2 chinese/abiword||2004-01-07|Patches were no longer available, was unmaintained +textproc/xhtml-1.1|textproc/xhtml-11|2004-01-07|Renamed to fit naming convention diff --git a/textproc/Makefile b/textproc/Makefile index 01c65b1beb35..6bf8111fa0ce 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -515,7 +515,7 @@ SUBDIR += xerces-c2 SUBDIR += xerces-j SUBDIR += xhtml - SUBDIR += xhtml-1.1 + SUBDIR += xhtml-11 SUBDIR += xhtml-basic SUBDIR += xhtml-modularization SUBDIR += xincluder diff --git a/textproc/xhtml-1.1/Makefile b/textproc/xhtml-11/Makefile index 6c62d4264f74..63798835b090 100644 --- a/textproc/xhtml-1.1/Makefile +++ b/textproc/xhtml-11/Makefile @@ -7,6 +7,7 @@ PORTNAME= xhtml PORTVERSION= 1.1 +PORTREVISION= 1 CATEGORIES= textproc MASTER_SITES= http://www.w3.org/TR/xhtml11/ DISTNAME= xhtml11 @@ -15,12 +16,23 @@ EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org COMMENT= W3C's XHTML 1.1 DTD +RUN_DEPENDS= ${XMLCATMGR}:${PORTSDIR}/textproc/xmlcatmgr + WRKSRC= ${WRKDIR}/xhtml11-20010531 NO_BUILD= yes +PLIST_SUB= XMLCATMGR=${XMLCATMGR} DTDDIR=${DTDDIR} \ + CATALOG_PORTS_SGML=${CATALOG_PORTS_SGML} + DTDDIR= ${PREFIX}/share/xml/${PORTNAME}/${PORTVERSION} +XMLCATMGR= ${LOCALBASE}/bin/xmlcatmgr +CATALOG_PORTS_SGML= ${PREFIX}/share/sgml/catalog.ports do-install: ${MKDIR} ${DTDDIR} ${INSTALL_DATA} ${WRKSRC}/DTD/* ${DTDDIR} +post-install: + ${XMLCATMGR} -sc ${CATALOG_PORTS_SGML} \ + add CATALOG ${DTDDIR}/xhtml11.cat + .include <bsd.port.mk> diff --git a/textproc/xhtml-1.1/distinfo b/textproc/xhtml-11/distinfo index 605d62d2e51b..605d62d2e51b 100644 --- a/textproc/xhtml-1.1/distinfo +++ b/textproc/xhtml-11/distinfo diff --git a/textproc/xhtml-1.1/pkg-descr b/textproc/xhtml-11/pkg-descr index d65a7e274e9d..d65a7e274e9d 100644 --- a/textproc/xhtml-1.1/pkg-descr +++ b/textproc/xhtml-11/pkg-descr diff --git a/textproc/xhtml-1.1/pkg-plist b/textproc/xhtml-11/pkg-plist index 1ea6545393b4..4762fdd9e1c2 100644 --- a/textproc/xhtml-1.1/pkg-plist +++ b/textproc/xhtml-11/pkg-plist @@ -1,7 +1,9 @@ share/xml/xhtml/1.1/VERSION share/xml/xhtml/1.1/xhtml11-flat.dtd share/xml/xhtml/1.1/xhtml11-model-1.mod +@unexec %%XMLCATMGR%% -sc %%CATALOG_PORTS_SGML%% remove %%DTDDIR%%/xhtml11.cat share/xml/xhtml/1.1/xhtml11.cat +@exec %%XMLCATMGR%% -sc %%CATALOG_PORTS_SGML%% add CATALOG %%DTDDIR%%/xhtml11.cat share/xml/xhtml/1.1/xhtml11.dtd share/xml/xhtml/1.1/xml1.dcl share/xml/xhtml/1.1/xml1n.dcl |