summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorminskim <minskim>2005-06-24 21:58:47 +0000
committerminskim <minskim>2005-06-24 21:58:47 +0000
commita67f785f5d51c1df042d826e598337f604d5e4c8 (patch)
tree1b3da9109c738ab5ead132c940337a9657249c04 /graphics
parentb712e0ae8b9a476c59a4243e96adb889e1591e51 (diff)
downloadpkgsrc-a67f785f5d51c1df042d826e598337f604d5e4c8.tar.gz
Use the tools framework to pull in dependency on bash.
Bump PKGREVISION due to dependency change on platforms with native bash.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/netpbm/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/graphics/netpbm/Makefile b/graphics/netpbm/Makefile
index eddfc34f449..1e296d59783 100644
--- a/graphics/netpbm/Makefile
+++ b/graphics/netpbm/Makefile
@@ -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 @@ COMMENT= Toolkit for conversion of images between different formats
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 @@ MAKE_ENV+= NETWORKLD="${LIBS}"
# 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 \