aboutsummaryrefslogtreecommitdiffstats
path: root/shells/esh/Makefile
blob: 9c450c36199bb744f86c3f83832c1c19221f57cf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Ports collection Makefile for:    esh
# Version required:         0.8
# Date created:             05/20/1999
# Whom:                 nectar@FreeBSD.org
#
# $FreeBSD$
#

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>