summaryrefslogtreecommitdiff
path: root/shells/zsh
diff options
context:
space:
mode:
authoruebayasi <uebayasi>2008-12-23 15:59:08 +0000
committeruebayasi <uebayasi>2008-12-23 15:59:08 +0000
commit153e62531252c5f1f1a955372640fa0044c5a896 (patch)
tree632a62be26fd6ae794c4f708b4317f4013c23a30 /shells/zsh
parentcfa279e522df4a8d0955caffc3b9b1df0a402f26 (diff)
downloadpkgsrc-153e62531252c5f1f1a955372640fa0044c5a896.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"