summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shells/zsh/Makefile1
-rw-r--r--shells/zsh/pkg-plist2
2 files changed, 2 insertions, 1 deletions
diff --git a/shells/zsh/Makefile b/shells/zsh/Makefile
index 523c33c5a66c..f3bb079ef896 100644
--- a/shells/zsh/Makefile
+++ b/shells/zsh/Makefile
@@ -22,6 +22,7 @@ MAINTAINER= torstenb@FreeBSD.org
GNU_CONFIGURE= yes
MAN1= zsh.1 zshbuiltins.1 zshcompctl.1 zshexpn.1 zshmisc.1 \
zshoptions.1 zshall.1 zshparam.1 zshzle.1
+PLIST_SUB= ZSH_VERSION=3.0.6
# If you want to build a static binary, uncomment the following line
#CONFIGURE_ENV+= "LDFLAGS=-static"
diff --git a/shells/zsh/pkg-plist b/shells/zsh/pkg-plist
index e49ae44837dc..eb9b889309a1 100644
--- a/shells/zsh/pkg-plist
+++ b/shells/zsh/pkg-plist
@@ -1,7 +1,7 @@
bin/zsh
@exec echo "updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v %D/%F /etc/shells.bak; echo %D/%F) >/etc/shells
@unexec echo "updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v %D/%F /etc/shells.bak) >/etc/shells
-bin/zsh-3.0.5
+bin/zsh-%%ZSH_VERSION%%
@unexec install-info --delete %D/info/zsh.info %D/info/dir
info/zsh.info
@exec install-info %D/info/zsh.info %D/info/dir