pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/netpbm Use the tools framework to pull in dep...
details: https://anonhg.NetBSD.org/pkgsrc/rev/9dd4adfae042
branches: trunk
changeset: 496280:9dd4adfae042
user: minskim <minskim%pkgsrc.org@localhost>
date: Fri Jun 24 21:58:47 2005 +0000
description:
Use the tools framework to pull in dependency on bash.
Bump PKGREVISION due to dependency change on platforms with native bash.
diffstat:
graphics/netpbm/Makefile | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diffs (39 lines):
diff -r 0dfbca40796b -r 9dd4adfae042 graphics/netpbm/Makefile
--- a/graphics/netpbm/Makefile Fri Jun 24 21:55:38 2005 +0000
+++ b/graphics/netpbm/Makefile Fri Jun 24 21:58:47 2005 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.114 2005/06/24 21:36:10 minskim Exp $
+# $NetBSD: Makefile,v 1.115 2005/06/24 21:58:47 minskim Exp $
DISTNAME= netpbm-10.26.9
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=netpbm/}
EXTRACT_SUFX= .tgz
@@ -12,9 +12,11 @@
PKG_INSTALLATION_TYPES= overwrite pkgviews
-USE_TOOLS+= gmake lex
+USE_TOOLS+= bash gmake lex
USE_PERL5= yes
+TOOLS_DEPMETHOD.bash= DEPENDS
+
INSTALL_TARGET= install-dev install-run
MAKE_ENV+= INSTALL="${INSTALL}" STRIPFLAG="${_STRIPFLAG_INSTALL}" \
pkgdir="${STAGEDIR}"
@@ -30,11 +32,9 @@
# Several of the netpbm shell scripts use bashisms, so force using
# bash for all of the shell scripts.
#
-DEPENDS+= bash-[0-9]*:../../shells/bash
-EVAL_PREFIX+= BASH_PREFIX=bash
SUBST_CLASSES+= bash
SUBST_STAGE.bash= post-build
-SUBST_SED.bash= -e "1s|^\#!.*bin/sh|\#!${BASH_PREFIX}/bin/bash|"
+SUBST_SED.bash= -e "1s|^\#!.*bin/sh|\#!${BASH}|"
SUBST_FILES.bash= converter/other/anytopnm \
converter/other/pnmtoplainpnm \
converter/ppm/hpcdtoppm/hpcdtoppm \
Home |
Main Index |
Thread Index |
Old Index