mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-15 23:50:44 +00:00
ac3066bf75
multiple catagories - I'll expect the various MAINTAINERS to make further adjustments (and add any KEYWORDS lines) themselves.
20 lines
498 B
Makefile
20 lines
498 B
Makefile
DISTNAME= mshell
|
|
DISTFILES= 7432.Z
|
|
MASTER_SITES= ftp://src.doc.ic.ac.uk/usenet/alt.sources/articles/07000-07999/
|
|
CATEGORIES+= utilities
|
|
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>
|