ports/87534: Update port: games/rtb to 1.0.8

KATO Tsuguru tkato432 at yahoo.com
Sun Oct 16 19:10:21 UTC 2005


>Number:         87534
>Category:       ports
>Synopsis:       Update port: games/rtb to 1.0.8
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 16 19:10:14 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.11-RELEASE-p13 i386
>Organization:
>Environment:
>Description:
- Update to version 1.0.8

Remove file:
files/patch-include::List.h
files/patch-include::fdstream.h
files/patch-rtb-team-framework::io::unixinstreambuf.cpp
files/patch-rtb-team-framework::io::unixoutstreambuf.cpp
files/patch-src::String.cc

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/games/rtb/Makefile games/rtb/Makefile
--- /usr/ports/games/rtb/Makefile	Sat Mar 12 20:24:15 2005
+++ games/rtb/Makefile	Sun Oct 16 18:17:08 2005
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	RealTimeBattle
-PORTVERSION=	1.0.7
-PORTREVISION=	1
+PORTVERSION=	1.0.8
 CATEGORIES=	games
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME:L}
@@ -18,9 +17,10 @@
 
 BUILD_DEPENDS=	gsed:${PORTSDIR}/textproc/gsed
 
+USE_BZIP2=	yes
 USE_X_PREFIX=	yes
 USE_GNOME=	gnometarget gtk20
-USE_GCC=	3.4
+USE_GCC=	3.4+
 USE_PERL5=	yes
 USE_GETOPT_LONG=	yes
 USE_REINPLACE=	yes
@@ -29,27 +29,21 @@
 CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
 CONFIGURE_ARGS=	--with-rtb-dir=${PREFIX}/lib/${PORTNAME}
 
-CXXFLAGS+=	-fpermissive
-
 CPPFLAGS=	-I${LOCALBASE}/include -DHAVE_DECL_GETOPT
-LDFLAGS=	-L${LOCALBASE}/lib -lintl
+LDFLAGS=	-L${LOCALBASE}/lib
 
 post-patch:
-.for file in include/Various.h src/ArenaBase.cc src/GeometricalObjects.cc \
-	src/Options.cc src/Robot.cc src/StartTournamentWindow.cc \
-	src/StatisticsWindow.cc src/Various.cc
-	@${REINPLACE_CMD} -E -e 's|min[[:space:]]*\(|Min(|g ; \
-		 s|max[[:space:]]*\(|Max\(|g' ${WRKSRC}/${file}
+.for file in configure
+	@${REINPLACE_CMD} -e '/test/s| == | = |g ; \
+		 s|INCLUDED_LIBINTL=yes|INCLUDED_LIBINTL=no|g ; \
+		 s|\\$${top_builddir}/intl/libintl.a|-lintl|g' ${WRKSRC}/${file}
 .endfor
-.for file in src/ArenaRealTime.cc
-	@${REINPLACE_CMD} -E -e 's|\(int\*\)|int\*|g' ${WRKSRC}/${file}
+.for file in Makefile.in
+	@${REINPLACE_CMD} -e '/^SUBDIRS/s|Documentation||g' ${WRKSRC}/${file}
 .endfor
-.for file in rtb-team-framework/createrobot.sh \
-	rtb-team-framework/createrobotconf.sh
+.for file in team-framework/createrobot.sh \
+	team-framework/createrobotconf.sh
 	@${REINPLACE_CMD} -e 's| sed| gsed|g' ${WRKSRC}/${file}
-.endfor
-.for file in Makefile.in
-	@${REINPLACE_CMD} -e 's|intl Documentation||g' ${WRKSRC}/${file}
 .endfor
 
 post-install:
diff -urN /usr/ports/games/rtb/distinfo games/rtb/distinfo
--- /usr/ports/games/rtb/distinfo	Thu Jan 13 14:23:20 2005
+++ games/rtb/distinfo	Sun Oct 16 12:19:57 2005
@@ -1,2 +1,2 @@
-MD5 (RealTimeBattle-1.0.7-Ext.tar.gz) = 748316e5902add936d2855478743c456
-SIZE (RealTimeBattle-1.0.7-Ext.tar.gz) = 1238215
+MD5 (RealTimeBattle-1.0.8-Ext.tar.bz2) = 5d4d7cfc0628f8e106bcfa052af94db8
+SIZE (RealTimeBattle-1.0.8-Ext.tar.bz2) = 1060840
diff -urN /usr/ports/games/rtb/files/patch-include::List.h games/rtb/files/patch-include::List.h
--- /usr/ports/games/rtb/files/patch-include::List.h	Wed Sep 22 14:47:15 2004
+++ games/rtb/files/patch-include::List.h	Thu Jan  1 09:00:00 1970
@@ -1,29 +0,0 @@
---- include/List.h.orig	Tue Sep 21 15:50:15 2004
-+++ include/List.h	Tue Sep 21 17:22:32 2004
-@@ -96,7 +96,7 @@
- inline T*
- ListIterator<T>::operator() () const
- {
--  if ( listp == NULL ) Error(true, "NULL pointer", "ListIterator::operator()");
-+  if ( listp == NULL ) Error(true, (const String&)"NULL pointer", (const String&)"ListIterator::operator()");
- 
-   return listp->element;
- }
-@@ -105,7 +105,7 @@
- inline const ListIterator<T>&
- ListIterator<T>::operator++ (int)
- {
--  if ( listp == NULL ) Error(true, "NULL pointer", "ListIterator::operator++");
-+  if ( listp == NULL ) Error(true, (const String&)"NULL pointer", (const String&)"ListIterator::operator++");
-   listp = listp->next;
-   return *this;
- }
-@@ -114,7 +114,7 @@
- inline const ListIterator<T>&
- ListIterator<T>::operator-- (int)
- {
--  if ( listp == NULL ) Error(true, "NULL pointer", "ListIterator::operator--");
-+  if ( listp == NULL ) Error(true, (const String&)"NULL pointer", (const String&)"ListIterator::operator--");
-   listp = listp->prev;
-   return *this;
- }
diff -urN /usr/ports/games/rtb/files/patch-include::fdstream.h games/rtb/files/patch-include::fdstream.h
--- /usr/ports/games/rtb/files/patch-include::fdstream.h	Sun Mar 14 16:10:49 2004
+++ games/rtb/files/patch-include::fdstream.h	Thu Jan  1 09:00:00 1970
@@ -1,18 +0,0 @@
---- include/fdstream.h.orig	Thu Sep 18 02:35:57 2003
-+++ include/fdstream.h	Sat Mar 13 02:07:54 2004
-@@ -28,9 +28,15 @@
- #ifndef BOOST_FDSTREAM_HPP
- #define BOOST_FDSTREAM_HPP
- 
-+#if defined __GNUC__ && __GNUC__ < 3
-+#include <istream.h>
-+#include <ostream.h>
-+#include <streambuf.h>
-+#else
- #include <istream>
- #include <ostream>
- #include <streambuf>
-+#endif
- // for EOF:
- #include <cstdio>
- // for memmove():
diff -urN /usr/ports/games/rtb/files/patch-rtb-team-framework::io::unixinstreambuf.cpp games/rtb/files/patch-rtb-team-framework::io::unixinstreambuf.cpp
--- /usr/ports/games/rtb/files/patch-rtb-team-framework::io::unixinstreambuf.cpp	Thu Jan 13 04:12:38 2005
+++ games/rtb/files/patch-rtb-team-framework::io::unixinstreambuf.cpp	Thu Jan  1 09:00:00 1970
@@ -1,10 +0,0 @@
---- rtb-team-framework/io/unixinstreambuf.cpp.orig	Wed Nov  3 05:09:04 2004
-+++ rtb-team-framework/io/unixinstreambuf.cpp	Fri Dec 17 01:33:22 2004
-@@ -29,6 +29,7 @@
- #include "../exceptions/keynotfoundexception.h"
- #include "../exceptions/confignotloadedexception.h"
- #include <sstream>
-+#include <cerrno>
- 
- /**
-  * Namespace
diff -urN /usr/ports/games/rtb/files/patch-rtb-team-framework::io::unixoutstreambuf.cpp games/rtb/files/patch-rtb-team-framework::io::unixoutstreambuf.cpp
--- /usr/ports/games/rtb/files/patch-rtb-team-framework::io::unixoutstreambuf.cpp	Thu Jan 13 04:12:38 2005
+++ games/rtb/files/patch-rtb-team-framework::io::unixoutstreambuf.cpp	Thu Jan  1 09:00:00 1970
@@ -1,10 +0,0 @@
---- rtb-team-framework/io/unixoutstreambuf.cpp.orig	Wed Nov  3 05:09:04 2004
-+++ rtb-team-framework/io/unixoutstreambuf.cpp	Fri Dec 17 01:34:44 2004
-@@ -26,6 +26,7 @@
- 
- #include "unixoutstreambuf.h"
- #include <sstream>
-+#include <cerrno>
- 
- /**
-  * Namespace
diff -urN /usr/ports/games/rtb/files/patch-src::String.cc games/rtb/files/patch-src::String.cc
--- /usr/ports/games/rtb/files/patch-src::String.cc	Thu Jan 13 14:23:20 2005
+++ games/rtb/files/patch-src::String.cc	Thu Jan  1 09:00:00 1970
@@ -1,19 +0,0 @@
---- src/String.cc.orig	Fri Nov 12 22:04:38 2004
-+++ src/String.cc	Tue Jan 11 02:28:46 2005
-@@ -21,12 +21,13 @@
- #include <config.h>
- #endif
- 
--#include <string.h>
-+#include <cstring>
- #include <iostream>
- //#include <strstream>
- #include <iomanip>
--#include <stdlib.h>
--#include <ctype.h>
-+#include <cstdio>
-+#include <cstdlib>
-+#include <cctype>
- 
- using namespace std;
- 
diff -urN /usr/ports/games/rtb/pkg-plist games/rtb/pkg-plist
--- /usr/ports/games/rtb/pkg-plist	Thu Jan 13 14:23:20 2005
+++ games/rtb/pkg-plist	Sun Oct 16 15:03:31 2005
@@ -20,23 +20,37 @@
 lib/RealTimeBattle/Arenas/my_Star.arena
 lib/RealTimeBattle/Arenas/my_Star2.arena
 lib/RealTimeBattle/RealTimeBattle.xpm
-lib/RealTimeBattle/Robots/Brotfrucht-Robot1-TeamOne.robot
-lib/RealTimeBattle/Robots/Brotfrucht-Robot1-TeamTwo.robot
-lib/RealTimeBattle/Robots/Brotfrucht-Robot2-TeamOne.robot
-lib/RealTimeBattle/Robots/Brotfrucht-Robot2-TeamTwo.robot
-lib/RealTimeBattle/Robots/Brotfrucht-Robot3-TeamOne.robot
-lib/RealTimeBattle/Robots/Brotfrucht-Robot3-TeamTwo.robot
-lib/RealTimeBattle/Robots/Brotfrucht-Robot4-TeamOne.robot
-lib/RealTimeBattle/Robots/Brotfrucht-Robot4-TeamTwo.robot
-lib/RealTimeBattle/Robots/Brotfrucht-Robot5-TeamOne.robot
-lib/RealTimeBattle/Robots/Brotfrucht-Robot5-TeamTwo.robot
+lib/RealTimeBattle/Robots/Brotfrucht-Blaubeere-Fruchtteam.robot
+lib/RealTimeBattle/Robots/Brotfrucht-Erdbeere-Fruchtteam.robot
+lib/RealTimeBattle/Robots/Brotfrucht-Gerstenbrot-Brotteam.robot
+lib/RealTimeBattle/Robots/Brotfrucht-Heidelbeere-Fruchtteam.robot
+lib/RealTimeBattle/Robots/Brotfrucht-Himbeere-Fruchtteam.robot
+lib/RealTimeBattle/Robots/Brotfrucht-Mischbrot-Brotteam.robot
+lib/RealTimeBattle/Robots/Brotfrucht-Roggenbrot-Brotteam.robot
+lib/RealTimeBattle/Robots/Brotfrucht-Stachelbeere-Fruchtteam.robot
+lib/RealTimeBattle/Robots/Brotfrucht-Toastbrot-Brotteam.robot
+lib/RealTimeBattle/Robots/Brotfrucht-Weizenbrot-Brotteam.robot
+lib/RealTimeBattle/Robots/Cobra-Adder-AnacondaLike.robot
+lib/RealTimeBattle/Robots/Cobra-Anaconda-AnacondaLike.robot
+lib/RealTimeBattle/Robots/Cobra-Boa-AnacondaLike.robot
+lib/RealTimeBattle/Robots/Cobra-Cobra-CobraLike.robot
+lib/RealTimeBattle/Robots/Cobra-CoralSnake-CobraLike.robot
+lib/RealTimeBattle/Robots/Cobra-Krait-CobraLike.robot
+lib/RealTimeBattle/Robots/Cobra-Mamba-CobraLike.robot
+lib/RealTimeBattle/Robots/Cobra-Python-AnacondaLike.robot
+lib/RealTimeBattle/Robots/Cobra-TigerSnake-CobraLike.robot
+lib/RealTimeBattle/Robots/Cobra-Viper-AnacondaLike.robot
+lib/RealTimeBattle/Robots/Columbus-Cabral-Portugal.robot
+lib/RealTimeBattle/Robots/Columbus-Cortez-Spain.robot
+lib/RealTimeBattle/Robots/Columbus-Pizarro-Spain.robot
+lib/RealTimeBattle/Robots/Columbus-Vasco_da_Gama-Portugal.robot
+lib/RealTimeBattle/Robots/Columbus-Vespucci-Spain.robot
+lib/RealTimeBattle/Robots/Columbus-Zarco-Portugal.robot
 lib/RealTimeBattle/Robots/empty/Makefile.am
 lib/RealTimeBattle/Robots/empty/empty.c
-lib/RealTimeBattle/Robots/empty-Robot1-TeamThree.robot
-lib/RealTimeBattle/Robots/empty-Robot2-TeamThree.robot
-lib/RealTimeBattle/Robots/empty-Robot3-TeamThree.robot
-lib/RealTimeBattle/Robots/empty-Robot4-TeamThree.robot
-lib/RealTimeBattle/Robots/empty-Robot5-TeamThree.robot
+lib/RealTimeBattle/Robots/empty-fool-TeamLazy.robot
+lib/RealTimeBattle/Robots/empty-idiot-TeamLazy.robot
+lib/RealTimeBattle/Robots/empty-lamer-TeamLazy.robot
 lib/RealTimeBattle/Robots/empty.robot
 lib/RealTimeBattle/Robots/jBot/JBot.java
 lib/RealTimeBattle/Robots/jBot/JBotMain.java
@@ -47,11 +61,12 @@
 lib/RealTimeBattle/Robots/joypad_robot/Makefile.am
 lib/RealTimeBattle/Robots/joypad_robot/README
 lib/RealTimeBattle/Robots/joypad_robot/joypad_robot.c
-lib/RealTimeBattle/Robots/perl/Robot.pm
 lib/RealTimeBattle/Robots/perl/perl.robot.in
 lib/RealTimeBattle/Robots/perl-Skeleton/perl-Skeleton.robot.in
 lib/RealTimeBattle/Robots/perl-Skeleton.robot
 lib/RealTimeBattle/Robots/perl.robot
+lib/RealTimeBattle/Robots/raziel/raziel.py.robot.in
+lib/RealTimeBattle/Robots/raziel.py.robot
 lib/RealTimeBattle/Robots/rotate_and_fire/Makefile.am
 lib/RealTimeBattle/Robots/rotate_and_fire/rotate_and_fire.cc
 lib/RealTimeBattle/Robots/rotate_and_fire/rotate_and_fire.h
@@ -61,21 +76,35 @@
 lib/RealTimeBattle/Robots/rotate_and_fire_blocking.robot
 lib/RealTimeBattle/Robots/rotate_and_fire_select.robot
 lib/RealTimeBattle/Robots/rotate_and_fire_signal.robot
-lib/RealTimeBattle/Robots/rtb-team-framework/Brotfrucht-Robot1-TeamOne.conf
-lib/RealTimeBattle/Robots/rtb-team-framework/Brotfrucht-Robot1-TeamTwo.conf
-lib/RealTimeBattle/Robots/rtb-team-framework/Brotfrucht-Robot2-TeamOne.conf
-lib/RealTimeBattle/Robots/rtb-team-framework/Brotfrucht-Robot2-TeamTwo.conf
-lib/RealTimeBattle/Robots/rtb-team-framework/Brotfrucht-Robot3-TeamOne.conf
-lib/RealTimeBattle/Robots/rtb-team-framework/Brotfrucht-Robot3-TeamTwo.conf
-lib/RealTimeBattle/Robots/rtb-team-framework/Brotfrucht-Robot4-TeamOne.conf
-lib/RealTimeBattle/Robots/rtb-team-framework/Brotfrucht-Robot4-TeamTwo.conf
-lib/RealTimeBattle/Robots/rtb-team-framework/Brotfrucht-Robot5-TeamOne.conf
-lib/RealTimeBattle/Robots/rtb-team-framework/Brotfrucht-Robot5-TeamTwo.conf
-lib/RealTimeBattle/Robots/rtb-team-framework/empty-Robot1-TeamThree.conf
-lib/RealTimeBattle/Robots/rtb-team-framework/empty-Robot2-TeamThree.conf
-lib/RealTimeBattle/Robots/rtb-team-framework/empty-Robot3-TeamThree.conf
-lib/RealTimeBattle/Robots/rtb-team-framework/empty-Robot4-TeamThree.conf
-lib/RealTimeBattle/Robots/rtb-team-framework/empty-Robot5-TeamThree.conf
+lib/RealTimeBattle/Robots/rtb-team-framework/Brotfrucht-Blaubeere-Fruchtteam.conf
+lib/RealTimeBattle/Robots/rtb-team-framework/Brotfrucht-Erdbeere-Fruchtteam.conf
+lib/RealTimeBattle/Robots/rtb-team-framework/Brotfrucht-Gerstenbrot-Brotteam.conf
+lib/RealTimeBattle/Robots/rtb-team-framework/Brotfrucht-Heidelbeere-Fruchtteam.conf
+lib/RealTimeBattle/Robots/rtb-team-framework/Brotfrucht-Himbeere-Fruchtteam.conf
+lib/RealTimeBattle/Robots/rtb-team-framework/Brotfrucht-Mischbrot-Brotteam.conf
+lib/RealTimeBattle/Robots/rtb-team-framework/Brotfrucht-Roggenbrot-Brotteam.conf
+lib/RealTimeBattle/Robots/rtb-team-framework/Brotfrucht-Stachelbeere-Fruchtteam.conf
+lib/RealTimeBattle/Robots/rtb-team-framework/Brotfrucht-Toastbrot-Brotteam.conf
+lib/RealTimeBattle/Robots/rtb-team-framework/Brotfrucht-Weizenbrot-Brotteam.conf
+lib/RealTimeBattle/Robots/rtb-team-framework/Cobra-Adder-AnacondaLike.conf
+lib/RealTimeBattle/Robots/rtb-team-framework/Cobra-Anaconda-AnacondaLike.conf
+lib/RealTimeBattle/Robots/rtb-team-framework/Cobra-Boa-AnacondaLike.conf
+lib/RealTimeBattle/Robots/rtb-team-framework/Cobra-Cobra-CobraLike.conf
+lib/RealTimeBattle/Robots/rtb-team-framework/Cobra-CoralSnake-CobraLike.conf
+lib/RealTimeBattle/Robots/rtb-team-framework/Cobra-Krait-CobraLike.conf
+lib/RealTimeBattle/Robots/rtb-team-framework/Cobra-Mamba-CobraLike.conf
+lib/RealTimeBattle/Robots/rtb-team-framework/Cobra-Python-AnacondaLike.conf
+lib/RealTimeBattle/Robots/rtb-team-framework/Cobra-TigerSnake-CobraLike.conf
+lib/RealTimeBattle/Robots/rtb-team-framework/Cobra-Viper-AnacondaLike.conf
+lib/RealTimeBattle/Robots/rtb-team-framework/Columbus-Cabral-Portugal.conf
+lib/RealTimeBattle/Robots/rtb-team-framework/Columbus-Cortez-Spain.conf
+lib/RealTimeBattle/Robots/rtb-team-framework/Columbus-Pizarro-Spain.conf
+lib/RealTimeBattle/Robots/rtb-team-framework/Columbus-Vasco_da_Gama-Portugal.conf
+lib/RealTimeBattle/Robots/rtb-team-framework/Columbus-Vespucci-Spain.conf
+lib/RealTimeBattle/Robots/rtb-team-framework/Columbus-Zarco-Portugal.conf
+lib/RealTimeBattle/Robots/rtb-team-framework/empty-fool-TeamLazy.conf
+lib/RealTimeBattle/Robots/rtb-team-framework/empty-idiot-TeamLazy.conf
+lib/RealTimeBattle/Robots/rtb-team-framework/empty-lamer-TeamLazy.conf
 lib/RealTimeBattle/Robots/rtb-team-framework/rtb-team
 lib/RealTimeBattle/Robots/seek_and_destroy/Makefile.am
 lib/RealTimeBattle/Robots/seek_and_destroy/seek_and_destroy.cc
@@ -116,6 +145,8 @@
 %%PORTDOCS%%%%DOCSDIR%%/toc.gif
 %%PORTDOCS%%%%DOCSDIR%%/toc.png
 share/locale/de/LC_MESSAGES/RealTimeBattle.mo
+share/locale/en at boldquot/LC_MESSAGES/RealTimeBattle.mo
+share/locale/en at quot/LC_MESSAGES/RealTimeBattle.mo
 share/locale/es/LC_MESSAGES/RealTimeBattle.mo
 share/locale/gl/LC_MESSAGES/RealTimeBattle.mo
 share/locale/ja/LC_MESSAGES/RealTimeBattle.mo
@@ -128,6 +159,7 @@
 @dirrm lib/RealTimeBattle/Robots/seek_and_destroy
 @dirrm lib/RealTimeBattle/Robots/rtb-team-framework
 @dirrm lib/RealTimeBattle/Robots/rotate_and_fire
+ at dirrm lib/RealTimeBattle/Robots/raziel
 @dirrm lib/RealTimeBattle/Robots/perl-Skeleton
 @dirrm lib/RealTimeBattle/Robots/perl
 @dirrm lib/RealTimeBattle/Robots/joypad_robot
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list