2005-07-19 18:13:27 +02:00
|
|
|
# New ports collection makefile for: freedroidrpg
|
|
|
|
# Date created: 18 Jul 2005
|
|
|
|
# Whom: Travis Poppe <tlp@liquidx.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= freedroidrpg
|
2011-03-06 18:41:07 +01:00
|
|
|
PORTVERSION= 0.14.1
|
2005-07-19 18:13:27 +02:00
|
|
|
CATEGORIES= games
|
2011-03-06 18:41:07 +01:00
|
|
|
MASTER_SITES= SF/freedroid/freedroidRPG/freedroidRPG-${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\\1/}/
|
2005-07-19 18:13:27 +02:00
|
|
|
|
2009-02-28 04:29:09 +01:00
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
2005-07-19 18:13:27 +02:00
|
|
|
COMMENT= Modification of the classical Freedroid engine into an RPG
|
|
|
|
|
2009-04-10 01:53:51 +02:00
|
|
|
USE_SDL= sdl image mixer
|
2005-07-30 17:45:56 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2009-04-10 01:53:51 +02:00
|
|
|
MAKE_JOBS_SAFE= yes
|
2005-07-19 18:13:27 +02:00
|
|
|
|
2005-08-31 14:23:29 +02:00
|
|
|
OPTIONS= BACKTRACE "Use backtrace() to generate nice bug reports" on \
|
2009-04-10 01:53:51 +02:00
|
|
|
OPENGL "Enable the OpenGL support (highly recommended!)" on \
|
|
|
|
VORBIS "Enable vorbis support (music)" on
|
2005-08-31 14:23:29 +02:00
|
|
|
|
2010-05-26 05:17:10 +02:00
|
|
|
.include <bsd.port.options.mk>
|
2005-07-19 18:13:27 +02:00
|
|
|
|
2006-04-24 23:07:27 +02:00
|
|
|
.if !defined(WITHOUT_BACKTRACE)
|
2005-08-31 14:23:29 +02:00
|
|
|
LIB_DEPENDS+= execinfo.1:${PORTSDIR}/devel/libexecinfo
|
2005-09-15 23:03:56 +02:00
|
|
|
CONFIGURE_ARGS+=--enable-backtrace
|
2007-07-13 18:54:44 +02:00
|
|
|
STRIP= #
|
2005-08-31 14:23:29 +02:00
|
|
|
.else
|
2005-09-15 23:03:56 +02:00
|
|
|
CONFIGURE_ARGS+=--disable-backtrace
|
2005-07-30 17:45:56 +02:00
|
|
|
.endif
|
|
|
|
|
2006-04-24 23:07:27 +02:00
|
|
|
.if !defined(WITHOUT_OPENGL)
|
2005-08-31 14:23:29 +02:00
|
|
|
USE_GL= yes
|
2005-09-15 23:03:56 +02:00
|
|
|
CONFIGURE_ARGS+=--enable-opengl
|
2005-08-31 14:23:29 +02:00
|
|
|
.else
|
2005-09-15 23:03:56 +02:00
|
|
|
CONFIGURE_ARGS+=--disable-opengl
|
2005-08-31 14:23:29 +02:00
|
|
|
.endif
|
2005-07-19 18:13:27 +02:00
|
|
|
|
2009-04-10 01:53:51 +02:00
|
|
|
.if !defined(WITHOUT_VORBIS)
|
|
|
|
LIB_DEPENDS+= vorbis.4:${PORTSDIR}/audio/libvorbis \
|
2010-06-06 22:44:03 +02:00
|
|
|
ogg.7:${PORTSDIR}/audio/libogg
|
2009-04-10 01:53:51 +02:00
|
|
|
CONFIGURE_ARGS+=--enable-vorbis
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-vorbis
|
|
|
|
.endif
|
|
|
|
|
2010-05-26 05:17:10 +02:00
|
|
|
.include <bsd.port.mk>
|