diff options
author | ghen <ghen> | 2006-03-09 14:05:14 +0000 |
---|---|---|
committer | ghen <ghen> | 2006-03-09 14:05:14 +0000 |
commit | 919e58d732cf0b3acfa20a00d2428ef1543f232a (patch) | |
tree | 49901ac565d489bb49f5ba06d6ba1feb4f491ba4 /graphics | |
parent | 9c06324792fba7b0f0e3ac6c56ecc42bb74dbca6 (diff) | |
download | pkgsrc-919e58d732cf0b3acfa20a00d2428ef1543f232a.tar.gz |
Use REPLACE_INTERPRETER instead of SUBST.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/netpbm/Makefile | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/graphics/netpbm/Makefile b/graphics/netpbm/Makefile index 8ef9643e644..6b656b43634 100644 --- a/graphics/netpbm/Makefile +++ b/graphics/netpbm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.133 2006/02/27 22:01:16 adam Exp $ +# $NetBSD: Makefile,v 1.134 2006/03/09 14:05:14 ghen Exp $ DISTNAME= netpbm-10.32 CATEGORIES= graphics @@ -28,16 +28,18 @@ MAKE_ENV+= NETWORKLD=${LIBS:M*:Q} # Several of the netpbm shell scripts use bashisms, so force using # bash for all of the shell scripts. # -SUBST_CLASSES+= bash -SUBST_STAGE.bash= post-build -SUBST_SED.bash= -e "1s|^\#!.*bin/sh|\#!${BASH}|" -SUBST_FILES.bash= converter/other/anytopnm \ - converter/other/pnmtoplainpnm \ - converter/ppm/hpcdtoppm/hpcdtoppm \ - converter/ppm/hpcdtoppm/pcdovtoppm \ - editor/pamstretch-gen editor/pnmindex \ - editor/pnmmargin editor/ppmquantall \ - other/ppmtomap +REPLACE_INTERPRETER+= bash +_REPLACE.bash.old= .*/bin/sh +_REPLACE.bash.new= ${TOOLS_PATH.bash} +_REPLACE_FILES.bash= converter/other/anytopnm +_REPLACE_FILES.bash+= converter/other/pnmtoplainpnm +_REPLACE_FILES.bash+= converter/ppm/hpcdtoppm/hpcdtoppm +_REPLACE_FILES.bash+= converter/ppm/hpcdtoppm/pcdovtoppm +_REPLACE_FILES.bash+= editor/pamstretch-gen +_REPLACE_FILES.bash+= editor/pnmindex.sh +_REPLACE_FILES.bash+= editor/pnmmargin +_REPLACE_FILES.bash+= editor/ppmquantall +_REPLACE_FILES.bash+= other/ppmtomap .include "../../mk/bsd.prefs.mk" |