summaryrefslogtreecommitdiff
path: root/sysutils/atitvout/Makefile
diff options
context:
space:
mode:
authorghen <ghen@pkgsrc.org>2006-03-09 11:28:00 +0000
committerghen <ghen@pkgsrc.org>2006-03-09 11:28:00 +0000
commit4de20ba9c95fb798bc0883b2aedfcb55180d4195 (patch)
tree6aedfa17af7cd14b4dda0e4cf07d63222eb3ff1e /sysutils/atitvout/Makefile
parent3a7c9408de73ce5481e3f046eb214d8ff0fdfcd3 (diff)
downloadpkgsrc-4de20ba9c95fb798bc0883b2aedfcb55180d4195.tar.gz
Use REPLACE_INTERPRETER instead of a patch.
Diffstat (limited to 'sysutils/atitvout/Makefile')
-rw-r--r--sysutils/atitvout/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/sysutils/atitvout/Makefile b/sysutils/atitvout/Makefile
index 3a9276c136d..46609c2a91c 100644
--- a/sysutils/atitvout/Makefile
+++ b/sysutils/atitvout/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2006/03/04 21:30:40 jlam Exp $
+# $NetBSD: Makefile,v 1.8 2006/03/09 11:28:00 ghen Exp $
DISTNAME= atitvout-0.4
PKGREVISION= 1
@@ -25,11 +25,15 @@ do-configure:
${CP} ${FILESDIR}/Makefile.bsd ${WRKSRC}
.endif
+REPLACE_INTERPRETER+= bash
+_REPLACE.bash.old= /bin/bash
+_REPLACE.bash.new= ${SH:Q}
+_REPLACE_FILES.bash= test.sh
+
SUBST_CLASSES+= sh
-SUBST_STAGE.sh= post-patch
+SUBST_STAGE.sh= pre-configure
SUBST_FILES.sh= test.sh
SUBST_SED.sh= -e "s,@PREFIX@,${PREFIX},"
-SUBST_MESSAGE.sh= "Fixing stupid bash scripts."
INSTALLATION_DIRS= sbin