aboutsummaryrefslogtreecommitdiffstats
path: root/shells/mudsh/Makefile
blob: e5b7ef14f9c4ca1bffb4153d42881903a26d03ff (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
38
39
40
41
42
43
# New ports collection makefile for:   mudsh
# Date created:        28 February 2001
# Whom:                George Reid <greid@ukug.uk.freebsd.org>
#
# $FreeBSD$
#

PORTNAME=   mudsh
PORTVERSION=    20010311
CATEGORIES= shells
MASTER_SITES=   http://www.xirium.com/tech/mud-shell/download/
DISTNAME=   mudsh
EXTRACT_SUFX=
EXTRACT_ONLY=

MAINTAINER= ports@FreeBSD.org
COMMENT=    An "intelligent" game-like shell

DEPRECATED= Project disappeared from the internet
EXPIRATION_DATE=2006-12-10

NO_WRKSUBDIR=   yes

NO_BUILD=   yes

post-extract:
    @${CP} ${DISTDIR}/${DISTNAME} ${WRKSRC}

do-patch:
    @(${SED} -e 's,/usr/local/bin/perl,${PERL},1' ${WRKSRC}/${DISTNAME} \
        > ${WRKDIR}/foo && ${MV} ${WRKDIR}/foo ${WRKSRC}/${DISTNAME})

do-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin

post-install:
    @${ECHO} "updating /etc/shells"
    @${CP} /etc/shells /etc/shells.bak
    @(${GREP} -v ${PREFIX}/bin/mudsh /etc/shells.bak; \
     ${ECHO_CMD} ${PREFIX}/bin/mudsh) > /etc/shells
    @${RM} /etc/shells.bak

.include <bsd.port.mk>