summaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
authoruebayasi <uebayasi@pkgsrc.org>2008-12-23 15:59:08 +0000
committeruebayasi <uebayasi@pkgsrc.org>2008-12-23 15:59:08 +0000
commit77edf3ff52401a457b734303178511a708963160 (patch)
tree632a62be26fd6ae794c4f708b4317f4013c23a30 /shells
parentfb0d9752b1e7c200d1f3a7753962cd2a68ad4c00 (diff)
downloadpkgsrc-77edf3ff52401a457b734303178511a708963160.tar.gz
Fix interpreter paths. Patch provided by David Brownlee, thanks!
Diffstat (limited to 'shells')
-rw-r--r--shells/zsh/Makefile24
1 files changed, 23 insertions, 1 deletions
diff --git a/shells/zsh/Makefile b/shells/zsh/Makefile
index 5e6f5a67c11..79ee13b1947 100644
--- a/shells/zsh/Makefile
+++ b/shells/zsh/Makefile
@@ -1,8 +1,30 @@
-# $NetBSD: Makefile,v 1.54 2008/12/21 16:53:31 uebayasi Exp $
+# $NetBSD: Makefile,v 1.55 2008/12/23 15:59:08 uebayasi Exp $
.include "../../shells/zsh/Makefile.common"
+PKGREVISION= 1
ZSH_VERSION= 4.2.7
ZSH_MAINTAINER= uebayasi@NetBSD.org
+SUBST_CLASSES+= prefix-fixup
+SUBST_STAGE.prefix-fixup= pre-configure
+SUBST_FILES.prefix-fixup= \
+ Misc/globtests \
+ Misc/globtests.ksh \
+ Test/ztst.zsh \
+ Util/reporter \
+ Functions/Calendar/calendar_add \
+ Functions/Misc/run-help \
+ Functions/Misc/checkmail \
+ Functions/Misc/zcalc \
+ Functions/Misc/zkbd \
+ Functions/Example/cat
+SUBST_SED.prefix-fixup= \
+ -e 's|^\#\!/bin/env|\#\!${TOOLS_PATH.env}|g' \
+ -e 's|^\#\! /bin/env|\#\! ${TOOLS_PATH.env}|g' \
+ -e 's|^\#\!/bin/zsh|\#\!${PREFIX}/bin/zsh|g' \
+ -e 's|^\#\! /bin/zsh|\#\! ${PREFIX}/bin/zsh|g' \
+ -e 's|^\#\!/usr/local/bin/zsh|\#\!${PREFIX}/bin/zsh|g' \
+ -e 's|^\#\! /usr/local/bin/zsh|\#\! ${PREFIX}/bin/zsh|g'
+
.include "../../mk/bsd.pkg.mk"