pkgsrc/sysutils/crashme/Makefile
agc 171e025b4a Rewrite the extraction commands to be more intuitive.
In the vast majority of cases, nothing has changed (i.e. .tgz, .tar.gz,
and .tar.bz2).

EXTRACT_USING_PAX can be set as before.

For custom extractions, instead of using EXTRACT_BEFORE_ARGS,
EXTRACT_AFTER_ARGS and EXTRACT_CMD, simply set EXTRACT_CMD to be the
command needed to decompress and extract the lements from the archive.
${DOWNLOADED_DISTFILE} can be used to reference the distfile(s).
e.g. for compressed shars, where previously there was:

EXTRACT_CMD=           ${GZCAT}
EXTRACT_BEFORE_ARGS=
EXTRACT_AFTER_ARGS=    |sh

now use:

EXTRACT_CMD=           ${GZCAT} ${DOWNLOADED_DISTFILE} | ${SH}
1999-04-01 14:07:52 +00:00

16 lines
402 B
Makefile

# $NetBSD: Makefile,v 1.7 1999/04/01 14:07:56 agc Exp $
#
DISTNAME= crashme-2.4
CATEGORIES= sysutils
MASTER_SITES= http://ochimizu-www.jaist.ac.jp:8000/linux/vger/crashme/
EXTRACT_SUFX= -shar
MAINTAINER= agc@netbsd.org
HOMEPAGE= http://people.delphi.com/gjc/crashme.html
NO_WRKSUBDIR= yes
EXTRACT_CMD= ${SH} ${DOWNLOADED_DISTFILE}
MAKEFILE= makefile
.include "../../mk/bsd.pkg.mk"