diff options
author | minskim <minskim@pkgsrc.org> | 2005-06-24 21:58:47 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2005-06-24 21:58:47 +0000 |
commit | a8ef551672f938ebdaaaf96744eab58774cb3432 (patch) | |
tree | 1b3da9109c738ab5ead132c940337a9657249c04 /graphics/netpbm | |
parent | f5278166b38bf30ec28973b811c3bfd71696ee90 (diff) | |
download | pkgsrc-a8ef551672f938ebdaaaf96744eab58774cb3432.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/netpbm')
-rw-r--r-- | graphics/netpbm/Makefile | 12 |
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 \ |