aboutsummaryrefslogtreecommitdiffstats
path: root/games/abuse/Makefile
blob: 99b941df74393878d68d884619e2829d06ec6199 (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
32
33
34
# New ports collection makefile for:    abuse
# Date created:             11 May 2002
# Whom:                 des
#
# $FreeBSD$
#

PORTNAME=   abuse
PORTVERSION=    2.0
PORTREVISION=   3
CATEGORIES= games
MASTER_SITES=   http://www.labyrinth.net.au/~trandor/abuse/files/
DISTFILES=  abuse_datafiles.tar.gz
EXTRACT_ONLY=   # empty

MAINTAINER= ports@FreeBSD.org
COMMENT=    The classic 2D action game Abuse

RUN_DEPENDS=    abuse.sdl:${PORTSDIR}/games/abuse_sdl

NO_BUILD=   YES

do-configure:
    ${SED} -e 's,%%DATADIR%%,${DATADIR},' \
        ${FILESDIR}/abuse.sh >${WRKDIR}/abuse

do-install:
    ${INSTALL_SCRIPT} ${WRKDIR}/abuse ${PREFIX}/bin
    ${MKDIR} ${DATADIR}
.for DISTFILE in ${DISTFILES}
    ${TAR} zxf ${DISTDIR}/${DISTFILE} -C ${DATADIR}
.endfor

.include <bsd.port.mk>