diff options
author | Jun Kuriyama <kuriyama@FreeBSD.org> | 2003-07-01 06:21:09 +0000 |
---|---|---|
committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 2003-07-01 06:21:09 +0000 |
commit | 7464f336e31fd80c931c3eb1c4c62776e4e3f7f1 (patch) | |
tree | 967c3aa47957c6218b6c16c34cfdf4261490cfc6 /textproc/docbook-xml | |
parent | d7f26aaaed78fb07382fa672754350cb37ec40e0 (diff) | |
download | ports-7464f336e31fd80c931c3eb1c4c62776e4e3f7f1.tar.gz ports-7464f336e31fd80c931c3eb1c4c62776e4e3f7f1.zip |
Notes
Diffstat (limited to 'textproc/docbook-xml')
-rw-r--r-- | textproc/docbook-xml/Makefile | 16 | ||||
-rw-r--r-- | textproc/docbook-xml/pkg-plist | 6 |
2 files changed, 15 insertions, 7 deletions
diff --git a/textproc/docbook-xml/Makefile b/textproc/docbook-xml/Makefile index 6dd2333efd7e..63f23f6726b3 100644 --- a/textproc/docbook-xml/Makefile +++ b/textproc/docbook-xml/Makefile @@ -7,6 +7,7 @@ PORTNAME= docbook-xml PORTVERSION= 4.2 +PORTREVISION= 1 CATEGORIES= textproc MASTER_SITES= http://www.docbook.org/xml/${PORTVERSION}/ \ http://www.oasis-open.org/committees/docbook/xml/${PORTVERSION}/ @@ -14,17 +15,21 @@ MASTER_SITES= http://www.docbook.org/xml/${PORTVERSION}/ \ MAINTAINER= kuriyama@FreeBSD.org COMMENT= XML version of the DocBook DTD -RUN_DEPENDS= ${MKCATALOG}:${PORTSDIR}/textproc/mkcatalog +RUN_DEPENDS= ${XMLCATMGR}:${PORTSDIR}/textproc/xmlcatmgr USE_ZIP= YES NO_BUILD= YES NO_WRKSUBDIR= YES PLIST_SUB= DTD_VERSION=${PORTVERSION} \ - MKCATALOG=${MKCATALOG} CATALOG=${CATALOG} + XMLCATMGR=${XMLCATMGR}\ + DOCBOOKDIR=${DOCBOOKDIR}\ + CATALOG_PORTS_SGML=${CATALOG_PORTS_SGML} \ + CATALOG_PORTS_XML=${CATALOG_PORTS_XML} DOCBOOKDIR= ${PREFIX}/share/xml/${PORTNAME:S/-xml//}/${PORTVERSION} -MKCATALOG= ${LOCALBASE}/sbin/mkcatalog -CATALOG= ${PREFIX}/share/xml/catalog +XMLCATMGR= ${LOCALBASE}/bin/xmlcatmgr +CATALOG_PORTS_SGML= ${PREFIX}/share/sgml/catalog.ports +CATALOG_PORTS_XML= ${PREFIX}/share/xml/catalog.ports pre-install: @[ -d ${DOCBOOKDIR}/ent ] || ${MKDIR} ${DOCBOOKDIR}/ent @@ -35,6 +40,7 @@ do-install: done post-install: - ${MKCATALOG} -q -c ${CATALOG} install docbook/${PORTVERSION} docbook.cat + @${XMLCATMGR} -sc ${CATALOG_PORTS_SGML} add CATALOG ${DOCBOOKDIR}/docbook.cat + @${XMLCATMGR} -c ${CATALOG_PORTS_XML} add nextCatalog ${DOCBOOKDIR}/catalog.xml .include <bsd.port.mk> diff --git a/textproc/docbook-xml/pkg-plist b/textproc/docbook-xml/pkg-plist index 6195f7d07bf3..d2e244255014 100644 --- a/textproc/docbook-xml/pkg-plist +++ b/textproc/docbook-xml/pkg-plist @@ -1,15 +1,17 @@ share/xml/docbook/%%DTD_VERSION%%/ChangeLog share/xml/docbook/%%DTD_VERSION%%/README share/xml/docbook/%%DTD_VERSION%%/calstblx.dtd +@unexec %%XMLCATMGR%% -c %%CATALOG_PORTS_XML%% remove %%DOCBOOKDIR%%/catalog.xml share/xml/docbook/%%DTD_VERSION%%/catalog.xml +@exec %%XMLCATMGR%% -c %%CATALOG_PORTS_XML%% add nextCatalog %%DOCBOOKDIR%%/catalog.xml share/xml/docbook/%%DTD_VERSION%%/dbcentx.mod share/xml/docbook/%%DTD_VERSION%%/dbgenent.mod share/xml/docbook/%%DTD_VERSION%%/dbhierx.mod share/xml/docbook/%%DTD_VERSION%%/dbnotnx.mod share/xml/docbook/%%DTD_VERSION%%/dbpoolx.mod -@unexec %%MKCATALOG%% -q -c%%CATALOG%% deinstall docbook/%%DTD_VERSION%% docbook.cat +@unexec %%XMLCATMGR%% -sc %%CATALOG_PORTS_SGML%% remove %%DOCBOOKDIR%%/docbook.cat share/xml/docbook/%%DTD_VERSION%%/docbook.cat -@exec %%MKCATALOG%% -q -c%%CATALOG%% install docbook/%%DTD_VERSION%% docbook.cat +@exec %%XMLCATMGR%% -sc %%CATALOG_PORTS_SGML%% add CATALOG %%DOCBOOKDIR%%/docbook.cat share/xml/docbook/%%DTD_VERSION%%/docbookx.dtd share/xml/docbook/%%DTD_VERSION%%/ent/iso-amsa.ent share/xml/docbook/%%DTD_VERSION%%/ent/iso-amsb.ent |