aboutsummaryrefslogtreecommitdiffstats
path: root/shells/zsh
diff options
context:
space:
mode:
authormax <max@FreeBSD.org>1997-06-16 19:51:14 +0800
committermax <max@FreeBSD.org>1997-06-16 19:51:14 +0800
commit82afc9a5be86f2731e8f29279f2fb767ded6d686 (patch)
treed4825977b07f422398b13ac0b210d5f742487f86 /shells/zsh
parent25ab19110ca5aa081c1000a706182465ba37efb8 (diff)
downloadfreebsd-ports-gnome-82afc9a5be86f2731e8f29279f2fb767ded6d686.tar.gz
freebsd-ports-gnome-82afc9a5be86f2731e8f29279f2fb767ded6d686.tar.zst
freebsd-ports-gnome-82afc9a5be86f2731e8f29279f2fb767ded6d686.zip
Use install-info to edit the dir file.
Diffstat (limited to 'shells/zsh')
-rw-r--r--shells/zsh/Makefile8
-rw-r--r--shells/zsh/pkg-plist10
2 files changed, 10 insertions, 8 deletions
diff --git a/shells/zsh/Makefile b/shells/zsh/Makefile
index 80d0c4a66aa4..279edf9e1aee 100644
--- a/shells/zsh/Makefile
+++ b/shells/zsh/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/pkg-plist b/shells/zsh/pkg-plist
index d8a42e7f69df..0553b8802603 100644
--- a/shells/zsh/pkg-plist
+++ b/shells/zsh/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