|
Lines 2-27
Link Here
|
| 2 |
# $FreeBSD: head/games/freedroidrpg/Makefile 367888 2014-09-10 20:50:31Z gerald $ |
2 |
# $FreeBSD: head/games/freedroidrpg/Makefile 367888 2014-09-10 20:50:31Z gerald $ |
| 3 |
|
3 |
|
| 4 |
PORTNAME= freedroidrpg |
4 |
PORTNAME= freedroidrpg |
| 5 |
PORTVERSION= 0.15 |
5 |
PORTVERSION= 0.15.1 |
| 6 |
PORTREVISION= 6 |
|
|
| 7 |
CATEGORIES= games |
6 |
CATEGORIES= games |
| 8 |
MASTER_SITES= SF/freedroid/freedroidRPG/freedroidRPG-${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\\1/}/ |
7 |
MASTER_SITES= SF/freedroid/${SF_NAME}/${SF_NAME}-${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\\1/}/ |
|
|
8 |
DISTNAME= ${SF_NAME}-${PORTVERSION} |
| 9 |
|
9 |
|
| 10 |
MAINTAINER= amdmi3@FreeBSD.org |
10 |
MAINTAINER= amdmi3@FreeBSD.org |
| 11 |
COMMENT= Modification of the classical Freedroid engine into an RPG |
11 |
COMMENT= Modification of the classical Freedroid engine into an RPG |
| 12 |
|
12 |
|
|
|
13 |
LICENSE= GPLv2 |
| 14 |
LICENSE_FILE= ${WRKSRC}/COPYING |
| 15 |
|
| 13 |
GNU_CONFIGURE= yes |
16 |
GNU_CONFIGURE= yes |
| 14 |
USES= gmake lua:51 |
17 |
USES= gmake lua:51 |
| 15 |
USE_SDL= sdl image mixer gfx |
18 |
USE_SDL= sdl image mixer gfx |
| 16 |
CONFIGURE_ENV= LUA_CFLAGS="-I${LUA_INCDIR}" LUA_LIBS="-L${LUA_LIBDIR} -llua-${LUA_VER}" |
19 |
CONFIGURE_ENV= LUA_CFLAGS="-I${LUA_INCDIR}" LUA_LIBS="-L${LUA_LIBDIR} -llua-${LUA_VER}" |
| 17 |
USE_GCC= any # doesn't build with clang |
20 |
# doesn't build with clang |
|
|
21 |
USE_GCC= any |
| 22 |
|
| 23 |
SF_NAME= freedroidRPG |
| 24 |
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} |
| 18 |
|
25 |
|
| 19 |
PORTDATA= * |
26 |
PORTDATA= * |
| 20 |
|
27 |
|
|
|
28 |
DESKTOP_ENTRIES= "FreedroidRPG" "${COMMENT}" \ |
| 29 |
"${PORTNAME}" "${SF_NAME}" \ |
| 30 |
"Game;RolePlaying;" false |
| 31 |
|
| 21 |
OPTIONS_DEFINE= BACKTRACE OPENGL VORBIS |
32 |
OPTIONS_DEFINE= BACKTRACE OPENGL VORBIS |
| 22 |
BACKTRACE_DESC= Use backtrace() to generate nice bug reports |
33 |
BACKTRACE_DESC= Use backtrace() to generate nice bug reports |
| 23 |
|
34 |
|
| 24 |
OPTIONS_DEFAULT=BACKTRACE OPENGL VORBIS |
35 |
OPTIONS_DEFAULT= BACKTRACE OPENGL VORBIS |
| 25 |
|
36 |
|
| 26 |
.include <bsd.port.options.mk> |
37 |
.include <bsd.port.options.mk> |
| 27 |
|
38 |
|
|
Lines 34-40
Link Here
|
| 34 |
.endif |
45 |
.endif |
| 35 |
|
46 |
|
| 36 |
.if ${PORT_OPTIONS:MOPENGL} |
47 |
.if ${PORT_OPTIONS:MOPENGL} |
| 37 |
USE_GL= yes |
48 |
USE_GL= gl |
| 38 |
CONFIGURE_ARGS+=--enable-opengl |
49 |
CONFIGURE_ARGS+=--enable-opengl |
| 39 |
.else |
50 |
.else |
| 40 |
CONFIGURE_ARGS+=--disable-opengl |
51 |
CONFIGURE_ARGS+=--disable-opengl |
|
Lines 52-55
Link Here
|
| 52 |
BROKEN= Does not configure on sparc64 |
63 |
BROKEN= Does not configure on sparc64 |
| 53 |
.endif |
64 |
.endif |
| 54 |
|
65 |
|
|
|
66 |
pre-install: |
| 67 |
${INSTALL_DATA} ${WRKSRC}/win32/w32icon2_64x64.png ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png |
| 68 |
|
| 55 |
.include <bsd.port.mk> |
69 |
.include <bsd.port.mk> |