aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
Diffstat (limited to 'games')
-rw-r--r--games/tuxkart/Makefile58
-rw-r--r--games/tuxkart/distinfo2
-rw-r--r--games/tuxkart/pkg-plist393
3 files changed, 228 insertions, 225 deletions
diff --git a/games/tuxkart/Makefile b/games/tuxkart/Makefile
index 61ec68393cf8..c781a62e6ddf 100644
--- a/games/tuxkart/Makefile
+++ b/games/tuxkart/Makefile
@@ -1,36 +1,64 @@
-# New ports collection makefile for: tuxkart
-# Date created: 08 Jun 2001
-# Whom: Alexander Langer <alex@FreeBSD.org>
-#
+# Created by: Alexander Langer <alex@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= tuxkart
PORTVERSION= 0.4.0
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= games
-MASTER_SITES= http://tuxkart.sourceforge.net/dist/
+MASTER_SITES= http://tuxkart.sourceforge.net/dist/ \
+ SF/nemysisfreebsdp/:icons
+DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \
+ ${PORTNAME}.png:icons
+EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX}
-MAINTAINER= ports@FreeBSD.org
-COMMENT= An OpenGL action kart racing game
+MAINTAINER= nemysis@gmx.ch
+COMMENT= Racing game starring Tux
+
+LICENSE= GPLv2
BUILD_DEPENDS= ${LOCALBASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib
USE_GL= gl
-USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib -lusbhid"
-CPPFLAGS+= -I${LOCALBASE}/include
+USE_GMAKE= yes
CONFIGURE_ARGS= --with-plib=${LOCALBASE}
+CPPFLAGS+= -I${LOCALBASE}/include
+
+PORTDOCS= *
-.include <bsd.port.pre.mk>
+DOCSRCDIR1= ${WRKSRC}
+DOC_FILES1= AUTHORS CHANGES README
+
+DOCSRCDIR2= ${WRKSRC}/doc
+DOCSDIR2= ${DOCSDIR}/doc
+DOC_FILES2= *.png *.html
+
+DESKTOP_ENTRIES="TuxKart" "${COMMENT}" ${PORTNAME} \
+ "${PORTNAME}" "Game;ArcadeGame;" false
+
+OPTIONS_DEFINE= DOCS
+
+.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e 's|-O6|${PTHREAD_CFLAGS}|g ; \
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'
+ @${REINPLACE_CMD} -e 's|doc contrib| contrib|' \
+ ${WRKSRC}/Makefile.in
+
+post-install:
+ ${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png ${PREFIX}/share/pixmaps
+
+.if ${PORT_OPTIONS:MDOCS}
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${DOCSDIR}
+ @${MKDIR} ${DOCSDIR2}
+ ${INSTALL_DATA} ${DOC_FILES2:S|^|${DOCSRCDIR2}/|} ${DOCSDIR2}
+.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/games/tuxkart/distinfo b/games/tuxkart/distinfo
index bdfc6e6edb90..fb9b3f9dd92f 100644
--- a/games/tuxkart/distinfo
+++ b/games/tuxkart/distinfo
@@ -1,2 +1,4 @@
SHA256 (tuxkart-0.4.0.tar.gz) = 2d9048435ac558debf92d430efa55ccf15c68e1253c97648babe67437ff82c12
SIZE (tuxkart-0.4.0.tar.gz) = 4932535
+SHA256 (tuxkart.png) = ba977958d6b03f20b597894b5d85cb5831f06d08b83d48aa711758a2b97466ec
+SIZE (tuxkart.png) = 2037
diff --git a/games/tuxkart/pkg-plist b/games/tuxkart/pkg-plist
index 23fd0ecbd28d..49d1afa1c091 100644
--- a/games/tuxkart/pkg-plist
+++ b/games/tuxkart/pkg-plist
@@ -1,211 +1,184 @@
bin/tuxkart
-share/tuxkart/background.png
-share/tuxkart/bsodcastle.png
-share/tuxkart/controls.html
-share/tuxkart/controls_button.png
-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/haeberli.txf
-share/tuxkart/fonts/sorority.txf
-share/tuxkart/geekospeak.png
-share/tuxkart/gownsbow.png
-share/tuxkart/homepage_button.png
-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/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/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/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
-@dirrm share/tuxkart/wavs
-@dirrm share/tuxkart/mods
-@dirrm share/tuxkart/models
-@dirrm share/tuxkart/images
-@dirrm share/tuxkart/fonts
-@dirrm share/tuxkart/data
-@dirrm share/tuxkart
+share/pixmaps/tuxkart.png
+%%DATADIR%%/data/bs.drv
+%%DATADIR%%/data/bsodcastle.drv
+%%DATADIR%%/data/bsodcastle.loc
+%%DATADIR%%/data/geekopeak.drv
+%%DATADIR%%/data/geekopeak.loc
+%%DATADIR%%/data/gownsbow.drv
+%%DATADIR%%/data/gownsbow.loc
+%%DATADIR%%/data/levels.dat
+%%DATADIR%%/data/olivermath.drv
+%%DATADIR%%/data/olivermath.loc
+%%DATADIR%%/data/players.dat
+%%DATADIR%%/data/sandtrack.drv
+%%DATADIR%%/data/sandtrack.loc
+%%DATADIR%%/data/tuxtrack.drv
+%%DATADIR%%/data/tuxtrack.loc
+%%DATADIR%%/fonts/haeberli.txf
+%%DATADIR%%/fonts/sorority.txf
+%%DATADIR%%/images/Gown_beak.rgb
+%%DATADIR%%/images/Gown_body.rgb
+%%DATADIR%%/images/Penguin_beak.rgb
+%%DATADIR%%/images/Penguin_body.rgb
+%%DATADIR%%/images/Penguin_foot.rgb
+%%DATADIR%%/images/Penguin_orig.rgb
+%%DATADIR%%/images/Tuxclouds.rgb
+%%DATADIR%%/images/aarmco.rgb
+%%DATADIR%%/images/adverts.rgb
+%%DATADIR%%/images/backpack.rgb
+%%DATADIR%%/images/bow.rgb
+%%DATADIR%%/images/brick.rgb
+%%DATADIR%%/images/bsod_icon.rgb
+%%DATADIR%%/images/butterfly.rgb
+%%DATADIR%%/images/bzzt.rgb
+%%DATADIR%%/images/candy_stripe.rgb
+%%DATADIR%%/images/concrete.rgb
+%%DATADIR%%/images/dirt.rgb
+%%DATADIR%%/images/dirtwall.rgb
+%%DATADIR%%/images/egypt.rgb
+%%DATADIR%%/images/embossed_herring.rgb
+%%DATADIR%%/images/explode.rgb
+%%DATADIR%%/images/explode2.rgb
+%%DATADIR%%/images/flamemissile.rgb
+%%DATADIR%%/images/flames.rgb
+%%DATADIR%%/images/floor.rgb
+%%DATADIR%%/images/fuzzy.rgb
+%%DATADIR%%/images/fuzzy_sand.rgb
+%%DATADIR%%/images/geeko_icon.rgb
+%%DATADIR%%/images/gown_icon.rgb
+%%DATADIR%%/images/grass.rgb
+%%DATADIR%%/images/herring.rgb
+%%DATADIR%%/images/herringbones.rgb
+%%DATADIR%%/images/homework.rgb
+%%DATADIR%%/images/icecreamtruck.rgb
+%%DATADIR%%/images/lava.rgb
+%%DATADIR%%/images/lava2.rgb
+%%DATADIR%%/images/lscales.rgb
+%%DATADIR%%/images/lunchbox.rgb
+%%DATADIR%%/images/lunchbox2.rgb
+%%DATADIR%%/images/magnet.rgb
+%%DATADIR%%/images/mathclassceiling.rgb
+%%DATADIR%%/images/mathclasseast.rgb
+%%DATADIR%%/images/mathclassfloor.rgb
+%%DATADIR%%/images/mathclassnorth.rgb
+%%DATADIR%%/images/mathclasssouth.rgb
+%%DATADIR%%/images/mathclasswest.rgb
+%%DATADIR%%/images/metalgrid.rgb
+%%DATADIR%%/images/missile.rgb
+%%DATADIR%%/images/mnm.rgb
+%%DATADIR%%/images/pebbles.rgb
+%%DATADIR%%/images/players.rgb
+%%DATADIR%%/images/pyramidwall.rgb
+%%DATADIR%%/images/railing.rgb
+%%DATADIR%%/images/railroadtrack.rgb
+%%DATADIR%%/images/rainbow.rgb
+%%DATADIR%%/images/roadway.rgb
+%%DATADIR%%/images/ruler.rgb
+%%DATADIR%%/images/sand.rgb
+%%DATADIR%%/images/shine.rgb
+%%DATADIR%%/images/spark.rgb
+%%DATADIR%%/images/speedometor.rgb
+%%DATADIR%%/images/stonewall.rgb
+%%DATADIR%%/images/tinytux.rgb
+%%DATADIR%%/images/title_screen.rgb
+%%DATADIR%%/images/title_screen_small.rgb
+%%DATADIR%%/images/tux_icon.rgb
+%%DATADIR%%/images/tv.rgb
+%%DATADIR%%/images/usaflag.rgb
+%%DATADIR%%/images/wheel.rgb
+%%DATADIR%%/images/wood.rgb
+%%DATADIR%%/images/zipper.rgb
+%%DATADIR%%/models/anvil.ac
+%%DATADIR%%/models/backpack.ac
+%%DATADIR%%/models/black_closedbook.ac
+%%DATADIR%%/models/black_openbook.ac
+%%DATADIR%%/models/bookstack.ac
+%%DATADIR%%/models/bookwall.ac
+%%DATADIR%%/models/bsod.ac
+%%DATADIR%%/models/bsodcastle.ac
+%%DATADIR%%/models/bsodkart.ac
+%%DATADIR%%/models/car9.ac
+%%DATADIR%%/models/closedbook.ac
+%%DATADIR%%/models/desk.ac
+%%DATADIR%%/models/explode.ac
+%%DATADIR%%/models/flamemissile.ac
+%%DATADIR%%/models/geeko.ac
+%%DATADIR%%/models/geekokart.ac
+%%DATADIR%%/models/geekopeak.ac
+%%DATADIR%%/models/gownkart.ac
+%%DATADIR%%/models/gownsbow.ac
+%%DATADIR%%/models/icecreamtruck.ac
+%%DATADIR%%/models/icefield.ac
+%%DATADIR%%/models/kart.ac
+%%DATADIR%%/models/lego_bridge.ac
+%%DATADIR%%/models/lunchbox.ac
+%%DATADIR%%/models/lunchbox2.ac
+%%DATADIR%%/models/lunchbox_wall.ac
+%%DATADIR%%/models/magnet.ac
+%%DATADIR%%/models/magnetbzzt.ac
+%%DATADIR%%/models/missile.ac
+%%DATADIR%%/models/mnm.ac
+%%DATADIR%%/models/multisign.ac
+%%DATADIR%%/models/olivermath.ac
+%%DATADIR%%/models/openbook.ac
+%%DATADIR%%/models/paperairplane.ac
+%%DATADIR%%/models/parachute.ac
+%%DATADIR%%/models/pencil.ac
+%%DATADIR%%/models/plibsign.ac
+%%DATADIR%%/models/roadblock.ac
+%%DATADIR%%/models/roadcone.ac
+%%DATADIR%%/models/ruler.ac
+%%DATADIR%%/models/ruler_bridge.ac
+%%DATADIR%%/models/ruler_jump.ac
+%%DATADIR%%/models/sandpyramid.ac
+%%DATADIR%%/models/spark.ac
+%%DATADIR%%/models/spark2.ac
+%%DATADIR%%/models/susesign.ac
+%%DATADIR%%/models/teachersdesk.ac
+%%DATADIR%%/models/tinytux.ac
+%%DATADIR%%/models/tinytux_magnet.ac
+%%DATADIR%%/models/track.ac
+%%DATADIR%%/models/track1a.ac
+%%DATADIR%%/models/track1b.ac
+%%DATADIR%%/models/track1c.ac
+%%DATADIR%%/models/track1d.ac
+%%DATADIR%%/models/track1e.ac
+%%DATADIR%%/models/track1f.ac
+%%DATADIR%%/models/track1g.ac
+%%DATADIR%%/models/track1h.ac
+%%DATADIR%%/models/truck1.ac
+%%DATADIR%%/models/tuxkart.ac
+%%DATADIR%%/models/tuxkart_logo.ac
+%%DATADIR%%/models/tuxsign.ac
+%%DATADIR%%/models/tv.ac
+%%DATADIR%%/models/vasign.ac
+%%DATADIR%%/models/yellow_closedbook.ac
+%%DATADIR%%/models/yellow_openbook.ac
+%%DATADIR%%/models/zipper.ac
+%%DATADIR%%/mods/Boom_boom_boom.mod
+%%DATADIR%%/mods/Cchips46.mod
+%%DATADIR%%/mods/tk2.mod
+%%DATADIR%%/mods/tk5a.mod
+%%DATADIR%%/mods/tk7.mod
+%%DATADIR%%/mods/tuxr.mod
+%%DATADIR%%/wavs/barf.wav
+%%DATADIR%%/wavs/boing.wav
+%%DATADIR%%/wavs/bonk.wav
+%%DATADIR%%/wavs/burp.wav
+%%DATADIR%%/wavs/bzzt.wav
+%%DATADIR%%/wavs/explosion.wav
+%%DATADIR%%/wavs/horn.wav
+%%DATADIR%%/wavs/laser.wav
+%%DATADIR%%/wavs/loser.wav
+%%DATADIR%%/wavs/ow.wav
+%%DATADIR%%/wavs/shoomf.wav
+%%DATADIR%%/wavs/ugh.wav
+%%DATADIR%%/wavs/wee.wav
+@dirrm %%DATADIR%%/wavs
+@dirrm %%DATADIR%%/mods
+@dirrm %%DATADIR%%/models
+@dirrm %%DATADIR%%/images
+@dirrm %%DATADIR%%/fonts
+@dirrm %%DATADIR%%/data
+@dirrm %%DATADIR%