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

PORTNAME=	bomberinstinct
PORTVERSION=	0.8.9
PORTREVISION=	3
CATEGORIES=	games
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}
DISTNAME=	BomberInstinct-${PORTVERSION}

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

WRKSRC=		${WRKDIR}/${DISTNAME}

USE_SDL=	mixer sdl
USE_GETTEXT=	yes
USE_GMAKE=	yes
GNU_CONFIGURE=	yes
USE_PERL5_BUILD=yes
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
		LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS} -lintl"

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

.include <bsd.port.mk>