Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Apr 1999 15:09:13 +0400 (MSD)
From:      Andrey Zakhvatov <andy@icc.surw.chel.su>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/11362: New port: battleball-2.0
Message-ID:  <199904281109.PAA11765@icc.surw.chel.su>

next in thread | raw e-mail | index | archive | help

>Number:         11362
>Category:       ports
>Synopsis:       New port: battleball-2.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 28 04:10:00 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Andrey Zakhvatov
>Release:        FreeBSD 3.1-RELEASE i386
>Organization:
South Ural Railway ICC
>Environment:

>Description:

   This is a port of battleball-2.0, 3D single/multiplayer military
soccer game for X Window System.

BattleBall is essentially the game of soccer, played with military
vehicles rather than with people.  Each player drives a tank or flies
a helicopter, and tries to move the ball down the playfield to the
other team's goal.  In BattleBall, the teams' "goals" are their
headquarters buildings, positioned at the ends of the playfield.
Hitting another team's headquarters building with the ball scores a
point, knocking the building over in the process.  Yes, realism was
my ultimate goal in this game.

Players are organized into teams.  Up to six teams can play at once, and
teams may have any combination of human and computer players.  All teams
compete on the playfield simultaneously.  To reduce disorientation and
chaos, players' vehicles are painted with their team's colors, and
headquarters buildings are marked with their team's insignia.

Homepage: http://www.cs.utexas.edu/users/pahardin/bb.html


# 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:
#
#	battleball-2.0
#	battleball-2.0/Makefile
#	battleball-2.0/files
#	battleball-2.0/files/md5
#	battleball-2.0/patches
#	battleball-2.0/patches/patch-aa
#	battleball-2.0/patches/patch-ab
#	battleball-2.0/pkg
#	battleball-2.0/pkg/COMMENT
#	battleball-2.0/pkg/DESCR
#	battleball-2.0/pkg/PLIST
#
echo c - battleball-2.0
mkdir -p battleball-2.0 > /dev/null 2>&1
echo x - battleball-2.0/Makefile
sed 's/^X//' >battleball-2.0/Makefile << 'END-of-battleball-2.0/Makefile'
X# New ports collection makefile for:	battleball
X# Version required:			2.0
X# Date created:				18 December 1998
X# Whom:					Andrey Zakhvatov
X#
X# $Id$
X#
X
XDISTNAME=	battleball.20.src
XPKGNAME=	battleball-2.0
XCATEGORIES=	games
XMASTER_SITES=	http://ww.cs.utexas.edu/users/pahardin/
X
XMAINTAINER=	andy@icc.surw.chel.su
X
XUSE_IMAKE=	yes
XWRKSRC=		${WRKDIR}/bb-2.0
X
Xdo-install:
X	@ ${INSTALL_PROGRAM} ${WRKSRC}/battleball ${PREFIX}/bin
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	@ ${MKDIR} ${PREFIX}/share/doc/battleball
X.for file in CHANGELOG README
X	@ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/battleball
X.endfor
X.endif
X
X.include <bsd.port.mk>
END-of-battleball-2.0/Makefile
echo c - battleball-2.0/files
mkdir -p battleball-2.0/files > /dev/null 2>&1
echo x - battleball-2.0/files/md5
sed 's/^X//' >battleball-2.0/files/md5 << 'END-of-battleball-2.0/files/md5'
XMD5 (battleball.20.src.tar.gz) = 073097c480c5646e0e611d2aee2ba887
END-of-battleball-2.0/files/md5
echo c - battleball-2.0/patches
mkdir -p battleball-2.0/patches > /dev/null 2>&1
echo x - battleball-2.0/patches/patch-aa
sed 's/^X//' >battleball-2.0/patches/patch-aa << 'END-of-battleball-2.0/patches/patch-aa'
X--- Imakefile	Thu Oct  9 23:37:08 1997
X+++ /home/andy/tmp/wrk/Imakefile	Wed Dec 16 23:31:36 1998
X@@ -22,6 +22,96 @@
X XCOMM For g++, loop unrolling is:  -funroll-loops
X XCOMM For Solaris's CC and AIX's xlC, loop unrolling is:  -unroll=5
X 
X+bsp/brep.o: bsp/brep.C
X+	$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $< -o $@
X+
X+bsp/bsp.o: bsp/bsp.C
X+	$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $< -o $@
X+
X+bsp/polygon.o: bsp/polygon.C
X+	$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $< -o $@
X+
X+lib3d/ang3d.o: lib3d/ang3d.C
X+	$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $< -o $@
X+
X+lib3d/bsppanel3d.o: lib3d/bsppanel3d.C
X+	$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $< -o $@
X+
X+lib3d/bspregion3d.o: lib3d/bspregion3d.C
X+	$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $< -o $@
X+
X+lib3d/dimension.o: lib3d/dimension.C
X+	$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $< -o $@
X+
X+lib3d/dimentable.o: lib3d/dimentable.C
X+	$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $< -o $@
X+
X+lib3d/edgetable.o: lib3d/edgetable.C
X+	$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $< -o $@
X+
X+lib3d/fastpts.o: lib3d/fastpts.C
X+	$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $< -o $@
X+
X+lib3d/general.o: lib3d/general.C
X+	$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $< -o $@
X+
X+lib3d/gfxtarget.o: lib3d/gfxtarget.C
X+	$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $< -o $@
X+
X+lib3d/panel3d.o: lib3d/panel3d.C
X+	$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $< -o $@
X+
X+lib3d/pt2d.o: lib3d/pt2d.C
X+	$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $< -o $@
X+
X+lib3d/pt3d.o: lib3d/pt3d.C
X+	$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $< -o $@
X+
X+lib3d/region2d.o: lib3d/region2d.C
X+	$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $< -o $@
X+
X+lib3d/region3d.o: lib3d/region3d.C
X+	$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $< -o $@
X+
X+lib3d/shdregion3d.o: lib3d/shdregion3d.C
X+	$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $< -o $@
X+
X+lib3d/view.o: lib3d/view.C
X+	$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $< -o $@
X+
X+lib3d/xform.o: lib3d/xform.C
X+	$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $< -o $@
X+
X+lib3d/xpanel3d.o: lib3d/xpanel3d.C
X+	$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $< -o $@
X+
X+lib3d/xregion3d.o: lib3d/xregion3d.C
X+	$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $< -o $@
X+
X+bb/bbcolor.o: bb/bbcolor.C
X+	$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $< -o $@
X+
X+bb/bbgfxtarget.o: bb/bbgfxtarget.C
X+	$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $< -o $@
X+
X+bb/gob.o: bb/gob.C
X+	$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $< -o $@
X+
X+bb/gobs.o: bb/gobs.C
X+	$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $< -o $@
X+
X+bb/main.o: bb/main.C
X+	$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $< -o $@
X+
X+bb/player.o: bb/player.C
X+	$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $< -o $@
X+
X+bb/shapes.o: bb/shapes.C
X+	$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $< -o $@
X+
X+bb/team.o: bb/team.C
X+	$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $< -o $@
X+
X %.o : %.C
X 	$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $< -o $@
X 
END-of-battleball-2.0/patches/patch-aa
echo x - battleball-2.0/patches/patch-ab
sed 's/^X//' >battleball-2.0/patches/patch-ab << 'END-of-battleball-2.0/patches/patch-ab'
X--- bb/main.C	Thu Oct  9 16:03:25 1997
X+++ /home/andy/tmp/wrk/bb/main.C	Wed Dec 16 23:34:59 1998
X@@ -16,6 +16,9 @@
X #include <stdio.h>       // to get sprintf()
X #include <string.h>      // to get strncpy()
X #include <time.h>        // to get time(time_t *)
X+#ifdef __FreeBSD__
X+#include <floatingpoint.h>
X+#endif
X #include "bb.h"
X #include "player.h"
X 
X@@ -818,6 +821,9 @@
X // A long and complicated main() function!
X 
X main (int argc, char *argv[]) {
X+#ifdef __FreeBSD__
X+  fpsetmask(0);
X+#endif
X   battleBall bb(argc,argv);
X   bb.Play();
X }
END-of-battleball-2.0/patches/patch-ab
echo c - battleball-2.0/pkg
mkdir -p battleball-2.0/pkg > /dev/null 2>&1
echo x - battleball-2.0/pkg/COMMENT
sed 's/^X//' >battleball-2.0/pkg/COMMENT << 'END-of-battleball-2.0/pkg/COMMENT'
X3D single/multiplayer military soccer game for X Window System.
END-of-battleball-2.0/pkg/COMMENT
echo x - battleball-2.0/pkg/DESCR
sed 's/^X//' >battleball-2.0/pkg/DESCR << 'END-of-battleball-2.0/pkg/DESCR'
XBattleBall is essentially the game of soccer, played with military
Xvehicles rather than with people.  Each player drives a tank or flies
Xa helicopter, and tries to move the ball down the playfield to the
Xother team's goal.  In BattleBall, the teams' "goals" are their
Xheadquarters buildings, positioned at the ends of the playfield.
XHitting another team's headquarters building with the ball scores a
Xpoint, knocking the building over in the process.  Yes, realism was
Xmy ultimate goal in this game.
X
XPlayers are organized into teams.  Up to six teams can play at once, and
Xteams may have any combination of human and computer players.  All teams
Xcompete on the playfield simultaneously.  To reduce disorientation and
Xchaos, players' vehicles are painted with their team's colors, and
Xheadquarters buildings are marked with their team's insignia.
X
X
Xhttp://www.cs.utexas.edu/users/pahardin/bb.html
END-of-battleball-2.0/pkg/DESCR
echo x - battleball-2.0/pkg/PLIST
sed 's/^X//' >battleball-2.0/pkg/PLIST << 'END-of-battleball-2.0/pkg/PLIST'
Xbin/battleball
Xshare/doc/battleball/CHANGELOG
Xshare/doc/battleball/README
X@dirrm share/doc/battleball
END-of-battleball-2.0/pkg/PLIST
exit


>How-To-Repeat:

>Fix:

   Please, check and commit this port.


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


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199904281109.PAA11765>