aboutsummaryrefslogtreecommitdiff
path: root/games/xshipwars-client
diff options
context:
space:
mode:
authorChris Piazza <cpiazza@FreeBSD.org>1999-11-23 01:20:39 +0000
committerChris Piazza <cpiazza@FreeBSD.org>1999-11-23 01:20:39 +0000
commit183deab263e29466beda43601083bfe71ed0e174 (patch)
treedc1125e3deea344049660046da438c0c6c34db1d /games/xshipwars-client
parent64c59a88a868792789f1216e0dff5f13fa8a5633 (diff)
downloadports-183deab263e29466beda43601083bfe71ed0e174.tar.gz
ports-183deab263e29466beda43601083bfe71ed0e174.zip
Notes
Diffstat (limited to 'games/xshipwars-client')
-rw-r--r--games/xshipwars-client/Makefile49
-rw-r--r--games/xshipwars-client/distinfo2
-rw-r--r--games/xshipwars-client/files/patch-aa213
-rw-r--r--games/xshipwars-client/pkg-comment1
-rw-r--r--games/xshipwars-client/pkg-descr5
-rw-r--r--games/xshipwars-client/pkg-message18
-rw-r--r--games/xshipwars-client/pkg-plist134
7 files changed, 422 insertions, 0 deletions
diff --git a/games/xshipwars-client/Makefile b/games/xshipwars-client/Makefile
new file mode 100644
index 000000000000..e6ccc6a903f7
--- /dev/null
+++ b/games/xshipwars-client/Makefile
@@ -0,0 +1,49 @@
+# New ports collection makefile for: XShipWars-Game-Client
+# Version required: 1.23
+# Date created: Nov 7th 1999
+# Whom: troll
+#
+# $FreeBSD$
+#
+
+DISTNAME= xshipwars-client-1.23
+CATEGORIES= games
+MASTER_SITES= ftp://fox.mit.edu/pub/xsw/
+DISTFILES= xsw1.23.tgz stimages1.3.tgz
+
+MAINTAINER= troll@digitalspark.net
+
+WRKSRC= ${WRKDIR}/xsw1.23/client
+
+USE_GMAKE= YES
+MAKEFILE= Makefile.FreeBSD
+
+post-install:
+ @ ${ECHO} "===> Initalizing Sounds Directory"
+ @ ${TOUCH} ${PREFIX}/share/xshipwars/sounds/SoundsGoHere
+ @ ${ECHO} "===> Installing Default Image Set "
+ @ ${MKDIR} ${PREFIX}/share/xshipwars
+ @ ${CP} -R ${WRKSRC}/../../images \
+ ${PREFIX}/share/xshipwars/
+ @ chmod -R 744 ${PREFIX}/share/xshipwars
+ @ chmod -R a+X ${PREFIX}/share/xshipwars
+ @ ${ECHO} "===> Installing Documentation "
+ @ ${MKDIR} ${PREFIX}/share/doc/xshipwars
+ @${INSTALL_DATA} ${WRKSRC}/../README \
+ ${PREFIX}/share/doc/xshipwars
+ @${INSTALL_DATA} ${WRKSRC}/../CREDITS \
+ ${PREFIX}/share/doc/xshipwars
+ @${INSTALL_DATA} ${WRKSRC}/../DOCS_NOW_ONLINE \
+ ${PREFIX}/share/doc/xshipwars
+ @${INSTALL_DATA} ${WRKSRC}/../INSTALL \
+ ${PREFIX}/share/doc/xshipwars
+ @${INSTALL_DATA} ${WRKSRC}/../LICENSE \
+ ${PREFIX}/share/doc/xshipwars
+ @${INSTALL_DATA} ${WRKSRC}/../TODO \
+ ${PREFIX}/share/doc/xshipwars
+ @ ${ECHO} "===> Stripping Binary "
+ @ strip ${PREFIX}/bin/xsw
+
+ @${CAT} ${PKGDIR}/MESSAGE
+
+.include <bsd.port.mk>
diff --git a/games/xshipwars-client/distinfo b/games/xshipwars-client/distinfo
new file mode 100644
index 000000000000..2b1e3e5b5621
--- /dev/null
+++ b/games/xshipwars-client/distinfo
@@ -0,0 +1,2 @@
+MD5 (xsw1.23.tgz) = 2a038a8ba81cf0025f762dd24b4b8a50
+MD5 (stimages1.3.tgz) = 92c9e4470ea4e60cac2c20093b48fdee
diff --git a/games/xshipwars-client/files/patch-aa b/games/xshipwars-client/files/patch-aa
new file mode 100644
index 000000000000..054f07f5825a
--- /dev/null
+++ b/games/xshipwars-client/files/patch-aa
@@ -0,0 +1,213 @@
+diff -rud ../../xsw1.23.orig/client/.xshipwarsrc ./.xshipwarsrc
+--- ../../xsw1.23.orig/client/.xshipwarsrc Mon Nov 22 17:07:39 1999
++++ ./.xshipwarsrc Mon Nov 22 17:09:13 1999
+@@ -12,7 +12,7 @@
+
+ # Directories and files:
+
+-ToplevelDir = /usr/games/xshipwars
++ToplevelDir = /usr/local/share/xshipwars
+ EtcDir = etc
+ ImagesDir = images
+ SoundsDir = sounds
+Only in .: .xshipwarsrc.orig
+diff -rud ../../xsw1.23.orig/client/Makefile.FreeBSD ./Makefile.FreeBSD
+--- ../../xsw1.23.orig/client/Makefile.FreeBSD Mon Nov 22 17:07:40 1999
++++ ./Makefile.FreeBSD Mon Nov 22 17:09:13 1999
+@@ -68,16 +68,16 @@
+ COPY = cp
+ MKDIR = mkdir
+
+-INSTBINFLAGS = -m 0755
+-INSTUIDFLAGS = -m 4755
+-INSTLIBFLAGS = -m 0644
+-INSTINCFLAGS = -m 0444
+-INSTMANFLAGS = -m 0444
+-INSTCFGFLAGS = -m 0644
+-INSTDATFLAGS = -m 0444
++INSTBINFLAGS = -c -m 0755
++INSTUIDFLAGS = -c -m 4755
++INSTLIBFLAGS = -c -m 0644
++INSTINCFLAGS = -c -m 0444
++INSTMANFLAGS = -c -m 0444
++INSTCFGFLAGS = -c -m 0644
++INSTDATFLAGS = -c -m 0444
+
+-DIR_XBIN = ${X11BASE}/bin
+-DIR_XSW = ${X11BASE}/share/xshipwars
++DIR_XBIN = ${PREFIX}/bin
++DIR_XSW = ${PREFIX}/share/xshipwars
+ RCFILELOCAL = .xshipwarsrc
+ RCFILEGLOBAL = xshipwarsrc
+
+@@ -106,11 +106,6 @@
+ $(INSTALL) $(INSTCFGFLAGS) default.ocsn $(DIR_XSW)/etc
+ $(INSTALL) $(INSTCFGFLAGS) mainmenu.conf $(DIR_XSW)/etc
+ $(COPY) -R images $(DIR_XSW)
+- @echo "-------------------------------------------------------------------------"
+- @echo "Installation of client complete! Make sure that you have atleast one"
+- @echo "image set (sometimes called graphics set) package installed."
+- @echo "Image set packages are listed on the same location you obtained this"
+- @echo "source."
+
+
+ # ########################################################################
+Only in .: Makefile.FreeBSD.orig
+diff -rud ../../xsw1.23.orig/client/disk.c ./disk.c
+--- ../../xsw1.23.orig/client/disk.c Mon Nov 22 17:07:33 1999
++++ ./disk.c Mon Nov 22 17:09:13 1999
+@@ -39,7 +39,7 @@
+
+ #include <stdio.h>
+ #include <stdlib.h>
+-#include <malloc.h>
++//#include <malloc.h>
+ #include <string.h>
+ #include <ctype.h>
+ #include <fcntl.h>
+Only in .: disk.c.orig
+diff -rud ../../xsw1.23.orig/client/fio.c ./fio.c
+--- ../../xsw1.23.orig/client/fio.c Mon Nov 22 17:07:33 1999
++++ ./fio.c Mon Nov 22 17:09:13 1999
+@@ -11,7 +11,7 @@
+ */
+
+ #include <stdio.h>
+-#include <malloc.h>
++//#include <malloc.h>
+ #include <string.h>
+
+ #include "../include/fio.h"
+Only in .: fio.c.orig
+diff -rud ../../xsw1.23.orig/client/mf.c ./mf.c
+--- ../../xsw1.23.orig/client/mf.c Mon Nov 22 17:07:33 1999
++++ ./mf.c Mon Nov 22 17:09:13 1999
+@@ -1,6 +1,6 @@
+ #include <stdio.h>
+ #include <db.h>
+-#include <malloc.h>
++//#include <malloc.h>
+ #include <string.h>
+ #include <stdlib.h>
+ #include <sys/types.h>
+Only in .: mf.c.orig
+diff -rud ../../xsw1.23.orig/client/netsend.c ./netsend.c
+--- ../../xsw1.23.orig/client/netsend.c Mon Nov 22 17:07:39 1999
++++ ./netsend.c Mon Nov 22 17:09:13 1999
+@@ -56,6 +56,7 @@
+
+ */
+
++#include <sys/types.h>
+ #include <sys/socket.h>
+
+ #include "xsw.h"
+Only in .: netsend.c.orig
+diff -rud ../../xsw1.23.orig/client/osw-x.c ./osw-x.c
+--- ../../xsw1.23.orig/client/osw-x.c Mon Nov 22 17:07:33 1999
++++ ./osw-x.c Mon Nov 22 17:09:13 1999
+@@ -271,7 +271,7 @@
+ */
+
+ #include <stdio.h>
+-#include <malloc.h>
++//#include <malloc.h>
+ #include <stdlib.h>
+ #include <string.h>
+ #include <unistd.h>
+Only in .: osw-x.c.orig
+diff -rud ../../xsw1.23.orig/client/prochandle.c ./prochandle.c
+--- ../../xsw1.23.orig/client/prochandle.c Mon Nov 22 17:07:33 1999
++++ ./prochandle.c Mon Nov 22 17:09:13 1999
+@@ -29,7 +29,7 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
+-#include <malloc.h>
++//#include <malloc.h>
+ #include <unistd.h>
+ #include <signal.h>
+
+Only in .: prochandle.c.orig
+diff -rud ../../xsw1.23.orig/client/string.c ./string.c
+--- ../../xsw1.23.orig/client/string.c Mon Nov 22 17:07:33 1999
++++ ./string.c Mon Nov 22 17:09:13 1999
+@@ -62,7 +62,7 @@
+
+
+ #include <stdio.h>
+-#include <malloc.h>
++//#include <malloc.h>
+ #include <string.h>
+ #include <stdlib.h>
+ #include <ctype.h>
+Only in .: string.c.orig
+diff -rud ../../xsw1.23.orig/client/tga.c ./tga.c
+--- ../../xsw1.23.orig/client/tga.c Mon Nov 22 17:07:33 1999
++++ ./tga.c Mon Nov 22 17:09:13 1999
+@@ -48,7 +48,7 @@
+
+
+ #include <stdio.h>
+-#include <malloc.h>
++//#include <malloc.h>
+ #include <string.h>
+ #include <db.h>
+ #include <sys/types.h>
+Only in .: tga.c.orig
+diff -rud ../../xsw1.23.orig/client/unvfile.c ./unvfile.c
+--- ../../xsw1.23.orig/client/unvfile.c Mon Nov 22 17:07:33 1999
++++ ./unvfile.c Mon Nov 22 17:09:13 1999
+@@ -34,7 +34,7 @@
+ #include <stdio.h>
+ #include <string.h>
+ #include <stdlib.h>
+-#include <malloc.h>
++//#include <malloc.h>
+ #include <db.h>
+ #include <sys/types.h>
+ #include <unistd.h>
+Only in .: unvfile.c.orig
+diff -rud ../../xsw1.23.orig/client/wfbrowser.c ./wfbrowser.c
+--- ../../xsw1.23.orig/client/wfbrowser.c Mon Nov 22 17:07:33 1999
++++ ./wfbrowser.c Mon Nov 22 17:09:13 1999
+@@ -62,7 +62,7 @@
+
+ #include <stdio.h>
+ #include <string.h>
+-#include <malloc.h>
++//#include <malloc.h>
+ #include <fnmatch.h>
+ #include <sys/stat.h>
+
+Only in .: wfbrowser.c.orig
+diff -rud ../../xsw1.23.orig/client/xsw.h ./xsw.h
+--- ../../xsw1.23.orig/client/xsw.h Mon Nov 22 17:07:39 1999
++++ ./xsw.h Mon Nov 22 17:09:13 1999
+@@ -14,7 +14,7 @@
+ #include <stdio.h>
+ #include <db.h>
+ #include <sys/types.h>
+-#include <malloc.h>
++//#include <malloc.h>
+ #include <string.h>
+ #include <stdlib.h>
+ #include <unistd.h>
+@@ -152,11 +152,11 @@
+ * exist. These are only default values, they can be changed in the
+ * XSW_RCFILE or XSW_RCFILE_GLOBAL.
+ */
+-#define DEF_XSW_TOPLEVEL_DIR "/usr/games/xshipwars"
+-#define DEF_XSW_IMAGES_DIR "/usr/games/xshipwars/images"
+-#define DEF_XSW_SOUNDS_DIR "/usr/games/xshipwars/sounds"
+-#define DEF_XSW_ETC_DIR "/usr/games/xshipwars/etc"
+-#define DEF_ETC_DIR "/etc"
++#define DEF_XSW_TOPLEVEL_DIR "/usr/local/share/xshipwars"
++#define DEF_XSW_IMAGES_DIR "/usr/local/share/xshipwars/images"
++#define DEF_XSW_SOUNDS_DIR "/usr/local/share/xshipwars/sounds"
++#define DEF_XSW_ETC_DIR "/usr/local/share/xshipwars/etc"
++#define DEF_ETC_DIR "/usr/local/etc"
+ #define DEF_SW_SERVER_DIR "/home/swserv"
+
+
+Only in .: xsw.h.orig
diff --git a/games/xshipwars-client/pkg-comment b/games/xshipwars-client/pkg-comment
new file mode 100644
index 000000000000..474cfbf1da95
--- /dev/null
+++ b/games/xshipwars-client/pkg-comment
@@ -0,0 +1 @@
+Hardcore internet space combat/economy game. Like EV on crack.
diff --git a/games/xshipwars-client/pkg-descr b/games/xshipwars-client/pkg-descr
new file mode 100644
index 000000000000..4c9547ac0be6
--- /dev/null
+++ b/games/xshipwars-client/pkg-descr
@@ -0,0 +1,5 @@
+ShipWars (aka XSW) development started in January 1998. its is now a
+space oriented graphical MUD/game based on the charactures from Bajor3D.
+It also now has its own stand-alone client/server, therefore it is no
+longer MUCK dependant. Its currently being developed on Linux/X and as of
+version .55 will compile on any UNIX system.
diff --git a/games/xshipwars-client/pkg-message b/games/xshipwars-client/pkg-message
new file mode 100644
index 000000000000..8d26b3a24774
--- /dev/null
+++ b/games/xshipwars-client/pkg-message
@@ -0,0 +1,18 @@
+ - --------------------------------------------------------------------- -
+ - XSHIPWARS CLIENT PORT NOTES ported by trolld -
+ - --------------------------------------------------------------------- -
+ - -
+ - The XShipWars documentation has been installed in: -
+ - $PREFIX/share/doc/xshipwars/ -
+ - -
+ - Type xsw to start the game client! -
+ - -
+ - If you get "Subsystems message: X server errors", try running the -
+ - game with the --no_xshm flag. -
+ - -
+ - Enjoy! -
+ - - trolld -
+ - -
+ - --------------------------------------------------------------------- -
+ - XShipWars website: http://fox.mit.edu/xsw/ -
+ - --------------------------------------------------------------------- -
diff --git a/games/xshipwars-client/pkg-plist b/games/xshipwars-client/pkg-plist
new file mode 100644
index 000000000000..71b5de3bd704
--- /dev/null
+++ b/games/xshipwars-client/pkg-plist
@@ -0,0 +1,134 @@
+bin/xsw
+share/doc/xshipwars/CREDITS
+share/doc/xshipwars/DOCS_NOW_ONLINE
+share/doc/xshipwars/INSTALL
+share/doc/xshipwars/LICENSE
+share/doc/xshipwars/README
+share/doc/xshipwars/TODO
+share/xshipwars/etc/default.ocsn
+share/xshipwars/etc/mainmenu.conf
+share/xshipwars/etc/xshipwarsrc
+share/xshipwars/images/celestial/asteroid01.tga
+share/xshipwars/images/celestial/bajor.tga
+share/xshipwars/images/celestial/cardassia.tga
+share/xshipwars/images/celestial/comet.tga
+share/xshipwars/images/celestial/earth.tga
+share/xshipwars/images/celestial/moon01.tga
+share/xshipwars/images/celestial/moon02.tga
+share/xshipwars/images/celestial/nebula01.tga
+share/xshipwars/images/celestial/nebula02.tga
+share/xshipwars/images/celestial/planet01.tga
+share/xshipwars/images/celestial/planet02.tga
+share/xshipwars/images/celestial/planet03.tga
+share/xshipwars/images/celestial/planet04.tga
+share/xshipwars/images/celestial/planet05.tga
+share/xshipwars/images/celestial/qonos.tga
+share/xshipwars/images/celestial/star01.tga
+share/xshipwars/images/celestial/star02.tga
+share/xshipwars/images/celestial/star03.tga
+share/xshipwars/images/celestial/star04.tga
+share/xshipwars/images/client/bpanel_l1.tga
+share/xshipwars/images/client/bpanel_l2.tga
+share/xshipwars/images/client/bpanel_l3.tga
+share/xshipwars/images/client/bpanel_l4.tga
+share/xshipwars/images/client/bpanel_mesg.tga
+share/xshipwars/images/client/bpanel_ol_dmgctl.tga
+share/xshipwars/images/client/bpanel_ol_hull.tga
+share/xshipwars/images/client/bpanel_ol_power.tga
+share/xshipwars/images/client/bpanel_ol_shields.tga
+share/xshipwars/images/client/bpanel_ol_throttlel.tga
+share/xshipwars/images/client/bpanel_ol_throttler.tga
+share/xshipwars/images/client/bpanel_ol_thrustvector.tga
+share/xshipwars/images/client/bpanel_ol_vis.tga
+share/xshipwars/images/client/bpanel_r1.tga
+share/xshipwars/images/client/bpanel_r2.tga
+share/xshipwars/images/client/bpanel_r3.tga
+share/xshipwars/images/client/bpanel_r4.tga
+share/xshipwars/images/client/lensflare1.tga
+share/xshipwars/images/client/lensflare2.tga
+share/xshipwars/images/client/mesg_scr_bkg.tga
+share/xshipwars/images/client/scanner_mark_area.tga
+share/xshipwars/images/client/scanner_mark_home.tga
+share/xshipwars/images/client/scanner_mark_locked.tga
+share/xshipwars/images/client/scanner_mark_unknown.tga
+share/xshipwars/images/client/scanner_mark_weapon.tga
+share/xshipwars/images/client/splash_bkg.tga
+share/xshipwars/images/client/splash_pb_l.tga
+share/xshipwars/images/client/splash_pb_r.tga
+share/xshipwars/images/client/splash_pb_t.tga
+share/xshipwars/images/client/strobeglow1.tga
+share/xshipwars/images/client/vs_mark_incoming_fire.tga
+share/xshipwars/images/client/vs_tmark_object.tga
+share/xshipwars/images/client/vs_tmark_vessel.tga
+share/xshipwars/images/client/vs_wep_projectile.tga
+share/xshipwars/images/client/vs_wep_pulse.tga
+share/xshipwars/images/client/vs_wep_stream.tga
+share/xshipwars/images/default.isr
+share/xshipwars/images/effects/explosion1.tga
+share/xshipwars/images/effects/explosion2.tga
+share/xshipwars/images/effects/explosion3.tga
+share/xshipwars/images/effects/explosion4.tga
+share/xshipwars/images/icons/bridge.tga
+share/xshipwars/images/icons/economy.tga
+share/xshipwars/images/icons/messages.tga
+share/xshipwars/images/icons/options.tga
+share/xshipwars/images/icons/universe.tga
+share/xshipwars/images/mainmenu/background.tga
+share/xshipwars/images/mainmenu/connect0.tga
+share/xshipwars/images/mainmenu/connect1.tga
+share/xshipwars/images/mainmenu/connect2.tga
+share/xshipwars/images/mainmenu/connectlast0.tga
+share/xshipwars/images/mainmenu/connectlast1.tga
+share/xshipwars/images/mainmenu/connectlast2.tga
+share/xshipwars/images/mainmenu/exit0.tga
+share/xshipwars/images/mainmenu/exit1.tga
+share/xshipwars/images/mainmenu/exit2.tga
+share/xshipwars/images/mainmenu/options0.tga
+share/xshipwars/images/mainmenu/options1.tga
+share/xshipwars/images/mainmenu/options2.tga
+share/xshipwars/images/mainmenu/title1.tga
+share/xshipwars/images/misc/buoy.tga
+share/xshipwars/images/misc/debris01.tga
+share/xshipwars/images/misc/debris02.tga
+share/xshipwars/images/misc/pdp01.tga
+share/xshipwars/images/misc/ptr01.tga
+share/xshipwars/images/projectiles/pulse_green.tga
+share/xshipwars/images/projectiles/pulse_yellow.tga
+share/xshipwars/images/projectiles/torpedo_blue.tga
+share/xshipwars/images/projectiles/torpedo_purple.tga
+share/xshipwars/images/projectiles/torpedo_red.tga
+share/xshipwars/images/projectiles/warhead01.tga
+share/xshipwars/images/stations/cardassian01.tga
+share/xshipwars/images/stations/satelite01.tga
+share/xshipwars/images/stations/starbase01.tga
+share/xshipwars/images/stations/starbase02.tga
+share/xshipwars/images/vessels/bird_of_prey.tga
+share/xshipwars/images/vessels/borg_cube.tga
+share/xshipwars/images/vessels/borg_diamond.tga
+share/xshipwars/images/vessels/borg_superquadratic.tga
+share/xshipwars/images/vessels/defiant.tga
+share/xshipwars/images/vessels/ferrengi_freighter.tga
+share/xshipwars/images/vessels/galor.tga
+share/xshipwars/images/vessels/intrepid.tga
+share/xshipwars/images/vessels/jemhaddar.tga
+share/xshipwars/images/vessels/nebula.tga
+share/xshipwars/images/vessels/runabout.tga
+share/xshipwars/images/vessels/s8472_bioship.tga
+share/xshipwars/images/vessels/vixen.tga
+share/xshipwars/images/vessels/vortcha.tga
+share/xshipwars/images/vessels/warbird.tga
+share/xshipwars/sounds/SoundsGoHere
+@dirrm share/doc/xshipwars
+@dirrm share/xshipwars/etc
+@dirrm share/xshipwars/images/celestial
+@dirrm share/xshipwars/images/client
+@dirrm share/xshipwars/images/effects
+@dirrm share/xshipwars/images/icons
+@dirrm share/xshipwars/images/mainmenu
+@dirrm share/xshipwars/images/misc
+@dirrm share/xshipwars/images/projectiles
+@dirrm share/xshipwars/images/stations
+@dirrm share/xshipwars/images/vessels
+@dirrm share/xshipwars/images
+@dirrm share/xshipwars/sounds
+@dirrm share/xshipwars