pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/docbook-xml make use of the tools framework t...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/71ce03073778
branches:  trunk
changeset: 513842:71ce03073778
user:      schwarz <schwarz%pkgsrc.org@localhost>
date:      Sun Jun 04 14:04:33 2006 +0000

description:
make use of the tools framework to provide unzip

diffstat:

 textproc/docbook-xml/Makefile |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (32 lines):

diff -r 24d9134c3586 -r 71ce03073778 textproc/docbook-xml/Makefile
--- a/textproc/docbook-xml/Makefile     Sun Jun 04 13:56:20 2006 +0000
+++ b/textproc/docbook-xml/Makefile     Sun Jun 04 14:04:33 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2006/04/18 14:11:29 jmmv Exp $
+# $NetBSD: Makefile,v 1.29 2006/06/04 14:04:33 schwarz Exp $
 #
 
 DISTNAME=      docbook-xml-4.4
@@ -13,12 +13,11 @@
 HOMEPAGE=      http://www.oasis-open.org/docbook/
 COMMENT=       XML DTD designed for computer documentation
 
-BUILD_DEPENDS+=        unzip-[0-9]*:../../archivers/unzip
-
 PKG_INSTALLATION_TYPES= overwrite pkgviews
 
 WRKSRC=                ${WRKDIR}
 USE_LANGUAGES= # empty
+USE_TOOLS+=    unzip
 NO_BUILD=      YES
 EXTRACT_ONLY=  # empty
 
@@ -53,7 +52,7 @@
 
 do-install:
 .for ver in ${VER}
-       @(cd ${DTDDIR}/${ver}; unzip ${DISTDIR}/docbook-xml-${ver}.zip)
+       @(cd ${DTDDIR}/${ver}; ${UNZIP_CMD} ${DISTDIR}/docbook-xml-${ver}.zip)
        @(cd ${DTDDIR}/${ver}; ${MV} catalog.xml catalog)
 .endfor
        @${SED} -e 's|V4.2|V4.1.2|g' <${DTDDIR}/4.2/catalog \



Home | Main Index | Thread Index | Old Index