1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00
freebsd-ports/shells/pash/Makefile
Akinori MUSHA 77f6c01ede Use ${ECHO_CMD} instead of ${ECHO} where you mean the echo command;
the ECHO macro is set to "echo" by default, but it is set to "true" if
make(1) is invoked with the -s option while ECHO_CMD is always set to
the echo command.
2002-01-29 11:58:52 +00:00

31 lines
670 B
Makefile

# New ports collection makefile for: pash
# Date created: 30 December 2000
# Whom: George Reid <greid@ukug.uk.freebsd.org>
#
# $FreeBSD$
#
PORTNAME= pash
PORTVERSION= 2.2
CATEGORIES= shells
MASTER_SITES= http://www.chez-pierre.com/pash/Archives/
DISTNAME= pash.sources
MAINTAINER= greid@ukug.uk.freebsd.org
NO_WRKSUBDIR= yes
MAKEFILE= makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pash ${PREFIX}/bin/pash
post-install:
@${ECHO} "updating /etc/shells"
@${CP} /etc/shells /etc/shells.bak
@(${GREP} -v ${PREFIX}/bin/osh /etc/shells.bak; \
${ECHO_CMD} ${PREFIX}/bin/pash) > /etc/shells
@${RM} /etc/shells.bak
.include <bsd.port.mk>