aboutsummaryrefslogtreecommitdiffstats
path: root/misc/mshell/Makefile
blob: ac401657e10ef58c997b1f4b6ed988fc12ce9564 (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
# New ports collection makefile for:    mshell
# Version required:     93/3/3
# Date created:         24 September 1994
# Whom:                 jmz
#
# $Id: Makefile,v 1.8 1996/11/11 05:49:51 obrien Exp $
#

DISTNAME=   mshell
PKGNAME=    mshell-1.0
CATEGORIES= misc
MASTER_SITES=   ftp://src.doc.ic.ac.uk/usenet/alt.sources/articles/07000-07999/
DISTFILES=  7432.Z

MAINTAINER= jmz@FreeBSD.org

NO_WRKSUBDIR=   yes
MAN1=       mshell.1

do-extract:
    @rm -rf ${WRKDIR}
    @${MKDIR} ${WRKDIR}
    zcat ${DISTDIR}/${DISTFILES} |(cd ${WRKDIR}; \
    awk '{if (/^#!/) x++} {if(x) print $$0'}| /bin/sh)

.include <bsd.port.mk>