aboutsummaryrefslogtreecommitdiffstats
path: root/games/madbomber/Makefile
blob: bf5566ed1eb967be1d8b6a173a045ff6671d723f (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:             13 May 1998
# Whom:                 Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   madbomber
PORTVERSION=    0.1.8
CATEGORIES= games
MASTER_SITES=   ftp://ftp.sonic.net/pub/users/nbs/unix/x/madbomber/

MAINTAINER= sobomax@FreeBSD.org

LIB_DEPENDS=    SDL_image.9:${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>