1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/games/tnl/Makefile
Dirk Meyer de78af3ac5 - update to 1.4.1
Reviewed by:	exp8 run on pointyhat
Supported by:	miwi
2010-03-28 06:47:48 +00:00

54 lines
1.3 KiB
Makefile

# New ports collection makefile for: tnl
# Date created: 05 Feb 2008
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
#
# $FreeBSD$
#
PORTNAME= tnl
PORTVERSION= 071111
PORTREVISION= 7
CATEGORIES= games
MASTER_SITES= http://tnlgame.net/downloads/tnl/${PORTVERSION}/ \
http://mirror.amdmi3.ru/distfiles/
DISTNAME= TnL-source-${PORTVERSION}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
${DISTNAME:S/source/data/}${EXTRACT_SUFX}
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Futuristic action flight simulator and realtime strategy game
BUILD_DEPENDS= ${LOCALBASE}/lib/libiovmall.so:${PORTSDIR}/lang/io
RUN_DEPENDS= ${BUILD_DEPENDS}
LIB_DEPENDS= sigc-1.2.5:${PORTSDIR}/devel/libsigc++12 \
CEGUIBase.3:${PORTSDIR}/graphics/cegui \
png.6:${PORTSDIR}/graphics/png \
GLEW.1:${PORTSDIR}/graphics/glew
USE_BZIP2= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_SDL= sdl
USE_GCC= 4.2+
USE_GL= yes
USE_OPENAL= al alut
CONFIGURE_ARGS= --with-io-cflags="-I${LOCALBASE}/include/io" \
--with-io-libs="-L${LOCALBASE}/lib -liovmall"
WRKDATADIR= ${WRKDIR}/TnL-data/share/tnl
SUB_FILES= tnl
post-patch:
@${REINPLACE_CMD} -i "" -e 's|getenv|getEnvironmentVariable|' \
${WRKDATADIR}/scripts/Settings.io
post-install:
${MKDIR} ${DATADIR}
cd ${WRKDATADIR} && ${COPYTREE_SHARE} . ${DATADIR}
${INSTALL_SCRIPT} ${WRKDIR}/tnl ${PREFIX}/bin
.include <bsd.port.mk>