summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorjmmv <jmmv>2009-10-31 23:41:56 +0000
committerjmmv <jmmv>2009-10-31 23:41:56 +0000
commit63b418b7a8782b3fa6f69ddef338052675d94961 (patch)
treed51d4f751fcb49202abe93626f33307438ef2aff /textproc
parentc354ca5f2722a966210a6664a7a1c2c1aa82d2ac (diff)
downloadpkgsrc-63b418b7a8782b3fa6f69ddef338052675d94961.tar.gz
Fix registration of the DTD in the catalog by not prefixing the destdir.
This makes the package work again. Bump PKGREVISION.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/docbook-simple/Makefile16
1 files changed, 8 insertions, 8 deletions
diff --git a/textproc/docbook-simple/Makefile b/textproc/docbook-simple/Makefile
index eb298c14983..c4a588477e6 100644
--- a/textproc/docbook-simple/Makefile
+++ b/textproc/docbook-simple/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.17 2009/06/14 22:58:09 joerg Exp $
+# $NetBSD: Makefile,v 1.18 2009/10/31 23:41:56 jmmv Exp $
#
DISTNAME= docbook-simple-1.1
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= textproc
MASTER_SITES= http://docbook.org/xml/simple/1.1/
EXTRACT_SUFX= .zip
@@ -18,8 +18,7 @@ NO_CONFIGURE= YES
NO_BUILD= YES
WRKSRC= ${WRKDIR}
-INSTDIR= ${DESTDIR}${PREFIX}/share/xml
-DTDDIR= ${INSTDIR}/docbook/simple/1.1
+DTDDIR= ${PREFIX}/share/xml/docbook/simple/1.1
DTDFILES= sdbcent.mod sdocbook-custom.dtd sdocbookref-custom.dtd \
sdbhier.mod sdocbookref.dtd sdbpool.mod sdocbook.dtd \
sinclist.mod
@@ -30,10 +29,11 @@ XML_ENTRIES= rewriteSystem http://www.oasis-open.org/docbook/xml/simple/1.1 \
${DTDDIR}
do-install:
- ${INSTALL_DATA_DIR} ${DTDDIR}
- (cd ${WRKSRC}; ${INSTALL_DATA} ${DTDFILES} ${DTDDIR})
- (cd ${WRKSRC}; ${INSTALL_DATA} ${MISCFILES} ${DTDDIR})
- ${INSTALL_DATA} ${FILESDIR}/catalog.xml.in ${DTDDIR}/catalog.xml
+ ${INSTALL_DATA_DIR} ${DESTDIR}${DTDDIR}
+ (cd ${WRKSRC}; ${INSTALL_DATA} ${DTDFILES} ${DESTDIR}${DTDDIR})
+ (cd ${WRKSRC}; ${INSTALL_DATA} ${MISCFILES} ${DESTDIR}${DTDDIR})
+ ${INSTALL_DATA} ${FILESDIR}/catalog.xml.in \
+ ${DESTDIR}${DTDDIR}/catalog.xml
.include "../../textproc/xmlcatmgr/catalogs.mk"
.include "../../mk/bsd.pkg.mk"