summaryrefslogtreecommitdiff
path: root/games/freedroidrpg/Makefile
blob: 0419b5fe50eb94f8c8a60876c50b50d099695bab (plain) (blame)
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# New ports collection makefile for:	freedroidrpg
# Date created:			18 Jul 2005
# Whom:				Travis Poppe <tlp@liquidx.org>
#
# $FreeBSD$
#

PORTNAME=	freedroidrpg
PORTVERSION=	0.12.1
PORTREVISION=	1
CATEGORIES=	games
MASTER_SITES=	SF/freedroid

MAINTAINER=	amdmi3@FreeBSD.org
COMMENT=	Modification of the classical Freedroid engine into an RPG

USE_BZIP2=	yes
USE_SDL=	sdl image mixer
WANT_GNOME=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--program-transform-name=
MAKE_JOBS_SAFE=	yes

MAN6=		freedroidRPG.6

OPTIONS=	BACKTRACE "Use backtrace() to generate nice bug reports" on \
		OPENGL "Enable the OpenGL support (highly recommended!)" on \
		VORBIS "Enable vorbis support (music)" on

.include <bsd.port.pre.mk>

.if !defined(WITHOUT_BACKTRACE)
LIB_DEPENDS+=	execinfo.1:${PORTSDIR}/devel/libexecinfo
CONFIGURE_ARGS+=--enable-backtrace
STRIP=		#
.else
CONFIGURE_ARGS+=--disable-backtrace
.endif

.if !defined(WITHOUT_OPENGL)
USE_GL=		yes
CONFIGURE_ARGS+=--enable-opengl
.else
CONFIGURE_ARGS+=--disable-opengl
.endif

.if !defined(WITHOUT_VORBIS)
LIB_DEPENDS+=	vorbis.4:${PORTSDIR}/audio/libvorbis \
		ogg.6:${PORTSDIR}/audio/libogg
CONFIGURE_ARGS+=--enable-vorbis
.else
CONFIGURE_ARGS+=--disable-vorbis
.endif

.include <bsd.port.post.mk>