summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorrh <rh@pkgsrc.org>2000-05-29 06:36:00 +0000
committerrh <rh@pkgsrc.org>2000-05-29 06:36:00 +0000
commit0a91d3588e3776352a85d4bfc348c8a5d4ffa2bf (patch)
tree7829da235a49f38ddda33a0586d55bba3a46493f /games
parent0243a5a542e589b0dcc4f8446d24621e4120ce41 (diff)
downloadpkgsrc-0a91d3588e3776352a85d4bfc348c8a5d4ffa2bf.tar.gz
Initial import of xracer-0.96.9, a clone of the popular Psygnosis game
Wipeout, as provided in PR 10217 by Bernd Sieker.
Diffstat (limited to 'games')
-rw-r--r--games/xracer/Makefile38
-rw-r--r--games/xracer/files/md53
-rw-r--r--games/xracer/files/patch-sum10
-rw-r--r--games/xracer/patches/patch-aa12
-rw-r--r--games/xracer/patches/patch-ab24
-rw-r--r--games/xracer/patches/patch-ac13
-rw-r--r--games/xracer/patches/patch-ad15
-rw-r--r--games/xracer/patches/patch-ae15
-rw-r--r--games/xracer/patches/patch-af13
-rw-r--r--games/xracer/patches/patch-ag13
-rw-r--r--games/xracer/patches/patch-ah13
-rw-r--r--games/xracer/pkg/COMMENT1
-rw-r--r--games/xracer/pkg/DESCR5
-rw-r--r--games/xracer/pkg/PLIST84
14 files changed, 259 insertions, 0 deletions
diff --git a/games/xracer/Makefile b/games/xracer/Makefile
new file mode 100644
index 00000000000..ee9ec33462c
--- /dev/null
+++ b/games/xracer/Makefile
@@ -0,0 +1,38 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/05/29 06:36:00 rh Exp $
+#
+
+DISTNAME= xracer-0.96.9
+CATEGORIES= games x11
+MASTER_SITES= http://xracer.annexia.org/files/
+
+MAINTAINER= bsieker@freenet.de
+HOMEPAGE= http://xracer.annexia.org/
+
+DEPENDS+= perl-*:../../lang/perl5
+DEPENDS+= Mesa-*:../../graphics/Mesa
+DEPENDS+= mpeg-*:../../graphics/mpeg-lib
+DEPENDS+= jpeg>=6:../../graphics/jpeg
+
+USE_X11= YES
+USE_GMAKE= YES
+GNU_CONFIGURE= YES
+CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include"
+CONFIGURE_ENV+= LDFLAGS="-Wl,-R${LOCALBASE}/lib -L${LOCALBASE}/lib -lintl"
+
+USE_LIBTOOL= YES
+LTCONFIG_OVERRIDE=${WRKSRC}/ltconfig
+
+pre-patch:
+.for perlfile in blender2track/xracer-blender2track.pl \
+ mktube/xracer-mktube.pl \
+ mktrack/xracer-mktrack.pl \
+ mktrackscenery/xracer-mktrackscenery.pl \
+ mkcraft/xracer-mkcraft.pl \
+ mkmeshnotex/xracer-mkmeshnotex.pl
+ @${CP} ${WRKSRC}/tools/${perlfile} ${WRKSRC}/tools/${perlfile}.BAK
+ @${SED} 's!/usr/bin/perl!${LOCALBASE}/bin/perl!g' \
+ < ${WRKSRC}/tools/${perlfile}.BAK > ${WRKSRC}/tools/${perlfile}
+ @${RM} ${WRKSRC}/tools/${perlfile}.BAK
+.endfor
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/games/xracer/files/md5 b/games/xracer/files/md5
new file mode 100644
index 00000000000..26d174ceb73
--- /dev/null
+++ b/games/xracer/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/05/29 06:36:00 rh Exp $
+
+MD5 (xracer-0.96.9.tar.gz) = 8daee4a6f7864f37203b4f8db25dfc2d
diff --git a/games/xracer/files/patch-sum b/games/xracer/files/patch-sum
new file mode 100644
index 00000000000..e13791bd34f
--- /dev/null
+++ b/games/xracer/files/patch-sum
@@ -0,0 +1,10 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/05/29 06:36:01 rh Exp $
+
+MD5 (patch-aa) = 976919708921233417614776473f1730
+MD5 (patch-ab) = 137415385fafd8592817aec1f936851b
+MD5 (patch-ac) = 79d5a29ba5f61c62621f289a77210194
+MD5 (patch-ad) = 9066317ea9db7a297353aaee0eab3005
+MD5 (patch-ae) = 744b64bb6e6e88486924aebf8c7ed4de
+MD5 (patch-af) = 99a98cf5f75b44db40c0d900858db4d7
+MD5 (patch-ag) = 4c9b3729b78b7bbfab6eee6c32babd54
+MD5 (patch-ah) = 8157b88c8f166e8671a5841040385b0c
diff --git a/games/xracer/patches/patch-aa b/games/xracer/patches/patch-aa
new file mode 100644
index 00000000000..c0aa9e36efd
--- /dev/null
+++ b/games/xracer/patches/patch-aa
@@ -0,0 +1,12 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/05/29 06:36:01 rh Exp $
+
+--- include/xracer-joystick.h.orig Sat May 27 04:58:58 2000
++++ include/xracer-joystick.h Sat May 27 04:59:18 2000
+@@ -31,6 +31,6 @@
+ extern void xrJoystickInit (void);
+ extern int xrJoystickRead (struct xrJoystickStatus *status);
+
+-extern const char *xrJoystickDevice;
++extern char *xrJoystickDevice;
+
+ #endif /* __xracer_joystick_h__ */
diff --git a/games/xracer/patches/patch-ab b/games/xracer/patches/patch-ab
new file mode 100644
index 00000000000..33db7dee8a3
--- /dev/null
+++ b/games/xracer/patches/patch-ab
@@ -0,0 +1,24 @@
+$NetBSD: patch-ab,v 1.1.1.1 2000/05/29 06:36:01 rh Exp $
+
+--- src/Makefile.in.orig Mon Mar 20 22:13:03 2000
++++ src/Makefile.in Sat May 27 05:43:16 2000
+@@ -175,7 +175,7 @@
+ video.c \
+ ws.c
+
+-xracer_LDADD = mpeg/libmpeg.a
++xracer_LDADD = mpeg/libmpeg.a -lintl
+
+ EXTRA_DIST = arch_posix.c \
+ joystick_linux.c joystick_freebsd.c joystick_generic.c \
+@@ -202,8 +202,8 @@
+ track.o utils.o video.o ws.o
+ xracer_DEPENDENCIES = mpeg/libmpeg.a
+ xracer_LDFLAGS =
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
++COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(X_CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(X_CFLAGS)
+ LINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@
+ DIST_COMMON = Makefile.am Makefile.in
+
diff --git a/games/xracer/patches/patch-ac b/games/xracer/patches/patch-ac
new file mode 100644
index 00000000000..9b249904c9d
--- /dev/null
+++ b/games/xracer/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1.1.1 2000/05/29 06:36:01 rh Exp $
+
+--- config.h.in.orig Sat May 27 05:11:10 2000
++++ config.h.in Sat May 27 05:11:28 2000
+@@ -173,7 +173,7 @@
+ #undef HAVE_GETOPT_H
+
+ /* Define if you have the <jpeglib.h> header file. */
+-#undef HAVE_JPEGLIB_H
++#define HAVE_JPEGLIB_H
+
+ /* Define if you have the <limits.h> header file. */
+ #undef HAVE_LIMITS_H
diff --git a/games/xracer/patches/patch-ad b/games/xracer/patches/patch-ad
new file mode 100644
index 00000000000..914673d9911
--- /dev/null
+++ b/games/xracer/patches/patch-ad
@@ -0,0 +1,15 @@
+$NetBSD: patch-ad,v 1.1.1.1 2000/05/29 06:36:01 rh Exp $
+
+--- tracks/simple2/Makefile.in.orig Sat May 27 05:48:08 2000
++++ tracks/simple2/Makefile.in Sat May 27 05:48:29 2000
+@@ -169,8 +169,8 @@
+ obj_SnowMountain.lo obj_SnowMountain01.lo obj_SnowMountain02.lo \
+ obj_SnowMountain03.lo obj_StartGantry.lo obj_StartGantryLegs.lo \
+ backdrop.lo control.lo flare.lo sky.lo
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
++COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(X_CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(X_CFLAGS)
+ LINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@
+ DIST_COMMON = Makefile.am Makefile.in
+
diff --git a/games/xracer/patches/patch-ae b/games/xracer/patches/patch-ae
new file mode 100644
index 00000000000..da058672ec2
--- /dev/null
+++ b/games/xracer/patches/patch-ae
@@ -0,0 +1,15 @@
+$NetBSD: patch-ae,v 1.1.1.1 2000/05/29 06:36:01 rh Exp $
+
+--- craft/simple/Makefile.in.orig Sat May 27 05:48:46 2000
++++ craft/simple/Makefile.in Sat May 27 05:49:11 2000
+@@ -153,8 +153,8 @@
+ X_PRE_LIBS = @X_PRE_LIBS@
+ libcraftsimple_la_LIBADD =
+ libcraftsimple_la_OBJECTS = control.lo craft.lo
+-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
++COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(X_CFLAGS)
++LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(X_CFLAGS)
+ LINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@
+ DIST_COMMON = Makefile.am Makefile.in
+
diff --git a/games/xracer/patches/patch-af b/games/xracer/patches/patch-af
new file mode 100644
index 00000000000..a3828e54dc6
--- /dev/null
+++ b/games/xracer/patches/patch-af
@@ -0,0 +1,13 @@
+$NetBSD: patch-af,v 1.1.1.1 2000/05/29 06:36:01 rh Exp $
+
+--- tools/mkcraft/xracer-mkcraft.pl.orig Sat May 27 06:05:22 2000
++++ tools/mkcraft/xracer-mkcraft.pl Sat May 27 06:05:30 2000
+@@ -31,7 +31,7 @@
+
+ GetOptions ("output=s" => \$outputfilename,
+ "verbose" => \$verbose,
+- "help|?" => \$help);
++ "help" => \$help);
+
+ if ($help)
+ {
diff --git a/games/xracer/patches/patch-ag b/games/xracer/patches/patch-ag
new file mode 100644
index 00000000000..936d52fdd49
--- /dev/null
+++ b/games/xracer/patches/patch-ag
@@ -0,0 +1,13 @@
+$NetBSD: patch-ag,v 1.1.1.1 2000/05/29 06:36:01 rh Exp $
+
+--- doc/Makefile.in.orig Mon Mar 20 22:13:22 2000
++++ doc/Makefile.in Mon May 29 08:17:43 2000
+@@ -119,7 +119,7 @@
+ man_MANS = xracer.6
+
+ # Install documentation in the /usr/doc/xracer-n.n.n/ directory.
+-docdir = $(prefix)/doc/@PACKAGE@-@VERSION@
++docdir = $(prefix)/share/doc/@PACKAGE@-@VERSION@
+ doc_DATA = README.txt README.html faq.txt faq.html index.html
+
+ EXTRA_DIST = README.chtml README.html README.txt \
diff --git a/games/xracer/patches/patch-ah b/games/xracer/patches/patch-ah
new file mode 100644
index 00000000000..5f5e0ada3ae
--- /dev/null
+++ b/games/xracer/patches/patch-ah
@@ -0,0 +1,13 @@
+$NetBSD: patch-ah,v 1.1.1.1 2000/05/29 06:36:01 rh Exp $
+
+--- Makefile.in.orig Mon Mar 20 22:13:01 2000
++++ Makefile.in Mon May 29 08:27:40 2000
+@@ -122,7 +122,7 @@
+
+ EXTRA_DIST = Reconf Release.in xracer.spec
+
+-docdir = $(prefix)/doc/@PACKAGE@-@VERSION@
++docdir = $(prefix)/share/doc/@PACKAGE@-@VERSION@
+ doc_DATA = AUTHORS
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
diff --git a/games/xracer/pkg/COMMENT b/games/xracer/pkg/COMMENT
new file mode 100644
index 00000000000..71c4a23def4
--- /dev/null
+++ b/games/xracer/pkg/COMMENT
@@ -0,0 +1 @@
+XRacer is a clone of the popular Psygnosis game Wipeout
diff --git a/games/xracer/pkg/DESCR b/games/xracer/pkg/DESCR
new file mode 100644
index 00000000000..9f2bbe88e9d
--- /dev/null
+++ b/games/xracer/pkg/DESCR
@@ -0,0 +1,5 @@
+XRacer is a clone of the popular Psygnosis game Wipeout. At
+present, it is incomplete, but playable.
+
+XRacer is distributed under the terms of the GNU General
+Public License. Please see the file COPYING for details.
diff --git a/games/xracer/pkg/PLIST b/games/xracer/pkg/PLIST
new file mode 100644
index 00000000000..a8a28789ef8
--- /dev/null
+++ b/games/xracer/pkg/PLIST
@@ -0,0 +1,84 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/05/29 06:36:00 rh Exp $
+bin/xracer
+bin/xracer-blenderexport.py
+bin/xracer-blender2track.pl
+bin/xracer-mktube.pl
+bin/xracer-mktrack.pl
+bin/xracer-mktrackscenery.pl
+bin/xracer-mkcraft.pl
+bin/xracer-mkmeshnotex.pl
+man/man6/xracer.6
+share/xracer/tracks/libtracksimple2.so.0.0
+share/xracer/tracks/libtracksimple2.so.0
+share/xracer/tracks/libtracksimple2.so
+share/xracer/tracks/libtracksimple2.a
+share/xracer/craft/libcraftsimple.so.0.0
+share/xracer/craft/libcraftsimple.so.0
+share/xracer/craft/libcraftsimple.so
+share/xracer/craft/libcraftsimple.a
+share/xracer/backdrops/mountains4-alpha.jpg
+share/xracer/backdrops/mountains4.jpg
+share/xracer/fonts/crillee14.jpg
+share/xracer/fonts/crillee24.jpg
+share/xracer/fonts/crillee36.jpg
+share/xracer/fonts/crillee48.jpg
+share/xracer/powerups/autopilot-alpha.jpg
+share/xracer/powerups/autopilot.jpg
+share/xracer/powerups/energy-alpha.jpg
+share/xracer/powerups/energy.jpg
+share/xracer/powerups/faster-alpha.jpg
+share/xracer/powerups/faster.jpg
+share/xracer/powerups/shield-alpha.jpg
+share/xracer/powerups/shield.jpg
+share/xracer/sky/clouds2.jpg
+share/xracer/flare-textures/Flare1.jpg
+share/xracer/flare-textures/Flare2.jpg
+share/xracer/flare-textures/Flare3.jpg
+share/xracer/flare-textures/Flare4.jpg
+share/xracer/flare-textures/Flare5.jpg
+share/xracer/flare-textures/Flare6.jpg
+share/xracer/flare-textures/Shine0.jpg
+share/xracer/flare-textures/Shine1.jpg
+share/xracer/flare-textures/Shine2.jpg
+share/xracer/flare-textures/Shine3.jpg
+share/xracer/flare-textures/Shine4.jpg
+share/xracer/flare-textures/Shine5.jpg
+share/xracer/flare-textures/Shine6.jpg
+share/xracer/flare-textures/Shine7.jpg
+share/xracer/flare-textures/Shine8.jpg
+share/xracer/flare-textures/Shine9.jpg
+share/xracer/scene-textures/golgotha/5sqtunnelroaddark.jpg
+share/xracer/scene-textures/golgotha/buldbrickflr2half.jpg
+share/xracer/scene-textures/snow/snow1.jpg
+share/xracer/scene-textures/snow/snow2.jpg
+share/xracer/scene-textures/snow/snowtex1.jpg
+share/xracer/scene-textures/snow/snowtex2.jpg
+share/xracer/scene-textures/snow/snowtex3.jpg
+share/xracer/scene-textures/start_gantry_green.jpg
+share/xracer/track-textures/beestripes1.jpg
+share/xracer/track-textures/egyptsandbig.jpg
+share/xracer/track-textures/solid_grey.jpg
+share/xracer/track-textures/track5.jpg
+share/xracer/.xracer-data-directory
+share/doc/xracer-0.96.9/README.txt
+share/doc/xracer-0.96.9/README.html
+share/doc/xracer-0.96.9/faq.txt
+share/doc/xracer-0.96.9/faq.html
+share/doc/xracer-0.96.9/index.html
+share/doc/xracer-0.96.9/AUTHORS
+lib/perl5/site_perl/i386-netbsd/auto/XRacer/.packlist
+@dirrm lib/perl5/site_perl/i386-netbsd/auto/XRacer
+@dirrm share/doc/xracer-0.96.9
+@dirrm share/xracer/fonts
+@dirrm share/xracer/tracks
+@dirrm share/xracer/craft
+@dirrm share/xracer/backdrops
+@dirrm share/xracer/powerups
+@dirrm share/xracer/sky
+@dirrm share/xracer/track-textures
+@dirrm share/xracer/flare-textures
+@dirrm share/xracer/scene-textures/snow
+@dirrm share/xracer/scene-textures/golgotha
+@dirrm share/xracer/scene-textures
+@dirrm share/xracer/video
+@dirrm share/xracer