Import tuxkart-0.4.0

Tuxkart is a simple Go-Kart racing game, similar in style to
MarioKart.

Based on a submission from Gallon Sylvestre (MAINTAINER)
This commit is contained in:
ajacoutot 2008-11-10 22:11:36 +00:00
parent 5d414bd321
commit e0e0f39489
14 changed files with 410 additions and 0 deletions

31
games/tuxkart/Makefile Normal file
View File

@ -0,0 +1,31 @@
# $OpenBSD: Makefile,v 1.1.1.1 2008/11/10 22:11:36 ajacoutot Exp $
COMMENT = tuxkart is a simple Go-Kart racing game.
DISTNAME = tuxkart-0.4.0
CATEGORIES = games
HOMEPAGE = http://tuxkart.sourceforge.net/
MASTER_SITES = ${HOMEPAGE}/dist/
MAINTAINER = Gallon Sylvestre <ccna.syl@gmail.com>
# GPLv2
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB = GL ICE SM X11 Xext Xi Xmu c m pthread stdc++
BUILD_DEPENDS = ::devel/plib
USE_X11 = Yes
USE_GMAKE = Yes
CONFIGURE_STYLE = gnu
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include \
-I${X11BASE}/include" \
LIBS="-L${LOCALBASE}/lib"
.include <bsd.port.mk>

5
games/tuxkart/distinfo Normal file
View File

@ -0,0 +1,5 @@
MD5 (tuxkart-0.4.0.tar.gz) = 6EqydI/xzl7xHR19pRiPjw==
RMD160 (tuxkart-0.4.0.tar.gz) = K9xz+E8TmDXALh9EXJpGR3VBzdM=
SHA1 (tuxkart-0.4.0.tar.gz) = xUahD2A9vqsC7SFp8bQjcRnf8pU=
SHA256 (tuxkart-0.4.0.tar.gz) = LZBIQ1rFWN6/ktQw76VczxXGjhJTyXZIur5nQ3/4LBI=
SIZE (tuxkart-0.4.0.tar.gz) = 4932535

View File

@ -0,0 +1,31 @@
$OpenBSD: patch-configure,v 1.1.1.1 2008/11/10 22:11:36 ajacoutot Exp $
--- configure.orig Thu Mar 18 19:43:56 2004
+++ configure Sun Nov 9 12:34:29 2008
@@ -4096,7 +4096,7 @@ fi
fi
- x_suffix="$X_LIBS $X_PRE_LIBS -lpthread -lX11 -lXi -lXext -lXmu $X_EXTRA_LIBS -lm"
+ x_suffix="$X_LIBS $X_PRE_LIBS -pthread -lX11 -lXi -lXext -lXmu $X_EXTRA_LIBS -lm"
echo "$as_me:4101: checking for glNewList in -lGL" >&5
echo $ECHO_N "checking for glNewList in -lGL... $ECHO_C" >&6
@@ -4642,15 +4642,15 @@ if test "x$ac_cv_header_windows_h" != "xyes" ; then
CFLAGS="$CFLAGS -I/usr/local/include -L/usr/local/lib"
CXXFLAGS="$CXXFLAGS -I/usr/local/include -L/usr/local/lib"
else
- CFLAGS="$CFLAGS -O6 -Wall"
- CXXFLAGS="$CXXFLAGS -O6 -Wall"
+ CFLAGS="$CFLAGS -Wall"
+ CXXFLAGS="$CXXFLAGS -Wall"
fi
else
CFLAGS="$CFLAGS -O6 -Wall $MACH -malign-double -I/usr/local/include -L/usr/local/lib"
CXXFLAGS="$CXXFLAGS -O6 -Wall $MACH -malign-double -I/usr/local/include -L/usr/local/lib"
fi
- tuxkart_datadir="$datadir/games/$PACKAGE"
+ tuxkart_datadir="$datadir/$PACKAGE"
tuxkart_datadir=`(
test "x$prefix" = xNONE && prefix="$ac_default_prefix"
test "x$exec_prefix" = xNONE && exec_prefix="${prefix}"

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-data_Makefile_in,v 1.1.1.1 2008/11/10 22:11:36 ajacoutot Exp $
--- data/Makefile.in.orig Sun Nov 9 12:37:34 2008
+++ data/Makefile.in Sun Nov 9 12:37:40 2008
@@ -77,7 +77,7 @@ am__include = @am__include@
am__quote = @am__quote@
install_sh = @install_sh@
-pkgdatadir = $(datadir)/games/@PACKAGE@/data
+pkgdatadir = $(datadir)/@PACKAGE@/data
pkgdata_DATA = $(wildcard *.dat) $(wildcard *.loc) $(wildcard *.drv)

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-fonts_Makefile_in,v 1.1.1.1 2008/11/10 22:11:36 ajacoutot Exp $
--- fonts/Makefile.in.orig Sun Nov 9 12:39:33 2008
+++ fonts/Makefile.in Sun Nov 9 12:39:43 2008
@@ -77,7 +77,7 @@ am__include = @am__include@
am__quote = @am__quote@
install_sh = @install_sh@
-pkgdatadir = $(datadir)/games/@PACKAGE@/fonts
+pkgdatadir = $(datadir)/@PACKAGE@/fonts
pkgdata_DATA = $(wildcard *.txf)

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-images_Makefile_in,v 1.1.1.1 2008/11/10 22:11:36 ajacoutot Exp $
--- images/Makefile.in.orig Sun Nov 9 12:38:14 2008
+++ images/Makefile.in Sun Nov 9 12:38:18 2008
@@ -77,7 +77,7 @@ am__include = @am__include@
am__quote = @am__quote@
install_sh = @install_sh@
-pkgdatadir = $(datadir)/games/@PACKAGE@/images
+pkgdatadir = $(datadir)/@PACKAGE@/images
pkgdata_DATA = $(wildcard *.rgb)

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-models_Makefile_in,v 1.1.1.1 2008/11/10 22:11:36 ajacoutot Exp $
--- models/Makefile.in.orig Sun Nov 9 12:38:25 2008
+++ models/Makefile.in Sun Nov 9 12:38:30 2008
@@ -77,7 +77,7 @@ am__include = @am__include@
am__quote = @am__quote@
install_sh = @install_sh@
-pkgdatadir = $(datadir)/games/@PACKAGE@/models
+pkgdatadir = $(datadir)/@PACKAGE@/models
pkgdata_DATA = $(wildcard *.ac)

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-mods_Makefile_in,v 1.1.1.1 2008/11/10 22:11:36 ajacoutot Exp $
--- mods/Makefile.in.orig Sun Nov 9 12:37:48 2008
+++ mods/Makefile.in Sun Nov 9 12:37:53 2008
@@ -77,7 +77,7 @@ am__include = @am__include@
am__quote = @am__quote@
install_sh = @install_sh@
-pkgdatadir = $(datadir)/games/@PACKAGE@/mods
+pkgdatadir = $(datadir)/@PACKAGE@/mods
pkgdata_DATA = $(wildcard *.mod)

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-src_Makefile_in,v 1.1.1.1 2008/11/10 22:11:36 ajacoutot Exp $
--- src/Makefile.in.orig Sun Nov 9 12:38:57 2008
+++ src/Makefile.in Sun Nov 9 12:39:09 2008
@@ -76,7 +76,7 @@ am__include = @am__include@
am__quote = @am__quote@
install_sh = @install_sh@
-bindir = $(prefix)/games
+bindir = @bindir@
bin_PROGRAMS = tuxkart

View File

@ -0,0 +1,32 @@
$OpenBSD: patch-src_gfx_cxx,v 1.1.1.1 2008/11/10 22:11:36 ajacoutot Exp $
--- src/gfx.cxx.orig Thu Mar 18 17:21:44 2004
+++ src/gfx.cxx Sun Nov 9 12:23:11 2008
@@ -4,9 +4,11 @@
#ifndef WIN32
#include <unistd.h>
#include <string.h>
+#ifndef __OpenBSD__
#include <sys/io.h>
#include <sys/perm.h>
#endif
+#endif
static unsigned int lastKeystroke = 0 ;
@@ -137,6 +139,7 @@ void GFX::done ()
glEnd () ;
glFlush () ;
+#ifndef __OpenBSD__
static int firsttime = TRUE ;
if ( firsttime )
@@ -171,6 +174,8 @@ void GFX::done ()
outb ( (stereo==-1) ? ~3 : ~2, LPBASE+2 ) ;
stereo = -stereo ;
}
+#endif // __OpenBSD__
+ stereo = 0 ;
}

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-src_guNet_cxx,v 1.1.1.1 2008/11/10 22:11:36 ajacoutot Exp $
--- src/guNet.cxx.orig Wed Jan 30 21:55:06 2002
+++ src/guNet.cxx Sun Nov 9 12:23:11 2008
@@ -39,6 +39,9 @@
#define SHUT_RDWR 2
#endif
+#ifdef __OpenBSD__
+#include <errno.h>
+#endif
guUDPConnection::guUDPConnection ()
{

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-wavs_Makefile_in,v 1.1.1.1 2008/11/10 22:11:36 ajacoutot Exp $
--- wavs/Makefile.in.orig Sun Nov 9 12:38:00 2008
+++ wavs/Makefile.in Sun Nov 9 12:38:04 2008
@@ -77,7 +77,7 @@ am__include = @am__include@
am__quote = @am__quote@
install_sh = @install_sh@
-pkgdatadir = $(datadir)/games/@PACKAGE@/wavs
+pkgdatadir = $(datadir)/@PACKAGE@/wavs
pkgdata_DATA = $(wildcard *.wav)

2
games/tuxkart/pkg/DESCR Normal file
View File

@ -0,0 +1,2 @@
Tuxkart is a simple Go-Kart racing game, similar in style to
MarioKart.

212
games/tuxkart/pkg/PLIST Normal file
View File

@ -0,0 +1,212 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2008/11/10 22:11:36 ajacoutot Exp $
@bin bin/tuxkart
share/tuxkart/
share/tuxkart/background.png
share/tuxkart/bsodcastle.png
share/tuxkart/controls.html
share/tuxkart/controls_button.png
share/tuxkart/data/
share/tuxkart/data/bs.drv
share/tuxkart/data/bsodcastle.drv
share/tuxkart/data/bsodcastle.loc
share/tuxkart/data/geekopeak.drv
share/tuxkart/data/geekopeak.loc
share/tuxkart/data/gownsbow.drv
share/tuxkart/data/gownsbow.loc
share/tuxkart/data/levels.dat
share/tuxkart/data/olivermath.drv
share/tuxkart/data/olivermath.loc
share/tuxkart/data/players.dat
share/tuxkart/data/sandtrack.drv
share/tuxkart/data/sandtrack.loc
share/tuxkart/data/tuxtrack.drv
share/tuxkart/data/tuxtrack.loc
share/tuxkart/downloads.html
share/tuxkart/downloads_button.png
share/tuxkart/fonts/
share/tuxkart/fonts/haeberli.txf
share/tuxkart/fonts/sorority.txf
share/tuxkart/geekospeak.png
share/tuxkart/gownsbow.png
share/tuxkart/homepage_button.png
share/tuxkart/images/
share/tuxkart/images/Gown_beak.rgb
share/tuxkart/images/Gown_body.rgb
share/tuxkart/images/Penguin_beak.rgb
share/tuxkart/images/Penguin_body.rgb
share/tuxkart/images/Penguin_foot.rgb
share/tuxkart/images/Penguin_orig.rgb
share/tuxkart/images/Tuxclouds.rgb
share/tuxkart/images/aarmco.rgb
share/tuxkart/images/adverts.rgb
share/tuxkart/images/backpack.rgb
share/tuxkart/images/bow.rgb
share/tuxkart/images/brick.rgb
share/tuxkart/images/bsod_icon.rgb
share/tuxkart/images/butterfly.rgb
share/tuxkart/images/bzzt.rgb
share/tuxkart/images/candy_stripe.rgb
share/tuxkart/images/concrete.rgb
share/tuxkart/images/dirt.rgb
share/tuxkart/images/dirtwall.rgb
share/tuxkart/images/egypt.rgb
share/tuxkart/images/embossed_herring.rgb
share/tuxkart/images/explode.rgb
share/tuxkart/images/explode2.rgb
share/tuxkart/images/flamemissile.rgb
share/tuxkart/images/flames.rgb
share/tuxkart/images/floor.rgb
share/tuxkart/images/fuzzy.rgb
share/tuxkart/images/fuzzy_sand.rgb
share/tuxkart/images/geeko_icon.rgb
share/tuxkart/images/gown_icon.rgb
share/tuxkart/images/grass.rgb
share/tuxkart/images/herring.rgb
share/tuxkart/images/herringbones.rgb
share/tuxkart/images/homework.rgb
share/tuxkart/images/icecreamtruck.rgb
share/tuxkart/images/lava.rgb
share/tuxkart/images/lava2.rgb
share/tuxkart/images/lscales.rgb
share/tuxkart/images/lunchbox.rgb
share/tuxkart/images/lunchbox2.rgb
share/tuxkart/images/magnet.rgb
share/tuxkart/images/mathclassceiling.rgb
share/tuxkart/images/mathclasseast.rgb
share/tuxkart/images/mathclassfloor.rgb
share/tuxkart/images/mathclassnorth.rgb
share/tuxkart/images/mathclasssouth.rgb
share/tuxkart/images/mathclasswest.rgb
share/tuxkart/images/metalgrid.rgb
share/tuxkart/images/missile.rgb
share/tuxkart/images/mnm.rgb
share/tuxkart/images/pebbles.rgb
share/tuxkart/images/players.rgb
share/tuxkart/images/pyramidwall.rgb
share/tuxkart/images/railing.rgb
share/tuxkart/images/railroadtrack.rgb
share/tuxkart/images/rainbow.rgb
share/tuxkart/images/roadway.rgb
share/tuxkart/images/ruler.rgb
share/tuxkart/images/sand.rgb
share/tuxkart/images/shine.rgb
share/tuxkart/images/spark.rgb
share/tuxkart/images/speedometor.rgb
share/tuxkart/images/stonewall.rgb
share/tuxkart/images/tinytux.rgb
share/tuxkart/images/title_screen.rgb
share/tuxkart/images/title_screen_small.rgb
share/tuxkart/images/tux_icon.rgb
share/tuxkart/images/tv.rgb
share/tuxkart/images/usaflag.rgb
share/tuxkart/images/wheel.rgb
share/tuxkart/images/wood.rgb
share/tuxkart/images/zipper.rgb
share/tuxkart/index.html
share/tuxkart/installation.html
share/tuxkart/installation_button.png
share/tuxkart/license.html
share/tuxkart/license_button.png
share/tuxkart/links.html
share/tuxkart/links_button.png
share/tuxkart/models/
share/tuxkart/models/anvil.ac
share/tuxkart/models/backpack.ac
share/tuxkart/models/black_closedbook.ac
share/tuxkart/models/black_openbook.ac
share/tuxkart/models/bookstack.ac
share/tuxkart/models/bookwall.ac
share/tuxkart/models/bsod.ac
share/tuxkart/models/bsodcastle.ac
share/tuxkart/models/bsodkart.ac
share/tuxkart/models/car9.ac
share/tuxkart/models/closedbook.ac
share/tuxkart/models/desk.ac
share/tuxkart/models/explode.ac
share/tuxkart/models/flamemissile.ac
share/tuxkart/models/geeko.ac
share/tuxkart/models/geekokart.ac
share/tuxkart/models/geekopeak.ac
share/tuxkart/models/gownkart.ac
share/tuxkart/models/gownsbow.ac
share/tuxkart/models/icecreamtruck.ac
share/tuxkart/models/icefield.ac
share/tuxkart/models/kart.ac
share/tuxkart/models/lego_bridge.ac
share/tuxkart/models/lunchbox.ac
share/tuxkart/models/lunchbox2.ac
share/tuxkart/models/lunchbox_wall.ac
share/tuxkart/models/magnet.ac
share/tuxkart/models/magnetbzzt.ac
share/tuxkart/models/missile.ac
share/tuxkart/models/mnm.ac
share/tuxkart/models/multisign.ac
share/tuxkart/models/olivermath.ac
share/tuxkart/models/openbook.ac
share/tuxkart/models/paperairplane.ac
share/tuxkart/models/parachute.ac
share/tuxkart/models/pencil.ac
share/tuxkart/models/plibsign.ac
share/tuxkart/models/roadblock.ac
share/tuxkart/models/roadcone.ac
share/tuxkart/models/ruler.ac
share/tuxkart/models/ruler_bridge.ac
share/tuxkart/models/ruler_jump.ac
share/tuxkart/models/sandpyramid.ac
share/tuxkart/models/spark.ac
share/tuxkart/models/spark2.ac
share/tuxkart/models/susesign.ac
share/tuxkart/models/teachersdesk.ac
share/tuxkart/models/tinytux.ac
share/tuxkart/models/tinytux_magnet.ac
share/tuxkart/models/track.ac
share/tuxkart/models/track1a.ac
share/tuxkart/models/track1b.ac
share/tuxkart/models/track1c.ac
share/tuxkart/models/track1d.ac
share/tuxkart/models/track1e.ac
share/tuxkart/models/track1f.ac
share/tuxkart/models/track1g.ac
share/tuxkart/models/track1h.ac
share/tuxkart/models/truck1.ac
share/tuxkart/models/tuxkart.ac
share/tuxkart/models/tuxkart_logo.ac
share/tuxkart/models/tuxsign.ac
share/tuxkart/models/tv.ac
share/tuxkart/models/vasign.ac
share/tuxkart/models/yellow_closedbook.ac
share/tuxkart/models/yellow_openbook.ac
share/tuxkart/models/zipper.ac
share/tuxkart/mods/
share/tuxkart/mods/Boom_boom_boom.mod
share/tuxkart/mods/Cchips46.mod
share/tuxkart/mods/tk2.mod
share/tuxkart/mods/tk5a.mod
share/tuxkart/mods/tk7.mod
share/tuxkart/mods/tuxr.mod
share/tuxkart/olivers_math_class.png
share/tuxkart/requirements.html
share/tuxkart/requirements_button.png
share/tuxkart/screenshots.html
share/tuxkart/screenshots_button.png
share/tuxkart/shifting_sands.png
share/tuxkart/support.html
share/tuxkart/support_button.png
share/tuxkart/title_screen.png
share/tuxkart/trackdesign.html
share/tuxkart/trackdesign_button.png
share/tuxkart/tuxtrack.png
share/tuxkart/wavs/
share/tuxkart/wavs/barf.wav
share/tuxkart/wavs/boing.wav
share/tuxkart/wavs/bonk.wav
share/tuxkart/wavs/burp.wav
share/tuxkart/wavs/bzzt.wav
share/tuxkart/wavs/explosion.wav
share/tuxkart/wavs/horn.wav
share/tuxkart/wavs/laser.wav
share/tuxkart/wavs/loser.wav
share/tuxkart/wavs/ow.wav
share/tuxkart/wavs/shoomf.wav
share/tuxkart/wavs/ugh.wav
share/tuxkart/wavs/wee.wav