summaryrefslogtreecommitdiff
path: root/textproc/docbook-xml
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2003-01-29 21:17:26 +0000
committerjmmv <jmmv@pkgsrc.org>2003-01-29 21:17:26 +0000
commita0c1b1099290f32495b6a9299a858f3733d46ad0 (patch)
tree6ca55c1f0ca9113a24ef0bb78764240c39367be1 /textproc/docbook-xml
parent1a8e00e3415893dcd4a32ae711e38757138ce065 (diff)
downloadpkgsrc-a0c1b1099290f32495b6a9299a858f3733d46ad0.tar.gz
Install the XML version of the catalog file instead of the SGML one.
Use textproc/xmlcatmgr/catalogs.mk to register it with the XML_CATALOG variable. Bump PKGREVISION.
Diffstat (limited to 'textproc/docbook-xml')
-rw-r--r--textproc/docbook-xml/Makefile12
-rw-r--r--textproc/docbook-xml/PLIST4
2 files changed, 7 insertions, 9 deletions
diff --git a/textproc/docbook-xml/Makefile b/textproc/docbook-xml/Makefile
index 25b982e7e7c..ab9ed87ed4c 100644
--- a/textproc/docbook-xml/Makefile
+++ b/textproc/docbook-xml/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.5 2003/01/18 09:39:27 jmmv Exp $
+# $NetBSD: Makefile,v 1.6 2003/01/29 21:17:26 jmmv Exp $
#
DISTNAME= docbook-xml-4.2
WRKSRC= ${WRKDIR}
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= textproc
MASTER_SITES= http://www.oasis-open.org/docbook/xml/4.2/
EXTRACT_SUFX= .zip
@@ -22,15 +22,15 @@ DTDFILES= calstblx.dtd dbcentx.mod dbgenent.mod dbhierx.mod \
dbnotnx.mod dbpoolx.mod docbookx.dtd soextblx.dtd
MISCFILES= README
+XML_CATALOGS= ${DTDDIR}/catalog
+
do-install:
${INSTALL_DATA_DIR} ${DTDDIR}
${INSTALL_DATA_DIR} ${ENTDIR}
(cd ${WRKSRC}; ${INSTALL_DATA} ${DTDFILES} ${DTDDIR})
(cd ${WRKSRC}/ent; ${INSTALL_DATA} *.ent ${ENTDIR})
(cd ${WRKSRC}; ${INSTALL_DATA} ${MISCFILES} ${DTDDIR})
- ${PREFIX}/bin/xmlcatmgr -c ${PREFIX}/share/xml/catalog \
- add "CATALOG" "${PREFIX}/share/xml/docbook/catalog"
- ${INSTALL_DATA} ${WRKSRC}/docbook.cat ${DTDDIR}/catalog
+ ${INSTALL_DATA} ${WRKSRC}/catalog.xml ${DTDDIR}/catalog
-.include "../../textproc/xmlcatmgr/buildlink2.mk"
+.include "../../textproc/xmlcatmgr/catalogs.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/docbook-xml/PLIST b/textproc/docbook-xml/PLIST
index b47d2114fc0..2d1604f3abf 100644
--- a/textproc/docbook-xml/PLIST
+++ b/textproc/docbook-xml/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.6 2003/01/12 09:48:34 jmmv Exp $
+@comment $NetBSD: PLIST,v 1.7 2003/01/29 21:17:26 jmmv Exp $
share/xml/docbook/README
share/xml/docbook/calstblx.dtd
share/xml/docbook/catalog
@@ -28,7 +28,5 @@ share/xml/docbook/ent/iso-num.ent
share/xml/docbook/ent/iso-pub.ent
share/xml/docbook/ent/iso-tech.ent
share/xml/docbook/soextblx.dtd
-@exec %D/bin/xmlcatmgr -c %D/share/xml/catalog add CATALOG %D/share/xml/docbook/catalog
-@unexec %D/bin/xmlcatmgr -c %D/share/xml/catalog remove %D/share/xml/docbook/catalog
@dirrm share/xml/docbook/ent
@dirrm share/xml/docbook