summaryrefslogtreecommitdiff
path: root/games/madbomber/Makefile
blob: ad9a5d092656717577fb310df8b66fd3c9c9f009 (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
# New ports collection makefile for:	madbomber
# Date created:				28 September 2000
# Whom:					Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	madbomber
PORTVERSION=	0.2.4
CATEGORIES=	games
MASTER_SITES=	http://www.nbswebfx.com/downloads/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A clone of Activision's classic Atari 2600 console game "Kaboom!"

LIB_DEPENDS=	SDL_image.10:${PORTSDIR}/graphics/sdl_image \
		SDL_mixer.2:${PORTSDIR}/audio/sdl_mixer

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

USE_GMAKE=	yes
MAKE_ENV=	SDL_CONFIG="${SDL_CONFIG}"

do-install:
	@${INSTALL_PROGRAM} ${WRKSRC}/madbomber ${PREFIX}/bin
	@${MKDIR} ${PREFIX}/share/madbomber
	@cd ${WRKSRC}/data; tar cf - . | \
		(cd ${PREFIX}/share/madbomber; ${TAR} --unlink -xf - )

.include <bsd.port.mk>