Date: Thu, 11 Dec 2003 17:54:07 +0000 From: Nuno Teixeira <nunotex@freeshell.org> To: Charles Swiger <cswiger@mac.com> Cc: freebsd-ports@freebsd.org Subject: Re: games/bzflag 1.10 released! please update Message-ID: <20031211175407.GA27236@SDF.LONESTAR.ORG> In-Reply-To: <001D7DA8-2B55-11D8-9FA4-003065ABFD92@mac.com> References: <20031210192755.GA13860@SDF.LONESTAR.ORG> <001D7DA8-2B55-11D8-9FA4-003065ABFD92@mac.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello Charles, It works!!! Thank you very much! You were very fast, really fast updating this port. Can you be the maintainer of it? :) I installed it and play a little over the net and it seems to work ok: net, sound and graphics (nvidia) ok. Other issues: The shell archive that you send me contains formating errors. When I corrected it the port generated also contains formating errors in Makefile like: spaces instead of tabs, wrong inlines, etc, things that make make fails. Well, these errors are very easy to fix and if you want I can fix it for you. You have already spend your knoledge and time on this. It seems that a unified diff is better to cvs update than sh arquive. What do you think? Thanks again for your great work! Yours, Nuno Teixeira on Wed, Dec 10, 2003 at 04:08:28PM -0500, Charles Swiger wrote: > On Dec 10, 2003, at 2:27 PM, Nuno Teixeira wrote: > >Does anyone can update this port? > > > >More info on http://www.bzflag.org/ > > Hmm, this was a bit of a pain, but try the shar file included below and > see how it does. (The shar file is shorter than the list of diffs from > the earlier version, so.... :-) Also, does FreeBSD 5.x have the > ncurses extention called resize_term()? 4-STABLE does not, apparently. > Anyway if this works, I'll submit the PR... > > ----- > > # This is a shell archive. Save it in a file, remove anything before > # this line, and then unpack it by entering "sh file". Note, it may > # create directories; files and directories will be owned by you and > # have default permissions. > # > # This archive contains: > # > # bzflag > # bzflag/Makefile > # bzflag/distinfo > # bzflag/pkg-descr > # bzflag/pkg-plist > # bzflag/files > # bzflag/files/patch-configure.in > # bzflag/files/patch-CursesUI.cxx > # bzflag/files/patch-StdBothUI.cxx > # > echo c - bzflag > mkdir -p bzflag > /dev/null 2>&1 > echo x - bzflag/Makefile > sed 's/^X//' >bzflag/Makefile << 'END-of-bzflag/Makefile' > X# New ports collection makefile for: bzflag > X# Date created: 2000/08/12 > X# Whom: makeport.pl > X# > X# $FreeBSD: ports/games/bzflag/Makefile,v 1.22 2003/07/02 07:36:55 > daichi Exp $ > X# > X > XPORTNAME= bzflag > XPORTVERSION= 1.10 > XCATEGORIES= games > XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} > XMASTER_SITE_SUBDIR= ${PORTNAME} > XDISTNAME= ${PORTNAME}-${PORTVERSION}.20031209 > X > XMAINTAINER= ports@FreeBSD.org > XCOMMENT= A multiplayer 3D tank battle game > X > XWRKSRC= ${WRKDIR}/bzflag-1.9.10.20031209 > XUSE_GL= yes > XUSE_REINPLACE= yes > XUSE_GMAKE= yes > XUSE_AUTOCONF_VER= 213 > XCONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS}" LDFLAGS="${PTHREAD_LIBS}" > XMAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" > \ > X AUTOHEADER="${TRUE}" > X > XMAN6= bzflag.6 bzfrelay.6 bzfls.6 bzfs.6 > X > Xpost-patch: > X @${GREP} -lR "<malloc\.h>" ${WRKSRC} | ${XARGS} > ${REINPLACE_CMD} -e \ > X 's|<malloc\.h>|<stdlib.h>|g' > X @${REINPLACE_CMD} -e 's|@LINUX_TRUE@||g ; \ > X s|@LINUX_FALSE@|#|g' ${WRKSRC}/src/platform/Makefile.in > X > X.include <bsd.port.mk> > END-of-bzflag/Makefile > echo x - bzflag/distinfo > sed 's/^X//' >bzflag/distinfo << 'END-of-bzflag/distinfo' > XMD5 (bzflag-1.10.20031209.tar.gz) = 2dd502bfdee96b9d5055ea3125a4b95a > END-of-bzflag/distinfo > echo x - bzflag/pkg-descr > sed 's/^X//' >bzflag/pkg-descr << 'END-of-bzflag/pkg-descr' > XBZFlag is a 3D multi-player tank battle game that allows users to play > Xagainst each other in a networked environment. There are five teams: > Xred, green, blue, purple and rogue (rogue tanks are black). Destroying > a > Xplayer on another team scores a win, while being destroyed or > destroying > Xa teammate scores a loss. Rogues have no teammates (not even other > Xrogues), so they cannot shoot teammates and they do not have a team > Xscore. > X > XThere are two main styles of play: capture-the-flag and free-for-all. > In > Xcapture-the-flag, each team (except rogues) has a team base and each > Xteam with at least one player has a team flag. The object is to > capture > Xan enemy team's flag by bringing it to your team's base. This destroys > Xevery player on the captured team, subtracts one from that team's > score, > Xand adds one to your team's score. In free-for-all, there are no team > Xflags or team bases. The object is simply to get as high a score as > Xpossible. > X > XWWW: http://BZFlag.org/ > END-of-bzflag/pkg-descr > echo x - bzflag/pkg-plist > sed 's/^X//' >bzflag/pkg-plist << 'END-of-bzflag/pkg-plist' > Xbin/bzflag > Xbin/bzadmin > Xbin/bzfrelay > Xbin/bzfs > Xshare/bzflag/bbolt.png > Xshare/bzflag/blaser.png > Xshare/bzflag/boom.wav > Xshare/bzflag/boxwall.png > Xshare/bzflag/btbolt.png > Xshare/bzflag/caution.png > Xshare/bzflag/clouds.png > Xshare/bzflag/explode1.png > Xshare/bzflag/explosion.wav > Xshare/bzflag/fire.wav > Xshare/bzflag/fixedbr.png > Xshare/bzflag/fixedmr.png > Xshare/bzflag/flag.png > Xshare/bzflag/flag_alert.wav > Xshare/bzflag/flag_drop.wav > Xshare/bzflag/flag_grab.wav > Xshare/bzflag/flag_lost.wav > Xshare/bzflag/flag_won.wav > Xshare/bzflag/flage.png > Xshare/bzflag/gbolt.png > Xshare/bzflag/glaser.png > Xshare/bzflag/ground.png > Xshare/bzflag/gtbolt.png > Xshare/bzflag/helvbi.png > Xshare/bzflag/helvbr.png > Xshare/bzflag/hunt.wav > Xshare/bzflag/hunt_select.wav > Xshare/bzflag/jump.wav > Xshare/bzflag/killteam.wav > Xshare/bzflag/l10n/bzflag_cs_CZ.po > Xshare/bzflag/l10n/bzflag_da.po > Xshare/bzflag/l10n/bzflag_de.po > Xshare/bzflag/l10n/bzflag_en_US_l33t.po > Xshare/bzflag/l10n/bzflag_en_US_redneck.po > Xshare/bzflag/l10n/bzflag_es.po > Xshare/bzflag/l10n/bzflag_fr.po > Xshare/bzflag/l10n/bzflag_it.po > Xshare/bzflag/l10n/bzflag_kg.po > Xshare/bzflag/l10n/bzflag_nl.po > Xshare/bzflag/l10n/bzflag_pt.po > Xshare/bzflag/l10n/bzflag_sv.po > Xshare/bzflag/l10n/bzflag_xx.po > Xshare/bzflag/land.wav > Xshare/bzflag/laser.wav > Xshare/bzflag/lock.wav > Xshare/bzflag/missile.png > Xshare/bzflag/missile.wav > Xshare/bzflag/mountain.png > Xshare/bzflag/panel.png > Xshare/bzflag/pbolt.png > Xshare/bzflag/phantom.wav > Xshare/bzflag/plaser.png > Xshare/bzflag/pop.wav > Xshare/bzflag/ptbolt.png > Xshare/bzflag/pyrwall.png > Xshare/bzflag/rbolt.png > Xshare/bzflag/ricochet.wav > Xshare/bzflag/rlaser.png > Xshare/bzflag/roof.png > Xshare/bzflag/rtbolt.png > Xshare/bzflag/shock.wav > Xshare/bzflag/steamroller.wav > Xshare/bzflag/teamgrab.wav > Xshare/bzflag/teleport.wav > Xshare/bzflag/thief.png > Xshare/bzflag/timesbi.png > Xshare/bzflag/timesbr.png > Xshare/bzflag/title.png > Xshare/bzflag/wall.png > Xshare/bzflag/wbolt.png > Xshare/bzflag/wlaser.png > Xshare/bzflag/wtbolt.png > Xshare/bzflag/ybolt.png > Xshare/bzflag/ylaser.png > Xshare/bzflag/ytbolt.png > X@dirrm share/bzflag/l10n > X@dirrm share/bzflag > END-of-bzflag/pkg-plist > echo c - bzflag/files > mkdir -p bzflag/files > /dev/null 2>&1 > echo x - bzflag/files/patch-configure.in > sed 's/^X//' >bzflag/files/patch-configure.in << > 'END-of-bzflag/files/patch-configure.in' > X--- configure.in~ Wed Dec 10 15:01:15 2003 > X+++ configure.in Wed Dec 10 15:03:17 2003 > X@@ -113,7 +113,7 @@ > X > X AC_PATH_XTRA > X > X-LDFLAGS=$X_LIBS > X+LDFLAGS="$X_LIBS $LDFLAGS" > X case $host_os in > X solaris*) > X GLIBS="-lresolv -laudio $GLIBS"; > X@@ -137,7 +137,7 @@ > X > X # avoid using X11 in BeOS > X if test $host_os != beos; then > X- CPPFLAGS= > X+ CPPFLAGS="$X_CFLAGS $CPPFLAGS" > X if test x$no_x = x; then > X GLIBS="$X_PRE_LIBS -lX11 $EXTRA_LIBS $GLIBS" > X fi > END-of-bzflag/files/patch-configure.in > echo x - bzflag/files/patch-CursesUI.cxx > sed 's/^X//' >bzflag/files/patch-CursesUI.cxx << > 'END-of-bzflag/files/patch-CursesUI.cxx' > X--- src/bzadmin/CursesUI.cxx~ Tue Dec 9 02:31:33 2003 > X+++ src/bzadmin/CursesUI.cxx Wed Dec 10 15:31:37 2003 > X@@ -230,9 +230,10 @@ > X return targetIter->first; > X } > X > X- > X void CursesUI::handleResize(int lines, int cols) { > X+#ifdef HAVE_RESIZE_TERM > X resize_term(lines, cols); > X+#endif > X mvwin(targetWin, lines - 2, 0); > X wresize(targetWin, 1, cols); > X mvwin(cmdWin, lines - 1, 0); > END-of-bzflag/files/patch-CursesUI.cxx > echo x - bzflag/files/patch-StdBothUI.cxx > sed 's/^X//' >bzflag/files/patch-StdBothUI.cxx << > 'END-of-bzflag/files/patch-StdBothUI.cxx' > X--- src/bzadmin/StdBothUI.cxx~ Tue Dec 9 02:38:14 2003 > X+++ src/bzadmin/StdBothUI.cxx Wed Dec 10 15:38:29 2003 > X@@ -20,6 +20,7 @@ > X #include <ws2tcpip.h> > X #include <wincon.h> > X #else > X+#include <sys/types.h> > X #include <sys/select.h> > X #endif > X > END-of-bzflag/files/patch-StdBothUI.cxx > exit > > -- > -Chuck -- nunotex@sdf.lonestar.org SDF Public Access UNIX System - http://sdf.lonestar.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031211175407.GA27236>