aboutsummaryrefslogtreecommitdiffstats
path: root/games/bomberinstinct/Makefile
blob: 7315e5e5fbd7e9b40e3a9ac60d1774906f001561 (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
# Created by: Maxim Sobolev <sobomax@FreeBSD.org>
# $FreeBSD$

PORTNAME=   bomberinstinct
PORTVERSION=    0.8.9
PORTREVISION=   9
CATEGORIES= games
MASTER_SITES=   SF/${PORTNAME}/Bomber%20Instinct/BomberInstinct-${PORTVERSION}
DISTNAME=   BomberInstinct-${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Bomberman-like multiplayer game

WRKSRC=     ${WRKDIR}/${DISTNAME}

USES=       gettext gmake
USE_SDL=    mixer sdl
GNU_CONFIGURE=  yes

CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib -lintl -pthread

post-patch:
    @${FIND} ${WRKSRC} -name "*.[ch]" | ${XARGS} ${REINPLACE_CMD} -e \
        's|<SDL/|<|g'

.include <bsd.port.mk>