summaryrefslogtreecommitdiff
path: root/shells/pash/Makefile
blob: 2945497e9be0ced1b92f651374dc08547d6b8d13 (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
# 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>