aboutsummaryrefslogtreecommitdiff
path: root/games/briquolo/Makefile
blob: a0a17328c76f5510a29223766ee944bb42eacd97 (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
34
35
# New ports collection makefile for:  	briquolo
# Date created:       			18 Nov 2003
# Whom:  				Kirill Ponomarew <krion@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	briquolo
PORTVERSION=	0.4.2
CATEGORIES=	games
MASTER_SITES=	http://briquolo.free.fr/download/

MAINTAINER=	krion@FreeBSD.org
COMMENT=	Breakout clone with an OpenGL 3D representation

LIB_DEPENDS=	GUI.0:${PORTSDIR}/graphics/guilib \
		png.5:${PORTSDIR}/graphics/png

USE_SIZE=	yes
USE_BZIP2=	yes
USE_REINPLACE=	yes
USE_GMAKE=	yes
GNU_CONFIGURE=	yes
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV+=	CPPFLAGS="-I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
USE_SDL=	mixer sdl

post-patch:
	@${FIND} ${WRKSRC} -name "*.cpp" | ${XARGS} \
		${REINPLACE_CMD} -e 's|SDL/|SDL11/|g'
	@${FIND} ${WRKSRC} -name "*.h" | ${XARGS} \
		${REINPLACE_CMD} -e 's|SDL/|SDL11/|g'

.include <bsd.port.mk>