Bug 170533 - [maintainer-update] Patch to update games/bzflag to 2.4.2 (and some other goodies)
[maintainer-update] Patch to update games/bzflag to 2.4.2 (and some other goo...
Status: Closed FIXED
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s)
Latest
Any Any
: Normal Affects Only Me
Assigned To: Alex Kozlov
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-08-11 04:20 UTC by Kevin Zheng
Modified: 2012-08-11 12:50 UTC (History)
0 users

See Also:


Attachments
file.diff (2.63 KB, patch)
2012-08-11 04:20 UTC, Kevin Zheng
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Zheng 2012-08-11 04:20:01 UTC
BZFlag 2.4.2 was released. Now we're going to put it into ports so people can happily play games without doing porting work. This patch:

 - Updates games/bzflag to 2.4.2
 - Remove dependency on GMAKE because BZFlag doesn't need it
 - Remove build dependency on PERL because it doesn't need it either
 - Take out hints for pthread (e.g. PTHREAD_CFLAGS and PTHREAD_LIBS) because the new configure script finds them OK
 - Depend on GLEW instead of using the port's built-in version
 - Use newer USE_SDL (instead of USE_SDL=yes)
 - Force port ares build because it doesn't like the system version
 - Install a nice-looking desktop icon!

Fix: Apply the attached patch to games/bzflag.

Patch attached with submission follows:
How-To-Repeat: Install the version from ports and weep at the sight of an outdated port on FreeBSD.
Comment 1 Alex Kozlov freebsd_committer 2012-08-11 11:18:59 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ak

I'll take it.
Comment 2 dfilter freebsd_committer 2012-08-11 12:49:21 UTC
Author: ak
Date: Sat Aug 11 11:49:06 2012
New Revision: 302408
URL: http://svn.freebsd.org/changeset/ports/302408

Log:
  - 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 <kevinz5000@gmail.com>

Modified:
  head/games/bzflag/Makefile
  head/games/bzflag/distinfo
  head/games/bzflag/pkg-plist

Modified: head/games/bzflag/Makefile
==============================================================================
--- head/games/bzflag/Makefile	Sat Aug 11 10:59:54 2012	(r302407)
+++ head/games/bzflag/Makefile	Sat Aug 11 11:49:06 2012	(r302408)
@@ -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 ga
 
 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

Modified: head/games/bzflag/distinfo
==============================================================================
--- head/games/bzflag/distinfo	Sat Aug 11 10:59:54 2012	(r302407)
+++ head/games/bzflag/distinfo	Sat Aug 11 11:49:06 2012	(r302408)
@@ -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

Modified: head/games/bzflag/pkg-plist
==============================================================================
--- head/games/bzflag/pkg-plist	Sat Aug 11 10:59:54 2012	(r302407)
+++ head/games/bzflag/pkg-plist	Sat Aug 11 11:49:06 2012	(r302408)
@@ -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
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Alex Kozlov freebsd_committer 2012-08-11 12:50:49 UTC
State Changed
From-To: open->closed

Committed. Thanks!