freebsd-ports/games/freedroidrpg/Makefile
Stanislav Sedov 0d2725682b - Update devel/sdl12 to version 1.2.11. Now we employ stock SDL directory
structure (i.e. include/SDL for includes and sdl-config for configuration
   binary)
 - Update graphics/sdl_ttf to version 2.0.8
 - Update graphics/sdl_image to version 1.2.5
 - Update audio/sdl_mixer to version 1.2.7
 - Update net/sdl_net to version 1.2.6
 - Update Mk/bsd.sdl.mk accordingly
 - Fix dependent ports to fit the new directory structure and avoid several
   API breakages
 - Bump up portrevisions for all dependent ports to allow them to be upgraded
   by portupgrade/portmaster etc tools

Approved by:    kris (portmgr), sem (mentor)
2006-09-20 11:21:59 +00:00

62 lines
1.4 KiB
Makefile

# New ports collection makefile for: freedroidrpg
# Date created: 18 Jul 2005
# Whom: Travis Poppe <tlp@liquidx.org>
#
# $FreeBSD$
#
PORTNAME= freedroidrpg
PORTVERSION= 0.9.13
PORTREVISION= 3
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= freedroid
MAINTAINER= alepulver@FreeBSD.org
COMMENT= Modification of the classical Freedroid engine into an RPG
USE_BZIP2= yes
USE_GETOPT_LONG=yes
USE_SDL= mixer image net sdl
WANT_GNOME= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --program-transform-name=
MAN6= freedroidRPG.6
OPTIONS= BACKTRACE "Use backtrace() to generate nice bug reports" on \
EDITORS "Build the GTK editors" on \
OPENGL "Enable the OpenGL support (highly recommended!)" on
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
IGNORE= does not compile on FreeBSD < 5.X (missing fenv.h)
.endif
.if !defined(WITHOUT_BACKTRACE)
LIB_DEPENDS+= execinfo.1:${PORTSDIR}/devel/libexecinfo
CONFIGURE_ARGS+=--enable-backtrace
STRIP= # keep debugging symbols
.else
CONFIGURE_ARGS+=--disable-backtrace
.endif
.if !defined(WITHOUT_EDITORS)
USE_GNOME+= gtk12
CONFIGURE_ARGS+=--enable-editors
PLIST_SUB+= EDITORS=""
.else
CONFIGURE_ARGS+=--disable-editors
PLIST_SUB+= EDITORS="@comment "
.endif
.if !defined(WITHOUT_OPENGL)
USE_GL= yes
CONFIGURE_ARGS+=--enable-opengl
.else
CONFIGURE_ARGS+=--disable-opengl
.endif
.include <bsd.port.post.mk>