diff options
author | jmmv <jmmv@pkgsrc.org> | 2006-04-18 14:11:29 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2006-04-18 14:11:29 +0000 |
commit | 10dbd7b677f18493fc663dccdadc9313720eb073 (patch) | |
tree | 40b0fa010a8b4d447ece11b3c085ada1c86f9c4d /textproc/docbook-xml/Makefile | |
parent | bae9fb35d2adc58f44b4989bf52309c1ab192d54 (diff) | |
download | pkgsrc-10dbd7b677f18493fc663dccdadc9313720eb073.tar.gz |
Narrow the scope of the rewriteSystem entries added to the catalog so that
they only affect the installed Docbook versions. Avoids possible conflicts
with other packages as happened with docbook-simple. Bump PKGREVISION.
Diffstat (limited to 'textproc/docbook-xml/Makefile')
-rw-r--r-- | textproc/docbook-xml/Makefile | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/textproc/docbook-xml/Makefile b/textproc/docbook-xml/Makefile index 48e7db21d4e..2e0a9068567 100644 --- a/textproc/docbook-xml/Makefile +++ b/textproc/docbook-xml/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.27 2006/04/01 14:43:42 jmmv Exp $ +# $NetBSD: Makefile,v 1.28 2006/04/18 14:11:29 jmmv Exp $ # DISTNAME= docbook-xml-4.4 @@ -28,14 +28,23 @@ DTDDIR= ${INSTDIR}/docbook VER= 4.2 4.3 4.4 XML_CATALOGS= +XML_ENTRIES= .for ver in ${VER} XML_CATALOGS+= ${DTDDIR}/${ver}/catalog +XML_ENTRIES+= rewriteSystem http://www.oasis-open.org/docbook/xml/${ver} \ + ${DTDDIR}/${ver} .endfor -XML_CATALOGS+= ${DTDDIR}/4.2/catalog-4.1.2 +# 4.2 is backwards-compatible with 4.1.2, so we just make 4.1.2 be an alias +# for 4.2. +XML_CATALOGS+= ${DTDDIR}/4.2/catalog-4.1.2 XML_ENTRIES+= rewriteSystem http://www.oasis-open.org/docbook/xml/4.1.2 \ ${DTDDIR}/4.2 -XML_ENTRIES+= rewriteSystem http://www.oasis-open.org/docbook/xml ${DTDDIR} + +# share/xml/docbook is shared with docbook-simple. +PRINT_PLIST_AWK+= /^@dirrm share\/xml\/docbook$$/ \ + { print "@unexec $${RMDIR} %D/share/xml/docbook" \ + " >/dev/null 2>&1"; next } pre-install: .for ver in ${VER} |