freebsd-ports/shells/esh/Makefile
Michael Haro 5ce8e8e5c7 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.
1999-06-05 22:32:11 +00:00

31 lines
829 B
Makefile

# Ports collection Makefile for: esh
# Version required: 0.8
# Date created: 05/20/1999
# Whom: nectar@FreeBSD.ORG
#
# $Id: Makefile,v 1.1.1.1 1999/05/28 21:01:50 nectar Exp $
#
DISTNAME= esh-0.8
CATEGORIES= shells
MASTER_SITES= http://esh.netpedia.net/ \
http://www.nectar.cc/distfiles/
MAINTAINER= nectar@FreeBSD.ORG
WRKSRC= ${WRKDIR}/esh
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/esh ${PREFIX}/bin/esh
@${ECHO} "updating /etc/shells"
@${CP} /etc/shells /etc/shells.bak
@(${GREP} -v ${PREFIX}/bin/esh /etc/shells.bak; \
${ECHO} ${PREFIX}/bin/esh) > /etc/shells
@${RM} /etc/shells.bak
.if !defined(NOPORTDOCS)
${INSTALL_DATA} ${WRKSRC}/doc/esh.info ${PREFIX}/info/esh.info
install-info ${PREFIX}/info/esh.info ${PREFIX}/info/dir
.endif
.include <bsd.port.mk>