Tweak games/kreversi version 4.14.3
[dports.git] / games / solarus-quest-editor / Makefile
1 # Created by: Danilo Egea Gondolfo <danilo@FreeBSD.org>
2 # $FreeBSD$
3
4 PORTNAME=       solarus-quest-editor
5 PORTVERSION=    1.5.0
6 DISTVERSIONPREFIX=      v
7 CATEGORIES=     games
8
9 MAINTAINER=     danilo@FreeBSD.org
10 COMMENT=        GUI to create and modify quests for the Solarus engine
11
12 LICENSE=        GPLv3
13 LICENSE_FILE=   ${WRKSRC}/license_gpl.txt
14
15 LIB_DEPENDS=    libphysfs.so:devel/physfs \
16                 libmodplug.so:audio/libmodplug \
17                 liblua-5.1.so:lang/lua51 \
18                 libvorbis.so:audio/libvorbis \
19                 libogg.so:audio/libogg \
20                 libsolarus.so:games/solarus
21
22 USE_GITHUB=     yes
23 GH_ACCOUNT=     christopho
24
25 CMAKE_ARGS+=    -DSOLARUS_USE_LUAJIT=OFF
26 USE_SDL=        sdl2 ttf2 image2
27 USE_QT5=        buildtools core gui linguist qmake widgets
28 USES=           cmake compiler:c++11-lib openal
29
30 DESKTOP_ENTRIES=        "Solarus Quest Editor" "${COMMENT}" "${PORTNAME}" "${PORTNAME}"  \
31                         "Game;" false
32
33 PLIST_FILES=    bin/solarus-quest-editor \
34                 share/pixmaps/${PORTNAME}.png
35
36 do-install:
37         ${INSTALL_PROGRAM} ${WRKSRC}/solarus-quest-editor ${STAGEDIR}${PREFIX}/bin
38         ${INSTALL_DATA} ${WRKSRC}/images/logo/sqe-logo.png \
39                 ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png
40
41 .include <bsd.port.mk>