Update games/xonotic to version 0.8.2_1
[dports.git] / games / freedroidrpg / Makefile
1 # Created by: Travis Poppe <tlp@liquidx.org>
2 # $FreeBSD$
3
4 PORTNAME=       freedroidrpg
5 PORTVERSION=    0.16.1
6 PORTREVISION=   1
7 CATEGORIES=     games
8 MASTER_SITES=   ftp://ftp.osuosl.org/pub/freedroid/freedroidRPG-${PORTVERSION:R}/ \
9                 http://mirror.amdmi3.ru/distfiles/
10 DISTNAME=       freedroidRPG-${PORTVERSION}
11
12 MAINTAINER=     amdmi3@FreeBSD.org
13 COMMENT=        Modification of the classical Freedroid engine into an RPG
14
15 LICENSE=        GPLv2+
16 LICENSE_FILE=   ${WRKSRC}/COPYING
17
18 LIB_DEPENDS=    libpng.so:graphics/png
19
20 BROKEN_sparc64= does not configure
21
22 GNU_CONFIGURE=  yes
23 USES=           jpeg gmake localbase lua:52+ python
24 USE_XORG=       x11
25 USE_SDL=        sdl image gfx
26 CONFIGURE_ENV=  LUA_CFLAGS="-I${LUA_INCDIR}" LUA_LIBS="-L${LUA_LIBDIR} -llua-${LUA_VER}"
27
28 WRKSRC=         ${WRKDIR}/${PORTNAME}-${PORTVERSION}
29
30 PORTDATA=       *
31 PORTDOCS=       *
32
33 OPTIONS_DEFINE= NLS BACKTRACE OPENGL SOUND
34 OPTIONS_DEFAULT=BACKTRACE OPENGL SOUND
35 OPTIONS_SUB=    yes
36
37 BACKTRACE_DESC= Use backtrace() to generate nice bug reports
38 BACKTRACE_USES=                 execinfo
39 BACKTRACE_CONFIGURE_ENABLE=     backtrace
40 BACKTRACE_VARS=                 STRIP= # empty
41
42 OPENGL_USE=                     GL=gl
43 OPENGL_CONFIGURE_ENABLE=        opengl
44
45 SOUND_LIB_DEPENDS=              libvorbis.so:audio/libvorbis \
46                                 libogg.so:audio/libogg
47 SOUND_CONFIGURE_ENABLE=         sound
48 SOUND_USE=                      SDL=mixer
49
50 NLS_USES=                       gettext
51 NLS_CONFIGURE_ENABLE=           nls
52
53 .include <bsd.port.mk>