summaryrefslogtreecommitdiffstats
path: root/shells/zsh
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1999-09-11 10:00:18 +0000
committerasami <asami@FreeBSD.org>1999-09-11 10:00:18 +0000
commit85b9a7c4cb00adca08cd16c2d900bb26858d1953 (patch)
tree6a6dc9fd07b54f3281f5f07296241b194958b4eb /shells/zsh
parent800992d8dca422a56db16ef81a72d83ce85144d0 (diff)
downloadFreeBSD-ports-85b9a7c4cb00adca08cd16c2d900bb26858d1953.zip
FreeBSD-ports-85b9a7c4cb00adca08cd16c2d900bb26858d1953.tar.gz
Fix packaging. Move all version info out of PLIST using PLIST_SUB.
Diffstat (limited to 'shells/zsh')
-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 523c33c..f3bb079 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 e49ae44..eb9b889 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
OpenPOWER on IntegriCloud