aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--games/xbattle/Makefile29
-rw-r--r--games/xbattle/distinfo1
-rw-r--r--games/xbattle/files/patch-aa23
-rw-r--r--games/xbattle/pkg-comment1
-rw-r--r--games/xbattle/pkg-descr39
-rw-r--r--games/xbattle/pkg-plist19
6 files changed, 112 insertions, 0 deletions
diff --git a/games/xbattle/Makefile b/games/xbattle/Makefile
new file mode 100644
index 000000000000..519708a61b4c
--- /dev/null
+++ b/games/xbattle/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: xbattle
+# Version required: 15.4.1
+# Date created: 6 Apr 97
+# Whom: Pedro Giffuni <pgiffuni@fps.biblos.unal.edu.co>
+#
+# $Id$
+#
+
+DISTNAME= xbattle-5.4.1
+CATEGORIES= games
+MASTER_SITES= ftp://cns-ftp.bu.edu/pub/xbattle/ \
+ ftp://www.tiac.net/users/lesher/xbattle/
+
+MAINTAINER= pgiffuni@fps.biblos.unal.edu.co
+
+USE_IMAKE= yes
+
+post-install:
+ $(MKDIR) $(PREFIX)/etc/xbattle
+ $(CP) -R $(WRKSRC)/xbos $(PREFIX)/etc/xbattle/
+ $(CP) -R $(WRKSRC)/xbts $(PREFIX)/etc/xbattle/
+ $(CP) -R $(WRKSRC)/xbas $(PREFIX)/etc/xbattle/
+.if !defined(NOPORTDOCS)
+ $(MKDIR) $(PREFIX)/share/doc/xbattle
+ $(CP) $(WRKSRC)/tutorial* $(PREFIX)/share/doc/xbattle/
+ $(CP) $(WRKSRC)/README $(PREFIX)/share/doc/xbattle/
+.endif
+
+.include <bsd.port.mk>
diff --git a/games/xbattle/distinfo b/games/xbattle/distinfo
new file mode 100644
index 000000000000..40bf69d57230
--- /dev/null
+++ b/games/xbattle/distinfo
@@ -0,0 +1 @@
+MD5 (xbattle-5.4.1.tar.gz) = 9eb96c644807156a060f753b4d06df92
diff --git a/games/xbattle/files/patch-aa b/games/xbattle/files/patch-aa
new file mode 100644
index 000000000000..0d54e72294da
--- /dev/null
+++ b/games/xbattle/files/patch-aa
@@ -0,0 +1,23 @@
+*** Imakefile.orig Tue Apr 29 16:11:52 1997
+--- Imakefile Tue Apr 29 16:13:28 1997
+***************
+*** 7,15 ****
+ #endif
+ #endif
+
+! DEFINES = -DDEFAULT_XBO_DIR=\"/export/home/lesher/xbos\" \
+! -DDEFAULT_XBT_DIR=\"/export/home/lesher/xbts\" \
+! -DDEFAULT_XBA_DIR=\"/export/home/lesher/xbas\"
+ LOCAL_LIBRARIES = $(XLIB)
+ SYS_LIBRARIES = -lm
+ SRCS = command.c \
+--- 7,15 ----
+ #endif
+ #endif
+
+! DEFINES = -DDEFAULT_XBO_DIR=\"$(PREFIX)/etc/xbattle/xbos\" \
+! -DDEFAULT_XBT_DIR=\"$(PREFIX)/etc/xbattle/xbts\" \
+! -DDEFAULT_XBA_DIR=\"$(PREFIX)/etc/xbattle/xbas\"
+ LOCAL_LIBRARIES = $(XLIB)
+ SYS_LIBRARIES = -lm
+ SRCS = command.c \
diff --git a/games/xbattle/pkg-comment b/games/xbattle/pkg-comment
new file mode 100644
index 000000000000..91e8dc7f2262
--- /dev/null
+++ b/games/xbattle/pkg-comment
@@ -0,0 +1 @@
+A concurrent multi-player battle strategy game
diff --git a/games/xbattle/pkg-descr b/games/xbattle/pkg-descr
new file mode 100644
index 000000000000..52073a6e90ee
--- /dev/null
+++ b/games/xbattle/pkg-descr
@@ -0,0 +1,39 @@
+ This is version 5.4.1 of xbattle, by Greg Lesher, based on the original
+by Steve Lehar released in 1991, and including certain enhancements,
+modifications, and bug fixes suggested by a number of contributers from
+all over the world. The extensive changes from version 5.1, the last
+official xbattle release, are outlined below. The latest version can be
+obtained by anonymous ftp to cns-ftp.bu.edu in the pub/xbattle direction
+in compressed and gzip-ed tar format (xbattle-5.4.1.tar.Z and
+xbattle-5.4.1.tar.gz). There is an xbattle Web page
+(http://cns-web.bu.edu/pub/xpip/html/xbattle.html), which contains the
+latest release information, tutorials, file archives, and a comprehensive
+on-line manual.
+
+xbattle is a concurrent multi-player game which combines elements of
+strategy with arcade-like action to capture a wide range of military
+scenarios. The game is based on X Windows, which you must have
+installed to run xbattle. Opponents play from separate displays, with commands
+being executed concurrently -- the players do not take "turns", but rather
+they all issue their commands simultaneously. There can be any number of
+players, with each player assigned to a specific team, indicated by
+marker colors. The game board is a matrix of cells (square, hexes, etc.) that
+can be occupied by colored troops, with the goal of the game being to
+eliminate the enemy from the board by attacking cells occupied by enemy
+troops. A wide variety of command line options (and previously configured game
+files) provide an abundance of different scenarios and gaming environments.
+
+If you have never used xbattle before, we strongly suggest you read
+through the online introduction at the Web site specified above. To get the
+feel of the game, you can run the tutorials (called "tutorial1" and
+"tutorial2") that are supplied with the game. These are shell scripts
+that run on unix systems and start up a series of small example games that
+you can play around with to learn the various options available with the
+game. If you are not on a unix system, print out the tutorials and type
+in the embedded command lines by hand. If you are interested in the
+philosophical and game design issues of xbattle, or want to get immediate
+notice of the latest releases, updates, and bug fixes, send email to
+xbattle_request@gnu.ai.mit.edu and we will put you on the xbattle mailing
+list.
+_________
+Gregory W. Lesher, lesher@cns.bu.edu
diff --git a/games/xbattle/pkg-plist b/games/xbattle/pkg-plist
new file mode 100644
index 000000000000..7f3124059ede
--- /dev/null
+++ b/games/xbattle/pkg-plist
@@ -0,0 +1,19 @@
+bin/xbattle
+etc/xbattle/xbas/simple.xba
+etc/xbattle/xbos/atlas.xbo
+etc/xbattle/xbos/default.xbo
+etc/xbattle/xbos/demo.xbo
+etc/xbattle/xbos/desert.xbo
+etc/xbattle/xbos/io.xbo
+etc/xbattle/xbos/skirmish.xbo
+etc/xbattle/xbos/space.xbo
+etc/xbattle/xbos/tribal.xbo
+etc/xbattle/xbos/tropical.xbo
+etc/xbattle/xbos/tropical2.xbo
+etc/xbattle/xbos/tundra.xbo
+etc/xbattle/xbts/castle.xbt
+etc/xbattle/xbts/natural.xbt
+man/man1/xbattle.1.gz
+share/doc/xbattle/README
+share/doc/xbattle/tutorial1
+share/doc/xbattle/tutorial2