freebsd-ports/games/xasteroids/Makefile
Satoshi Asami 5114e2637e Adjust port Makefiles to new EXTRACT_* variable defaults. See log of
bsd.port.mk rev. 1.304 for details on the change.

The fix here is one of the following.

(1) Define USE_BZIP2 instead of BUILD_DEPENDS on bzip2 and redefining
    EXTRACT_* commands.

(2) Change ${EXTRACT_CMD} to ${TAR} when the command is obviously
    calling the "tar" command (i.e., arguments like "-xzf" are spelled
    out).

(3) If ${EXTRACT_CMD} is called directly with ${EXTRACT_BEFORE_ARGS},
    add ${EXTRACT_AFTER_ARGS} to the command line as well.

(4) If any of EXTRACT_CMD, EXTRACT_BEFORE_ARGS or EXTRACT_AFTER_ARGS
    is set, define the other two too.
1999-02-03 11:12:01 +00:00

26 lines
599 B
Makefile

# New ports collection makefile for: xasteroids
# Version required: 5
# Date created: 3 Jan 1995
# Whom: swallace
#
# $Id: Makefile,v 1.10 1998/10/03 13:39:44 jseger Exp $
#
DISTNAME= xasteroids
PKGNAME= xasteroids-5.0
CATEGORIES= games
MASTER_SITES= ftp://ftp.cdrom.com/pub/X11/R5contrib/ \
ftp://ftp.belgium.eu.net/pub/X11/R5contrib/
EXTRACT_SUFX= .sh.Z
MAINTAINER= swallace@FreeBSD.org
USE_IMAKE= yes
NO_WRKSUBDIR= yes
EXTRACT_CMD= ( cd ${WRKDIR}; zcat | sh -s )
EXTRACT_BEFORE_ARGS= <
EXTRACT_AFTER_ARGS= # empty
MAN6= xasteroids.6
.include <bsd.port.mk>