aboutsummaryrefslogtreecommitdiff
path: root/shells/esh
diff options
context:
space:
mode:
authorMichael Haro <mharo@FreeBSD.org>1999-06-05 22:32:11 +0000
committerMichael Haro <mharo@FreeBSD.org>1999-06-05 22:32:11 +0000
commit5ce8e8e5c77a92c16e627672eab6ebca50ad6f85 (patch)
treed22580c3f5bea1154b95655a82046161cfa9fd35 /shells/esh
parentdefb095decee8e3dde8b4102faa6e782be7704c2 (diff)
downloadports-5ce8e8e5c77a92c16e627672eab6ebca50ad6f85.tar.gz
ports-5ce8e8e5c77a92c16e627672eab6ebca50ad6f85.zip
Remove the test to create ${PREFIX}/share/info/dir as it is now
in bsd.port.mk and this helps to unify the check and install.
Notes
Notes: svn path=/head/; revision=19223
Diffstat (limited to 'shells/esh')
-rw-r--r--shells/esh/Makefile6
-rw-r--r--shells/esh/pkg-plist1
2 files changed, 1 insertions, 6 deletions
diff --git a/shells/esh/Makefile b/shells/esh/Makefile
index 7340a1033db4..1adc6fd9ffd5 100644
--- a/shells/esh/Makefile
+++ b/shells/esh/Makefile
@@ -3,7 +3,7 @@
# Date created: 05/20/1999
# Whom: nectar@FreeBSD.ORG
#
-# $Id$
+# $Id: Makefile,v 1.1.1.1 1999/05/28 21:01:50 nectar Exp $
#
DISTNAME= esh-0.8
@@ -23,10 +23,6 @@ do-install:
${ECHO} ${PREFIX}/bin/esh) > /etc/shells
@${RM} /etc/shells.bak
.if !defined(NOPORTDOCS)
- if [ -f ${PREFIX}/info/dir ]; then \
- ${SED} -ne '1,/Menu:/p' /usr/share/info/dir > \
- ${PREFIX}/info/dir; \
- fi
${INSTALL_DATA} ${WRKSRC}/doc/esh.info ${PREFIX}/info/esh.info
install-info ${PREFIX}/info/esh.info ${PREFIX}/info/dir
.endif
diff --git a/shells/esh/pkg-plist b/shells/esh/pkg-plist
index d325c90e3646..85dea259589a 100644
--- a/shells/esh/pkg-plist
+++ b/shells/esh/pkg-plist
@@ -3,5 +3,4 @@ bin/esh
@unexec echo "updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v %D/%F /etc/shells.bak) >/etc/shells
@unexec install-info --delete %D/info/esh.info %D/info/dir
info/esh.info
-@exec test -f %D/info/dir || sed -ne '1,/Menu:/p' /usr/share/info/dir > %D/info/dir
@exec install-info %D/info/esh.info %D/info/dir