summaryrefslogtreecommitdiff
path: root/shells/zsh
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
commitf1ae45ed012f5f399c731ce5fddd191df9bdb771 (patch)
tree632a62be26fd6ae794c4f708b4317f4013c23a30 /shells/zsh
parent9eb33e07f459b3ea69ef1be955a623a9af34a1d8 (diff)
downloadpkgsrc-f1ae45ed012f5f399c731ce5fddd191df9bdb771.tar.gz
Fix interpreter paths. Patch provided by David Brownlee, thanks!
Diffstat (limited to 'shells/zsh')
-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"