# New ports collection makefile for: gemrb # Date created: 21 Apr 2008 # Whom: Timothy Beyer # # $FreeBSD$ # PORTNAME= gemrb PORTVERSION= 0.3.1 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= --libdir=${LOCALBASE}/lib \ --includedir=${LOCALBASE}/include 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