summaryrefslogtreecommitdiffstats
path: root/games/plee-the-bear/Makefile
blob: 2e7f48391c9aef3a4aad691c9065613fa015fd61 (plain)
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
36
37
# New ports collection makefile for:	plee-the-bear
# Date created:		28 Mar 2008
# Whom:			Dmitry Marakasov <amdmi3@amdmi3.ru>
#
# $FreeBSD$
#

PORTNAME=	plee-the-bear
PORTVERSION=	0.3.1
PORTREVISION=	2
CATEGORIES=	games
MASTER_SITES=	SF
DISTNAME=	${PORTNAME}-${PORTVERSION}-light

MAINTAINER=	amdmi3@FreeBSD.org
COMMENT=	2D platform jump and run game

LIB_DEPENDS=	boost_filesystem.4:${PORTSDIR}/devel/boost-libs \
		claw_application.1:${PORTSDIR}/devel/libclaw

USE_BZIP2=	yes
USE_SDL=	sdl mixer
USE_GL=		gl glu
WANT_GNOME=	yes
INSTALLS_ICONS=	yes
USE_LDCONFIG=	yes

USE_CMAKE=	yes
CMAKE_ARGS=	-DCMAKE_MODULE_PATH="${LOCALBASE}/lib/claw/"

WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}

post-patch:
	@${REINPLACE_CMD} -e 's|"stats.dat"|get_custom_game_file(&).c_str()| ' \
		${WRKSRC}/dev/bear_engine/src/core/engine/code/game.cpp

.include <bsd.port.mk>
OpenPOWER on IntegriCloud