freebsd-ports/games/solarus/Makefile
Tobias C. Berner b1a1d38bf9 Replace bsd.qt.mk by Uses/qt.mk and Uses/qt-dist.mk
From now on, ports that depend on Qt4 will have to set
	USES=		qt:4
	USE_QT=		foo bar
ports depending on Qt5 will use
	USES=		qt:5
	USE_QT=		foo bar

PR:		229225
Exp-run by:	antoine
Reviewed by:	mat
Approved by:	portmgr (antoine)
Differential Revision:	→https://reviews.freebsd.org/D15540
2018-06-28 17:39:53 +00:00

30 lines
772 B
Makefile

# $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_QT= 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 qt:5
USE_LDCONFIG= yes
.include <bsd.port.mk>