ports/170533: [maintainer-update] Patch to update games/bzflag to 2.4.2 (and some other goodies)

Kevin Zheng kevinz5000 at gmail.com
Sat Aug 11 03:20:02 UTC 2012


>Number:         170533
>Category:       ports
>Synopsis:       [maintainer-update] Patch to update games/bzflag to 2.4.2 (and some other goodies)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 11 03:20:01 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Kevin Zheng
>Release:        FreeBSD 9.0-RELEASE-p3
>Organization:
>Environment:
FreeBSD sigma.local 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Tue Jun 12 01:47:53 UTC 2012     root at i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
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!
>How-To-Repeat:
Install the version from ports and weep at the sight of an outdated port on FreeBSD.
>Fix:
Apply the attached patch to games/bzflag.

Patch attached with submission follows:

diff -ruN /usr/ports/games/bzflag/Makefile bzflag/Makefile
--- /usr/ports/games/bzflag/Makefile	2012-08-10 13:21:57.000000000 -0500
+++ bzflag/Makefile	2012-08-10 17:38:27.000000000 -0500
@@ -2,11 +2,11 @@
 # Date created:		2000/08/12
 # Whom:			makeport.pl
 #
-# $FreeBSD: ports/games/bzflag/Makefile,v 1.52 2012/08/10 18:21:57 wxs Exp $
+# $FreeBSD: ports/games/bzflag/Makefile,v 1.51 2012/08/10 17:24:12 wxs Exp $
 #
 
 PORTNAME=	bzflag
-PORTVERSION=	2.4.0
+PORTVERSION=	2.4.2
 CATEGORIES=	games
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}%20source/${PORTVERSION}
 
@@ -15,14 +15,17 @@
 
 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 -ruN /usr/ports/games/bzflag/distinfo bzflag/distinfo
--- /usr/ports/games/bzflag/distinfo	2012-08-10 12:24:12.000000000 -0500
+++ bzflag/distinfo	2012-08-10 13:15:49.000000000 -0500
@@ -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 -ruN /usr/ports/games/bzflag/pkg-plist bzflag/pkg-plist
--- /usr/ports/games/bzflag/pkg-plist	2012-08-10 12:24:12.000000000 -0500
+++ bzflag/pkg-plist	2012-08-10 15:15:06.000000000 -0500
@@ -182,10 +182,16 @@
 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.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.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


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list