diff options
Diffstat (limited to 'games')
-rw-r--r-- | games/tuxkart/Makefile | 9 | ||||
-rw-r--r-- | games/tuxkart/distinfo | 2 | ||||
-rw-r--r-- | games/tuxkart/files/patch-src::gfx.cxx | 31 | ||||
-rw-r--r-- | games/tuxkart/pkg-plist | 47 |
4 files changed, 83 insertions, 6 deletions
diff --git a/games/tuxkart/Makefile b/games/tuxkart/Makefile index 6aef225..44a686c 100644 --- a/games/tuxkart/Makefile +++ b/games/tuxkart/Makefile @@ -6,7 +6,7 @@ # PORTNAME= tuxkart -PORTVERSION= 0.0.6 +PORTVERSION= 0.1.0 CATEGORIES= games MASTER_SITES= http://tuxkart.sourceforge.net/dist/ @@ -14,10 +14,9 @@ MAINTAINER= ports@FreeBSD.org BUILD_DEPENDS= ${X11BASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib -USE_REINPLACE= yes USE_X_PREFIX= yes -USE_NEWGCC= yes USE_MESA= yes +USE_REINPLACE= yes USE_GMAKE= yes GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \ @@ -29,7 +28,7 @@ post-patch: s|-lpthread|${PTHREAD_LIBS}|g ; \ s|datadir/games|datadir|g' ${WRKSRC}/configure @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ - 's|\$$(prefix)/games|\@bindir\@|g ; \ - s|\$$(datadir)/games|\$$(datadir)|g' + 's|[\$$][(]prefix[)]/games|@bindir@|g ; \ + s|[\$$][(]datadir[)]/games|\$$(datadir)|g' .include <bsd.port.mk> diff --git a/games/tuxkart/distinfo b/games/tuxkart/distinfo index b59b41a..1d87b84 100644 --- a/games/tuxkart/distinfo +++ b/games/tuxkart/distinfo @@ -1 +1 @@ -MD5 (tuxkart-0.0.6.tar.gz) = 93e6af044c740ffe33cd47941eb94c38 +MD5 (tuxkart-0.1.0.tar.gz) = b92611199ed0cecbc70676d10a3f1aae diff --git a/games/tuxkart/files/patch-src::gfx.cxx b/games/tuxkart/files/patch-src::gfx.cxx new file mode 100644 index 0000000..343e120 --- /dev/null +++ b/games/tuxkart/files/patch-src::gfx.cxx @@ -0,0 +1,31 @@ +--- src/gfx.cxx.orig Sat Nov 10 08:32:52 2001 ++++ src/gfx.cxx Wed Jul 3 04:03:27 2002 +@@ -4,9 +4,11 @@ + #ifndef WIN32 + #include <unistd.h> + #include <string.h> ++#if 0 + #include <sys/io.h> + #include <sys/perm.h> + #endif ++#endif + + static unsigned int lastGLUTKeystroke = 0 ; + +@@ -185,6 +187,7 @@ + glEnd () ; + glFlush () ; + ++#if 0 + static int firsttime = TRUE ; + + if ( firsttime ) +@@ -219,6 +222,8 @@ + outb ( (stereo==-1) ? ~3 : ~2, LPBASE+2 ) ; + stereo = -stereo ; + } ++#endif ++ stereo = 0 ; + } + + diff --git a/games/tuxkart/pkg-plist b/games/tuxkart/pkg-plist index faa2715..a17aa5a 100644 --- a/games/tuxkart/pkg-plist +++ b/games/tuxkart/pkg-plist @@ -7,6 +7,8 @@ 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/sandtrack.drv share/tuxkart/data/sandtrack.loc share/tuxkart/data/tuxtrack.drv @@ -22,6 +24,7 @@ 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 @@ -45,13 +48,23 @@ 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 @@ -59,7 +72,9 @@ 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 @@ -67,14 +82,23 @@ 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/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 @@ -85,18 +109,31 @@ 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 @@ -112,8 +149,18 @@ 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/Boom_boom_boom.mod +share/tuxkart/mods/Cchips46.mod +share/tuxkart/mods/Flying_bumblebee_2.mod +share/tuxkart/mods/Jump_and_run.mod +share/tuxkart/mods/Picnic_in_the_woods.mod +share/tuxkart/mods/Picnic_part_2.mod +share/tuxkart/mods/Spitting_image.mod share/tuxkart/mods/tk2.mod share/tuxkart/mods/tk5a.mod share/tuxkart/mods/tk7.mod |