freebsd-ports/shells/esh/Makefile
Foxfair Hu c09e09e877 PR: 49067
Submitted by:	Yonatan@xpert.com <Yonatan@xpert.com>
Switch MASTER_SITE to make this port fetchable.
2003-03-23 15:30:03 +00:00

35 lines
992 B
Makefile

# Ports collection Makefile for: esh
# Date created: 05/20/1999
# Whom: nectar@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= esh
PORTVERSION= 0.8.5
CATEGORIES= shells
MASTER_SITES= http://slon.ttk.ru/esh/ \
http://www.ukc.mirror.ac.uk/sites/ftp.freebsd.org/pub/FreeBSD/ports/distfiles/ \
http://gd.tuwien.ac.at/opsys/linux/gentoo/distfiles/ \
http://people.FreeBSD.org/~foxfair/distfiles/
MAINTAINER= ports@FreeBSD.org
COMMENT= The "easy shell", a small shell with Lisp-like syntax
WRKSRC= ${WRKDIR}/esh
pre-build:
@(cd ${WRKSRC} && ${MAKE} clean)
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_CMD} ${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>