diff options
author | Masafumi Max NAKANE <max@FreeBSD.org> | 1997-06-16 11:51:14 +0000 |
---|---|---|
committer | Masafumi Max NAKANE <max@FreeBSD.org> | 1997-06-16 11:51:14 +0000 |
commit | e61e2fecb8f2c9da00798a3048e9164a8c561006 (patch) | |
tree | 690302f6449ba66e2465b2625b1fcc3ad0981458 /shells/zsh-devel | |
parent | a89d03ad2a9b162eb0a45225b5818d3b7a108e5a (diff) | |
download | ports-e61e2fecb8f2c9da00798a3048e9164a8c561006.tar.gz ports-e61e2fecb8f2c9da00798a3048e9164a8c561006.zip |
Use install-info to edit the dir file.
Notes
Notes:
svn path=/head/; revision=6967
Diffstat (limited to 'shells/zsh-devel')
-rw-r--r-- | shells/zsh-devel/Makefile | 8 | ||||
-rw-r--r-- | shells/zsh-devel/pkg-plist | 10 |
2 files changed, 10 insertions, 8 deletions
diff --git a/shells/zsh-devel/Makefile b/shells/zsh-devel/Makefile index 80d0c4a66aa4..279edf9e1aee 100644 --- a/shells/zsh-devel/Makefile +++ b/shells/zsh-devel/Makefile @@ -3,7 +3,7 @@ # Date created: 11 Feb. 1995 # Whom: torstenb # -# $Id: Makefile,v 1.22 1996/11/18 11:40:00 asami Exp $ +# $Id: Makefile,v 1.23 1996/12/19 11:31:20 torstenb Exp $ # DISTNAME= zsh-3.0.2 @@ -27,4 +27,10 @@ MAN1= zsh.1 zshbuiltins.1 zshcompctl.1 zshexpn.1 zshmisc.1 \ # If you want to build a static binary, uncomment the following line #LDFLAGS+=-static +post-install: + @if [ ! -f ${PREFIX}/info/dir ]; then \ + ${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \ + fi + @install-info ${PREFIX}/info/zsh.info ${PREFIX}/info/dir + .include <bsd.port.mk> diff --git a/shells/zsh-devel/pkg-plist b/shells/zsh-devel/pkg-plist index d8a42e7f69df..0553b8802603 100644 --- a/shells/zsh-devel/pkg-plist +++ b/shells/zsh-devel/pkg-plist @@ -2,14 +2,10 @@ 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.2 +@unexec install-info --delete %D/info/zsh.info %D/info/dir info/zsh.info -info/zsh.info-1 -info/zsh.info-2 -info/zsh.info-3 -info/zsh.info-4 -info/zsh.info-5 -info/zsh.info-6 -info/zsh.info-7 +@exec [ -f %D/info/dir ] || sed -ne '1,/Menu:/p' /usr/share/info/dir > %D/info/dir +@exec install-info %D/info/zsh.info %D/info/dir man/man1/zsh.1.gz man/man1/zshall.1.gz man/man1/zshbuiltins.1.gz |