diff options
author | Satoshi Asami <asami@FreeBSD.org> | 1999-09-11 10:00:18 +0000 |
---|---|---|
committer | Satoshi Asami <asami@FreeBSD.org> | 1999-09-11 10:00:18 +0000 |
commit | c777255c4138376a66803f5fa4544f8e26da7f39 (patch) | |
tree | 01a707f123409ebc8cfdc78bdb06392a08de973f /shells/zsh | |
parent | Fix check. (diff) |
Fix packaging. Move all version info out of PLIST using PLIST_SUB.
Notes
Notes:
svn path=/head/; revision=21656
Diffstat (limited to 'shells/zsh')
-rw-r--r-- | shells/zsh/Makefile | 1 | ||||
-rw-r--r-- | shells/zsh/pkg-plist | 2 |
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 |