summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorjmmv <jmmv>2003-01-29 21:28:26 +0000
committerjmmv <jmmv>2003-01-29 21:28:26 +0000
commit5eafa01ad9f052adaef1011b06b77334d25b8f8e (patch)
tree57d81aa13cb954a8a503877464b25aac51600c74 /textproc
parent802f5486f7e3c268091e0d152e98e87a8ffa6c86 (diff)
downloadpkgsrc-5eafa01ad9f052adaef1011b06b77334d25b8f8e.tar.gz
Add a preliminary catalog file to resolve system entries with the local
installed files. Use textproc/xmlcatmgr/catalogs.mk to register it with the XML_CATALOGS variable. Bump PKGREVISION.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/docbook-xsl/Makefile8
-rw-r--r--textproc/docbook-xsl/PLIST3
-rw-r--r--textproc/docbook-xsl/files/catalog9
3 files changed, 18 insertions, 2 deletions
diff --git a/textproc/docbook-xsl/Makefile b/textproc/docbook-xsl/Makefile
index d60bb5fa3fe..817fe6899b7 100644
--- a/textproc/docbook-xsl/Makefile
+++ b/textproc/docbook-xsl/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.5 2003/01/27 11:05:05 grant Exp $
+# $NetBSD: Makefile,v 1.6 2003/01/29 21:28:26 jmmv Exp $
#
DISTNAME= docbook-xsl-1.60.1
+PKGREVISION= 1
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=docbook/}
@@ -14,6 +15,7 @@ DEPENDS= docbook-xml>=4.2:../../textproc/docbook-xml
NO_BUILD= YES
NO_CONFIGURE= YES
NO_PATCH= YES
+USE_BUILDLINK2= YES
DOCDIR= ${PREFIX}/share/doc/docbook-xsl
EGDIR= ${PREFIX}/share/examples/docbook-xsl
@@ -21,6 +23,8 @@ XSLDIR= ${PREFIX}/share/xsl/docbook
XSLMODS= common extensions fo html htmlhelp images javahelp \
lib manpages params profiling tools xhtml
+XML_CATALOGS= ${XSLDIR}/catalog
+
do-install:
${INSTALL_DATA_DIR} ${DOCDIR}
cd ${WRKSRC}/doc && ${PAX} -rwpppm . ${DOCDIR}
@@ -33,5 +37,7 @@ do-install:
${ECHO} "cd ${WRKSRC} && ${PAX} -rwpppm $$d ${XSLDIR}/"; \
cd ${WRKSRC} && ${PAX} -rwpppm $$d ${XSLDIR}/; \
done
+ ${INSTALL_DATA} ${FILESDIR}/catalog ${XSLDIR}/catalog
+.include "../../textproc/xmlcatmgr/catalogs.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/docbook-xsl/PLIST b/textproc/docbook-xsl/PLIST
index 9273b793588..57fb94ba560 100644
--- a/textproc/docbook-xsl/PLIST
+++ b/textproc/docbook-xsl/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2003/01/27 11:05:05 grant Exp $
+@comment $NetBSD: PLIST,v 1.5 2003/01/29 21:28:26 jmmv Exp $
share/doc/docbook-xsl/ChangeLog
share/doc/docbook-xsl/book.xsl
share/doc/docbook-xsl/ch01s02.html
@@ -581,6 +581,7 @@ share/examples/docbook-xsl/biblioentry.xsl
share/examples/docbook-xsl/testtemplate.xml
share/examples/docbook-xsl/titlepage.xsl
share/xsl/docbook/VERSION
+share/xsl/docbook/catalog
share/xsl/docbook/common/ChangeLog
share/xsl/docbook/common/af.xml
share/xsl/docbook/common/bg.xml
diff --git a/textproc/docbook-xsl/files/catalog b/textproc/docbook-xsl/files/catalog
new file mode 100644
index 00000000000..e588ca25932
--- /dev/null
+++ b/textproc/docbook-xsl/files/catalog
@@ -0,0 +1,9 @@
+<?xml version="1.0"?>
+<!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN"
+ "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd">
+
+<!-- $NetBSD: catalog,v 1.1 2003/01/29 21:28:27 jmmv Exp $ -->
+
+<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
+ <system systemId="http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl" uri="html/docbook.xsl" />
+</catalog>