summaryrefslogtreecommitdiff
path: root/games/gemrb/Makefile
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2008-06-22 21:48:03 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2008-06-22 21:48:03 +0000
commit07ee3292c89fc9f1f5d5ead352a9cf7a05c387e7 (patch)
tree7583a62e5488a7b85d7cdfeb857a90fa1593f341 /games/gemrb/Makefile
parent- Add D_NEEDMINOR as now required on -current for drivers that use the (diff)
- New port: gemrb
This Game Engine is a port of the original Infinity Engine (the one of Baldur's Gate, Icewind Dale, Planescape: Torment, etc...) to Linux/Unix, Mac OS X and Windows with some enhancements. PR: 122980 Submitted by: Timothy Beyer <beyert@cs.ucr.edu>
Notes
Notes: svn path=/head/; revision=215559
Diffstat (limited to 'games/gemrb/Makefile')
-rw-r--r--games/gemrb/Makefile42
1 files changed, 42 insertions, 0 deletions
diff --git a/games/gemrb/Makefile b/games/gemrb/Makefile
new file mode 100644
index 000000000000..9c9deb486ede
--- /dev/null
+++ b/games/gemrb/Makefile
@@ -0,0 +1,42 @@
+# New ports collection makefile for: gemrb
+# Date created: 21 Apr 2008
+# Whom: Timothy Beyer <beyert@cs.ucr.edu>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gemrb
+PORTVERSION= 0.3.0
+CATEGORIES= games emulators
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= beyert@cs.ucr.edu
+COMMENT= GemRB (Game engine made with preRendered Background)
+
+LIB_DEPENDS= openal.0:${PORTSDIR}/audio/openal \
+ alut.1:${PORTSDIR}/audio/freealut \
+ png.5:${PORTSDIR}/graphics/png
+
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib"
+CONFIGURE_ARGS= --enable-openal \
+ --libdir=${LOCALBASE}/lib \
+ --includedir=${LOCALBASE}/include
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+
+USE_GZIP= yes
+USE_GMAKE= yes
+USE_SDL= sdl
+USE_LDCONFIG= yes
+USE_PYTHON= 2.4+
+
+MAN1= gemrb.1
+
+post-install:
+ @if [ ! -f ${PREFIX}/etc/gemrb.cfg ]; then \
+ ${CP} ${PREFIX}/etc/GemRB.cfg.sample ${PREFIX}/etc/gemrb.cfg; \
+ fi
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>