pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/fonts/adobe-cmaps Set USE_TOOLS instead of BUILD_DEPEN...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4691ce503826
branches:  trunk
changeset: 503099:4691ce503826
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Mon Nov 14 05:57:41 2005 +0000

description:
Set USE_TOOLS instead of BUILD_DEPENDS for unzip.

diffstat:

 fonts/adobe-cmaps/Makefile |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (31 lines):

diff -r f8ee6063d665 -r 4691ce503826 fonts/adobe-cmaps/Makefile
--- a/fonts/adobe-cmaps/Makefile        Mon Nov 14 04:50:47 2005 +0000
+++ b/fonts/adobe-cmaps/Makefile        Mon Nov 14 05:57:41 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2005/09/28 20:52:21 rillig Exp $
+# $NetBSD: Makefile,v 1.12 2005/11/14 05:57:41 minskim Exp $
 
 DISTNAME=      adobe-cmaps-20040605
 CATEGORIES=    fonts print
@@ -24,11 +24,10 @@
 HOMEPAGE=      http://partners.adobe.com/asn/acrobat/technotes.jsp
 COMMENT=       Adobe CMap files for CJK
 
-BUILD_DEPENDS+=        unzip-[0-9]*:../../archivers/unzip
-
 DIST_SUBDIR=           ${PKGNAME_NOREV}
 NO_CONFIGURE=          yes
 NO_BUILD=              yes
+USE_TOOLS+=            unzip
 
 RESOURCEDIR=           ${PREFIX}/share/Adobe/Resource
 
@@ -41,7 +40,7 @@
        for file in ${PDFCORE}; do                                      \
                ${MKDIR} ${RESOURCEDIR}/pdfcorefonts/$${file};          \
                cd ${RESOURCEDIR}/pdfcorefonts/$${file};                \
-               ${LOCALBASE}/bin/unzip -aaoq ${_DISTDIR}/$${file}.zip;  \
+               ${UNZIP} -aaoq ${_DISTDIR}/$${file}.zip;        \
        done
        ${INSTALL_DATA_DIR} ${RESOURCEDIR}/CMap
        cd ${RESOURCEDIR}; for dir in ${CMAP_FILES}; do                 \



Home | Main Index | Thread Index | Old Index