summaryrefslogtreecommitdiffstats
path: root/games/hedgewars/Makefile
blob: 64a95e017929360a599edca053cff2df9c0b5876 (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
# New ports collection makefile for:	hedgewars
# Date created:		24 May 2008
# Whom:			Dmitry Marakasov <amdmi3@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	hedgewars
PORTVERSION=	0.9.11
PORTREVISION=	1
CATEGORIES=	games
MASTER_SITES=	http://hedgewars.org/download/ \
		http://mirror.amdmi3.ru/distfiles/
DISTNAME=	${PORTNAME}-src-${PORTVERSION}

MAINTAINER=	amdmi3@FreeBSD.org
COMMENT=	Free Worms-like turn based strategy game

ONLY_FOR_ARCHS=	i386
ONLY_FOR_ARCHS_REASON=	depends on fpc which is only available for i386

USE_BZIP2=	yes
USE_CMAKE=	yes
USE_SDL=	sdl mixer image ttf net
USE_FPC=	opengl
USE_QT_VER=	4
QT_COMPONENTS=	corelib gui moc_build network qmake_build rcc_build svg xml
MAKE_JOBS_SAFE=	yes

post-patch:
	${ECHO} "include_directories(${LOCALBASE}/include)" >> \
		${WRKSRC}/QTfrontend/CMakeLists.txt

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