summaryrefslogtreecommitdiffstats
path: root/games/solarus/Makefile
blob: 8847976b0745080cbd7af326335af60715d7d235 (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
# $FreeBSD$

PORTNAME=	solarus
PORTVERSION=	1.5.3
PORTREVISION=	1
CATEGORIES=	games
MASTER_SITES=	http://www.solarus-games.org/downloads/solarus/
DISTNAME=	solarus-${PORTVERSION}-src

MAINTAINER=	danilo@FreeBSD.org
COMMENT=	Zelda-like 2D game engine

LICENSE=	GPLv3
LICENSE_FILE=	${WRKSRC}/license.txt

LIB_DEPENDS=	libphysfs.so:devel/physfs \
		libmodplug.so:audio/libmodplug \
		liblua-5.1.so:lang/lua51 \
		libvorbis.so:audio/libvorbis \
		libogg.so:audio/libogg

CMAKE_ARGS+=	-DSOLARUS_USE_LUAJIT=OFF
MAKE_ARGS+=	DESTDIR=${STAGEDIR}
USE_QT5=	buildtools_build core gui linguisttools_build widgets
USE_SDL=	sdl2 ttf2 image2
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
USES=		cmake:noninja qmake compiler:c++11-lib openal
USE_LDCONFIG=	yes

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