aboutsummaryrefslogtreecommitdiffstats
path: root/shells/pash/Makefile
blob: f7603f9428a3fa577d33562b24526f1ce4f3c6bc (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
31
32
33
34
35
36
37
# 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= ports@FreeBSD.org
COMMENT=    A full-screen shell (commander GUI) for *nix.

NO_WRKSUBDIR=   yes

MAKEFILE=   makefile

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 800000
IGNORE=     Core dumps on execution
.endif

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.post.mk>