blob: f751738d9597263d1fd4ddf70a05f9b921daeca8 (
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
32
33
34
35
36
37
38
39
|
# Created by: Timothy Beyer <beyert@cs.ucr.edu>
# $FreeBSD$
PORTNAME= gemrb
PORTVERSION= 0.8.4
PORTREVISION= 2
CATEGORIES= games emulators
MASTER_SITES= SF/${PORTNAME}/GemRB%20Sources/GemRB%20${PORTVERSION:.1=}%20Sources
MAINTAINER= lifanov@FreeBSD.org
COMMENT= GemRB (Game engine made with preRendered Background)
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libpng.so:graphics/png \
libvorbis.so:audio/libvorbis \
libfreetype.so:print/freetype2 \
libvlc.so:multimedia/vlc
OPTIONS_DEFINE= DOCS OPENGL
OPTIONS_SUB= yes
OPENGL_USE= gl=gl,glu,glew
OPENGL_CMAKE_ON= -DUSE_OPENGL=1
USES= cmake openal:al,alut python shebangfix iconv localbase
SHEBANG_FILES= admin/extend2da.py
USE_SDL= sdl2 mixer2 ttf2
USE_LDCONFIG= yes
INSTALLS_ICONS= yes
CMAKE_C_FLAGS= ${CFLAGS}
CMAKE_ARGS= -DDOC_DIR="${DOCSDIR}" \
-DMAN_DIR="${MAN6PREFIX}/man/man6/" \
-DDISABLE_WERROR=1 \
-DINSOURCEBUILD=1 \
-DUSE_SDL2=1
.include <bsd.port.mk>
|