aboutsummaryrefslogtreecommitdiffstats
path: root/games/madbomber/Makefile
blob: b38b9a6a768f1bde5b4236a440fb14c07e21c269 (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
# 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=   ftp://ftp.sonic.net/pub/users/nbs/unix/x/madbomber/

MAINTAINER= sobomax@FreeBSD.org

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>