blob: 2a2694a528bcd51242849c6c1a5ea4f595584427 (
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
|
# New ports collection makefile for: mshell
# Version required: 93/3/3
# Date created: 24 September 1994
# Whom: jmz
#
# $Id$
#
DISTNAME= mshell
PKGNAME= mshell-1.0
CATEGORIES+= utilities
MASTER_SITES= ftp://src.doc.ic.ac.uk/usenet/alt.sources/articles/07000-07999/
DISTFILES= 7432.Z
MAINTAINER= jmz@FreeBSD.org
NO_WRKSUBDIR= yes
EXTRACT_COOKIE?= ${.CURDIR}/.extract_done
extract: fetch pre-extract ${EXTRACT_COOKIE}
${EXTRACT_COOKIE}:
@echo "===> Extracting for ${DISTNAME}"
@rm -rf ${WRKDIR}
@mkdir -p ${WRKDIR}
zcat ${DISTDIR}/${DISTFILES} |(cd ${WRKDIR}; \
awk '{if (/^#!/) x++} {if(x) print $$0'}| /bin/sh)
@touch -f ${EXTRACT_COOKIE}
.include <bsd.port.mk>
|