mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
c3bd233ad8
Submitted by: Timothy Beyer <beyert@cs.ucr.edu> (maintainer)
51 lines
1.1 KiB
Makefile
51 lines
1.1 KiB
Makefile
# New ports collection makefile for: gemrb
|
|
# Date created: 21 Apr 2008
|
|
# Whom: Timothy Beyer <beyert@cs.ucr.edu>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= gemrb
|
|
PORTVERSION= 0.6.2
|
|
CATEGORIES= games emulators
|
|
MASTER_SITES= SF/${PORTNAME}/GemRB%20Sources/GemRB%20${PORTVERSION}%20Sources
|
|
|
|
MAINTAINER= beyert@cs.ucr.edu
|
|
COMMENT= GemRB (Game engine made with preRendered Background)
|
|
|
|
LIB_DEPENDS= png.6:${PORTSDIR}/graphics/png \
|
|
vorbis.4:${PORTSDIR}/audio/libvorbis
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
USE_CMAKE= yes
|
|
USE_SDL= sdl mixer
|
|
USE_OPENAL= al alut
|
|
USE_LDCONFIG= yes
|
|
USE_PYTHON= 2.4+
|
|
CFLAGS+= -L${LOCALBASE}/lib -I${LOCALBASE}/include
|
|
CMAKE_C_FLAGS= ${CFLAGS}
|
|
CMAKE_ARGS= -DDOC_DIR="${LOCALBASE}/share/doc/gemrb" -DMAN_DIR="${LOCALBASE}/man/man6" -DDISABLE_WERROR=1
|
|
|
|
MAN6= gemrb.6
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 700000
|
|
BROKEN= does not build on 6.X
|
|
.endif
|
|
|
|
post-patch:
|
|
.if defined(NOPORTDOCS)
|
|
EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-noportdocs-*
|
|
.endif
|
|
|
|
post-install:
|
|
@if [ ! -f ${PREFIX}/etc/gemrb.cfg ]; then \
|
|
${CP} ${WRKSRC}/gemrb/GemRB.cfg.sample ${PREFIX}/etc/gemrb.cfg; \
|
|
fi
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.post.mk>
|