summaryrefslogtreecommitdiff
path: root/textproc/docbook-simple/Makefile
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2006-04-18 14:10:22 +0000
committerjmmv <jmmv@pkgsrc.org>2006-04-18 14:10:22 +0000
commitdde5220caec428c6cc53b2cda76333e0de524df4 (patch)
treefcf9fa10f43c801131ada07e33d707c3ac4452ec /textproc/docbook-simple/Makefile
parent92f2e7dd253c1a8671d966c06aa568d706d637f5 (diff)
downloadpkgsrc-dde5220caec428c6cc53b2cda76333e0de524df4.tar.gz
Make the installed files mimic the public URL naming scheme and add an
appropriate rewriteSystem entry to the catalog. Bump PKGREVISION. Fixes the build of htdocs after a similar rewriteSystem entry was added to docbook-xml.
Diffstat (limited to 'textproc/docbook-simple/Makefile')
-rw-r--r--textproc/docbook-simple/Makefile15
1 files changed, 11 insertions, 4 deletions
diff --git a/textproc/docbook-simple/Makefile b/textproc/docbook-simple/Makefile
index 07a174d932a..583e2cefee0 100644
--- a/textproc/docbook-simple/Makefile
+++ b/textproc/docbook-simple/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.13 2006/03/21 06:00:49 jlam Exp $
+# $NetBSD: Makefile,v 1.14 2006/04/18 14:10:22 jmmv Exp $
#
DISTNAME= docbook-simple-1.1
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= textproc
MASTER_SITES= http://docbook.org/xml/simple/1.1/
EXTRACT_SUFX= .zip
@@ -17,13 +17,20 @@ NO_BUILD= YES
WRKSRC= ${WRKDIR}
INSTDIR= ${DESTDIR}${PREFIX}/share/xml
-DTDDIR= ${INSTDIR}/docbook-simple
+DTDDIR= ${INSTDIR}/docbook/simple/1.1
DTDFILES= sdbcent.mod sdocbook-custom.dtd sdocbookref-custom.dtd \
sdbhier.mod sdocbookref.dtd sdbpool.mod sdocbook.dtd \
sinclist.mod
MISCFILES= sdocbook.css
-XML_CATALOGS= ${PREFIX}/share/xml/docbook-simple/catalog.xml
+XML_CATALOGS= ${DTDDIR}/catalog.xml
+XML_ENTRIES= rewriteSystem http://www.oasis-open.org/docbook/xml/simple/1.1 \
+ ${DTDDIR}
+
+# share/xml/docbook is shared with docbook-xml.
+PRINT_PLIST_AWK+= /^@dirrm share\/xml\/docbook$$/ \
+ { print "@unexec $${RMDIR} %D/share/xml/docbook" \
+ " >/dev/null 2>&1"; next }
do-install:
${INSTALL_DATA_DIR} ${DTDDIR}