summaryrefslogtreecommitdiff
path: root/games/solarus/Makefile
blob: 8c5dcaeef21110593273ddb2c24bf326010c475c (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
# $FreeBSD$

PORTNAME=	solarus
PORTVERSION=	1.6.0
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 \
		libluajit-5.1.so:lang/luajit \
		libvorbis.so:audio/libvorbis \
		libogg.so:audio/libogg

USES=		cmake:noninja compiler:c++11-lib gl openal qmake qt:5

MAKE_ARGS+=	DESTDIR=${STAGEDIR}
USE_QT=		buildtools_build core gui linguisttools_build widgets
USE_SDL=	sdl2 ttf2 image2
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_GL=		gl glu
USE_LDCONFIG=	yes

.include <bsd.port.mk>