pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/netpbm Use REPLACE_INTERPRETER instead of SUBST.
details: https://anonhg.NetBSD.org/pkgsrc/rev/ae44f861a10e
branches: trunk
changeset: 509374:ae44f861a10e
user: ghen <ghen%pkgsrc.org@localhost>
date: Thu Mar 09 14:05:14 2006 +0000
description:
Use REPLACE_INTERPRETER instead of SUBST.
diffstat:
graphics/netpbm/Makefile | 24 +++++++++++++-----------
1 files changed, 13 insertions(+), 11 deletions(-)
diffs (38 lines):
diff -r dcabbd18ce81 -r ae44f861a10e graphics/netpbm/Makefile
--- a/graphics/netpbm/Makefile Thu Mar 09 11:30:51 2006 +0000
+++ b/graphics/netpbm/Makefile Thu Mar 09 14:05:14 2006 +0000
@@ -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 @@
# 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"
Home |
Main Index |
Thread Index |
Old Index