summaryrefslogtreecommitdiff
path: root/games/amphetamine/Makefile
blob: 8409c373c3600df3e6e000dbe00f97cf101c1f54 (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:	amphetamine
# Date created:				6 March 2000
# Whom:					Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	amphetamine
PORTVERSION=	0.8.10
CATEGORIES=	games
MASTER_SITES=	http://www.dataway.ch/~lukasl/amph/files/
DISTFILES=	${DISTNAME}${EXTRACT_SUFX} \
		${PORTNAME}-data-${DATAVERSION}${EXTRACT_SUFX}

MAINTAINER=	sobomax@FreeBSD.org
COMMENT=	A 2D - Jump'n'run shooter

LIB_DEPENDS=  	SDL-1.1.5:${PORTSDIR}/devel/sdl12

DATAVERSION=	0.8.6

SDL_CONFIG?=	${LOCALBASE}/bin/sdl11-config

USE_X_PREFIX=	yes
USE_XPM=	yes
USE_BZIP2=	yes
USE_GMAKE=	yes
MAKE_ENV=	SDL_CONFIG="${SDL_CONFIG}"

post-install:
	@(cd ${WRKDIR}/amph && ${TAR} -c -f - * ) \
		| (cd ${PREFIX}/share/amph && ${TAR} --unlink -x -f -)

.include <bsd.port.mk>