From 063a60c552ab089ecfddefae4310ea3ef824ea76 Mon Sep 17 00:00:00 2001 From: Alex Kozlov Date: Sat, 11 Aug 2012 11:49:06 +0000 Subject: - Update to 2.4.2 - Remove dependency on gmake - Remove build dependency on perl - Remove hints for pthread - Depend on glew instead of using port's built-in version - Use newer USE_SDL syntax - Use port's built-in version of ares - Install a nice-looking desktop icon PR: ports/170533 Submitted by: Kevin Zheng --- games/bzflag/Makefile | 19 +++++++++++-------- games/bzflag/distinfo | 4 ++-- games/bzflag/pkg-plist | 10 ++++++++-- 3 files changed, 21 insertions(+), 12 deletions(-) (limited to 'games/bzflag') diff --git a/games/bzflag/Makefile b/games/bzflag/Makefile index c538c9f37182..26085b1bb31a 100644 --- a/games/bzflag/Makefile +++ b/games/bzflag/Makefile @@ -6,7 +6,7 @@ # PORTNAME= bzflag -PORTVERSION= 2.4.0 +PORTVERSION= 2.4.2 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20source/${PORTVERSION} @@ -15,14 +15,17 @@ COMMENT= A multiplayer 3D tank battle game LIB_DEPENDS= curl:${PORTSDIR}/ftp/curl -USE_BZIP2= yes -USE_SDL= yes -USE_GL= yes -USE_GMAKE= yes -USE_PERL5_BUILD=yes GNU_CONFIGURE= yes -CPPFLAGS+= ${PTHREAD_CFLAGS} -I ${LOCALBASE}/include -LDFLAGS+= ${PTHREAD_LIBS} +USE_BZIP2= yes +USE_GL= glew +USE_SDL= sdl + +CONFIGURE_ARGS= --enable-ares-build +CPPFLAGS+= -I ${LOCALBASE}/include + +DESKTOP_ENTRIES= "BZFlag" "Battle enemy tanks" \ + "${DATADIR}/bzflag-256x256.png" \ + "bzflag" "Game;ActionGame;" false MAN5= bzw.5 MAN6= bzadmin.6 bzflag.6 bzfs.6 diff --git a/games/bzflag/distinfo b/games/bzflag/distinfo index d575b6bb4798..e51fd2c338d1 100644 --- a/games/bzflag/distinfo +++ b/games/bzflag/distinfo @@ -1,2 +1,2 @@ -SHA256 (bzflag-2.4.0.tar.bz2) = 424cec6fe2b23ce88a9975612799c0e3831bbe85f0b1524faadfb93e7c0ad452 -SIZE (bzflag-2.4.0.tar.bz2) = 15045931 +SHA256 (bzflag-2.4.2.tar.bz2) = 4f7bc52284cc4b39fc352855e555b2b064c1de6a18f7474e249073070762c811 +SIZE (bzflag-2.4.2.tar.bz2) = 15971448 diff --git a/games/bzflag/pkg-plist b/games/bzflag/pkg-plist index f0008f10fc5c..9b02c95d5d7c 100644 --- a/games/bzflag/pkg-plist +++ b/games/bzflag/pkg-plist @@ -182,10 +182,16 @@ lib/bzflag/TimeLimit.la lib/bzflag/TimeLimit.so lib/bzflag/airspawn.la lib/bzflag/airspawn.so +lib/bzflag/autoFlagReset.la +lib/bzflag/autoFlagReset.so lib/bzflag/chathistory.la lib/bzflag/chathistory.so lib/bzflag/customflagsample.la lib/bzflag/customflagsample.so +lib/bzflag/fairCTF.la +lib/bzflag/fairCTF.so +lib/bzflag/fastmap.la +lib/bzflag/fastmap.so lib/bzflag/flagStay.la lib/bzflag/flagStay.so lib/bzflag/hiddenAdmin.la @@ -202,8 +208,6 @@ lib/bzflag/nagware.la lib/bzflag/nagware.so lib/bzflag/playHistoryTracker.la lib/bzflag/playHistoryTracker.so -lib/bzflag/pushstats.la -lib/bzflag/pushstats.so lib/bzflag/rabbitTimer.la lib/bzflag/rabbitTimer.so lib/bzflag/rabidRabbit.la @@ -218,6 +222,8 @@ lib/bzflag/shockwaveDeath.la lib/bzflag/shockwaveDeath.so lib/bzflag/teamflagreset.la lib/bzflag/teamflagreset.so +lib/bzflag/thiefControl.la +lib/bzflag/thiefControl.so lib/bzflag/timedctf.la lib/bzflag/timedctf.so lib/bzflag/wwzones.la -- cgit v1.2.3