Tweak games/kreversi version 4.14.3
[dports.git] / games / gemrb / Makefile
1 # Created by: Timothy Beyer <beyert@cs.ucr.edu>
2 # $FreeBSD$
3
4 PORTNAME=       gemrb
5 PORTVERSION=    0.8.4
6 CATEGORIES=     games emulators
7 MASTER_SITES=   SF/${PORTNAME}/GemRB%20Sources/GemRB%20${PORTVERSION:.1=}%20Sources
8
9 MAINTAINER=     lifanov@mail.lifanov.com
10 COMMENT=        GemRB (Game engine made with preRendered Background)
11
12 LICENSE=        GPLv2+
13 LICENSE_FILE=   ${WRKSRC}/COPYING
14
15 LIB_DEPENDS=    libpng.so:graphics/png \
16                 libvorbis.so:audio/libvorbis \
17                 libfreetype.so:print/freetype2 \
18                 libvlc.so:multimedia/vlc
19
20 OPTIONS_DEFINE= DOCS OPENGL
21 OPTIONS_SUB=    yes
22
23 OPENGL_USE=     gl=gl,glu,glew
24 OPENGL_CMAKE_ON=        -DUSE_OPENGL=1
25
26 USES=           cmake openal:al,alut python shebangfix iconv localbase
27 SHEBANG_FILES=  admin/extend2da.py
28 USE_SDL=        sdl2 mixer2 ttf2
29 USE_LDCONFIG=   yes
30 INSTALLS_ICONS= yes
31 CMAKE_C_FLAGS=  ${CFLAGS}
32 CMAKE_ARGS=     -DDOC_DIR="${DOCSDIR}" \
33                 -DMAN_DIR="${MAN6PREFIX}/man/man6/" \
34                 -DDISABLE_WERROR=1 \
35                 -DINSOURCEBUILD=1 \
36                 -DUSE_SDL2=1
37
38 .include <bsd.port.mk>