freebsd-ports/shells/pash/Makefile

31 lines
666 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} ${PREFIX}/bin/pash) > /etc/shells
@${RM} /etc/shells.bak
.include <bsd.port.mk>