diff options
author | jmmv <jmmv> | 2003-01-11 22:11:50 +0000 |
---|---|---|
committer | jmmv <jmmv> | 2003-01-11 22:11:50 +0000 |
commit | c04bbf018a4aeccf9492cc3565f1e33957f1d2e7 (patch) | |
tree | d52224c621aa2fdfbd71bda703c6620580696958 /textproc/docbook | |
parent | a920acf74cb852ba4ed900e9cbdf76e6093c386a (diff) | |
download | pkgsrc-c04bbf018a4aeccf9492cc3565f1e33957f1d2e7.tar.gz |
Register installed catalog files in share/sgml/catalog using xmlcatmgr.
Bump PKGREVISION to 1.
Diffstat (limited to 'textproc/docbook')
-rw-r--r-- | textproc/docbook/Makefile | 13 | ||||
-rw-r--r-- | textproc/docbook/PLIST | 16 |
2 files changed, 25 insertions, 4 deletions
diff --git a/textproc/docbook/Makefile b/textproc/docbook/Makefile index bc90356b94c..a328bdc60c9 100644 --- a/textproc/docbook/Makefile +++ b/textproc/docbook/Makefile @@ -1,8 +1,9 @@ -# $NetBSD: Makefile,v 1.17 2002/09/21 10:48:55 jlam Exp $ +# $NetBSD: Makefile,v 1.18 2003/01/11 22:11:50 jmmv Exp $ # FreeBSD Id: Makefile,v 1.4 1998/06/27 05:19:35 asami Exp # DISTNAME= docbook-4.2 +PKGREVISION= 1 CATEGORIES= textproc MASTER_SITES= \ http://www.oasis-open.org/docbook/sgml/4.2/ \ @@ -19,7 +20,7 @@ HOMEPAGE= http://www.ora.com/davenport/ COMMENT= SGML DTD designed for computer documentation BUILD_DEPENDS= unzip-[0-9]*:../../archivers/unzip -DEPENDS+= iso8879-1986:../../textproc/iso8879 +DEPENDS+= iso8879>=1986:../../textproc/iso8879 NO_MTREE= yes USE_BUILDLINK2= yes @@ -86,5 +87,13 @@ do-install: # General cleanup # @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR} + # + # Register SGML catalogs + # +.for ver in 2.4.1 3.0 3.1 4.0 4.1 4.2 + ${PREFIX}/bin/xmlcatmgr -c ${PREFIX}/share/sgml/catalog add \ + CATALOG ${INSTDIR}/${ver}/catalog +.endfor +.include "../../textproc/xmlcatmgr/buildlink2.mk" .include "../../mk/bsd.pkg.mk" diff --git a/textproc/docbook/PLIST b/textproc/docbook/PLIST index 2c4f3e61609..f468f62a83e 100644 --- a/textproc/docbook/PLIST +++ b/textproc/docbook/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.4 2002/12/06 23:16:01 tron Exp $ +@comment $NetBSD: PLIST,v 1.5 2003/01/11 22:11:50 jmmv Exp $ share/sgml/docbook/2.4.1/241chg.txt share/sgml/docbook/2.4.1/announce.txt share/sgml/docbook/2.4.1/calstbl.mod @@ -78,6 +78,18 @@ share/sgml/docbook/4.2/docbook.dcl share/sgml/docbook/4.2/docbook.dtd share/sgml/docbook/4.2/docbookx.dtd share/sgml/docbook/4.2/soextblx.dtd +@exec %D/bin/xmlcatmgr -c %D/share/sgml/catalog add CATALOG %D/share/sgml/docbook/2.4.1/catalog +@exec %D/bin/xmlcatmgr -c %D/share/sgml/catalog add CATALOG %D/share/sgml/docbook/3.0/catalog +@exec %D/bin/xmlcatmgr -c %D/share/sgml/catalog add CATALOG %D/share/sgml/docbook/3.1/catalog +@exec %D/bin/xmlcatmgr -c %D/share/sgml/catalog add CATALOG %D/share/sgml/docbook/4.0/catalog +@exec %D/bin/xmlcatmgr -c %D/share/sgml/catalog add CATALOG %D/share/sgml/docbook/4.1/catalog +@exec %D/bin/xmlcatmgr -c %D/share/sgml/catalog add CATALOG %D/share/sgml/docbook/4.2/catalog +@unexec %D/bin/xmlcatmgr -c %D/share/sgml/catalog remove %D/share/sgml/docbook/4.2/catalog +@unexec %D/bin/xmlcatmgr -c %D/share/sgml/catalog remove %D/share/sgml/docbook/4.1/catalog +@unexec %D/bin/xmlcatmgr -c %D/share/sgml/catalog remove %D/share/sgml/docbook/4.0/catalog +@unexec %D/bin/xmlcatmgr -c %D/share/sgml/catalog remove %D/share/sgml/docbook/3.1/catalog +@unexec %D/bin/xmlcatmgr -c %D/share/sgml/catalog remove %D/share/sgml/docbook/3.0/catalog +@unexec %D/bin/xmlcatmgr -c %D/share/sgml/catalog remove %D/share/sgml/docbook/2.4.1/catalog @dirrm share/sgml/docbook/4.2 @dirrm share/sgml/docbook/4.1 @dirrm share/sgml/docbook/4.0 @@ -85,4 +97,4 @@ share/sgml/docbook/4.2/soextblx.dtd @dirrm share/sgml/docbook/3.0 @dirrm share/sgml/docbook/2.4.1 @dirrm share/sgml/docbook -@unexec ${RMDIR} %D/share/sgml 2>/dev/null || ${TRUE} +@comment in xmlcatmgr: @dirrm share/sgml |