Date: Sun, 2 Dec 2012 00:10:20 +0000 (UTC) From: Jason Helfman <jgh@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r308082 - in head/games: . tuxfighter tuxfighter/files Message-ID: <201212020010.qB20AKIc028066@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jgh Date: Sun Dec 2 00:10:19 2012 New Revision: 308082 URL: http://svnweb.freebsd.org/changeset/ports/308082 Log: add new port: games/tuxfighter Was the first visible part of The Python Game Book project. TuxFighter is a little Asteroids-like Shooter game, written around 2006. The game support modding. You control Tux, the penguin (with mouse or keyboard) and shoot down rectangular enemies (to make points). Shots may reflect from the screen border, and self-shooting result in negative points. In the game, you can pick up one of those power-up's and enjoy different effects. WWW: http://thepythongamebook.com/en:resources:games:tuxfighter PR: 169893 Submitted by: nemysis@gmx.ch Feature safe: yes Added: head/games/tuxfighter/ head/games/tuxfighter/Makefile (contents, props changed) head/games/tuxfighter/distinfo (contents, props changed) head/games/tuxfighter/files/ head/games/tuxfighter/files/tuxfighter.in (contents, props changed) head/games/tuxfighter/pkg-descr (contents, props changed) head/games/tuxfighter/pkg-message (contents, props changed) head/games/tuxfighter/pkg-plist (contents, props changed) Modified: head/games/Makefile Modified: head/games/Makefile ============================================================================== --- head/games/Makefile Sat Dec 1 21:22:44 2012 (r308081) +++ head/games/Makefile Sun Dec 2 00:10:19 2012 (r308082) @@ -924,6 +924,7 @@ SUBDIR += ttraffic SUBDIR += ttt SUBDIR += tux-aqfh + SUBDIR += tuxfighter SUBDIR += tuxkart SUBDIR += tuxmath SUBDIR += tuxpaint Added: head/games/tuxfighter/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/tuxfighter/Makefile Sun Dec 2 00:10:19 2012 (r308082) @@ -0,0 +1,59 @@ +# Created by: nemysis@gmx.ch +# +# $FreeBSD$ + +PORTNAME= tuxfighter +PORTVERSION= 54 +CATEGORIES= games python +MASTER_SITES= SF/pygamebook/TuxFighter/TuxFighter${PORTVERSION}_source/ \ + SF/nemysisfreebsdp/:icons +DISTFILES= TuxFighter${DISTVERSION}.tar.gz \ + ${PORTNAME}_icons.tar.gz:icons +DIST_SUBDIR= python + +MAINTAINER= nemysis@gmx.ch +COMMENT= Little Asteroids-like Shooter game + +LICENSE= GPLv2 + +RUN_DEPENDS= ${PYGAME} + +WRKSRC= ${WRKDIR} + +FETCH_ARGS?= -Fpr +USE_PYTHON= yes +NO_BUILD= yes + +PORTDOCS= readme_TuxFighter54.txt + +INSTALLS_ICONS= yes +ICON_SIZES= 48x48 64x64 72x72 96x96 + +SUB_FILES= ${PORTNAME} + +DESKTOP_ENTRIES="TuxFighter" "${COMMENT}" "${PORTNAME}" \ + "${PORTNAME}" "Game;ArcadeGame;" ${FALSE} + +.include <bsd.port.options.mk> + +do-install: + ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin + ${MKDIR} ${DATADIR} + ${INSTALL_SCRIPT} ${WRKSRC}/*.py ${DATADIR} + cd ${WRKSRC} && ${COPYTREE_SHARE} data ${DATADIR} + +post-install: +.for s in ${ICON_SIZES} + ${MKDIR} ${PREFIX}/share/icons/hicolor/${s}/apps + ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}_${s}.png \ + ${PREFIX}/share/icons/hicolor/${s}/apps/${PORTNAME}.png +.endfor + ${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png ${PREFIX}/share/pixmaps + +.if ${PORT_OPTIONS:MDOCS} + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} +.endif + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.mk> Added: head/games/tuxfighter/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/tuxfighter/distinfo Sun Dec 2 00:10:19 2012 (r308082) @@ -0,0 +1,4 @@ +SHA256 (python/TuxFighter54.tar.gz) = ba9ed46da8d2196cf1c90b67f0cb57f33b92f54be4b3867bd0af5d214d267154 +SIZE (python/TuxFighter54.tar.gz) = 336573 +SHA256 (python/tuxfighter_icons.tar.gz) = 1ef2f0a887d9b35fa2b4b58a60aa5f1b987a47bd3e3800a08afa13b1e57d246c +SIZE (python/tuxfighter_icons.tar.gz) = 24576 Added: head/games/tuxfighter/files/tuxfighter.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/tuxfighter/files/tuxfighter.in Sun Dec 2 00:10:19 2012 (r308082) @@ -0,0 +1,7 @@ +#!/bin/sh +# +# $FreeBSD$ +# + +cd "%%DATADIR%%" +exec ./TuxFighter54.py "${@}" Added: head/games/tuxfighter/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/tuxfighter/pkg-descr Sun Dec 2 00:10:19 2012 (r308082) @@ -0,0 +1,11 @@ +Was the first visible part of The Python Game Book project. +TuxFighter is a little Asteroids-like Shooter game, written around 2006. +The game support modding. You control Tux, the penguin (with mouse or keyboard) +and shoot down rectangular enemies (to make points). +Shots may reflect from the screen border, and self-shooting result +in negative points. + +In the game, you can pick up one of those power-up's and enjoy +different effects. + +WWW: http://thepythongamebook.com/en:resources:games:tuxfighter Added: head/games/tuxfighter/pkg-message ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/tuxfighter/pkg-message Sun Dec 2 00:10:19 2012 (r308082) @@ -0,0 +1,11 @@ +======================================================================== +Tuxfighter has been installed. + +Python errors will result in the first run of this game. +Restart, and enjoy. + +This issue is currently being resolved with upstream developers. + +All options are in the config file if you've made changes in the GUI. + ~/.TuxFighter/TuxFighter.ini +======================================================================== Added: head/games/tuxfighter/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/tuxfighter/pkg-plist Sun Dec 2 00:10:19 2012 (r308082) @@ -0,0 +1,68 @@ +bin/tuxfighter +share/icons/hicolor/48x48/apps/tuxfighter.png +share/icons/hicolor/64x64/apps/tuxfighter.png +share/icons/hicolor/72x72/apps/tuxfighter.png +share/icons/hicolor/96x96/apps/tuxfighter.png +share/pixmaps/tuxfighter.png +%%DATADIR%%/TuxFighter54.py +%%DATADIR%%/TuxFighter_modding.py +%%DATADIR%%/data/babytux1.png +%%DATADIR%%/data/babytux2.png +%%DATADIR%%/data/babytux3.png +%%DATADIR%%/data/babytux4.png +%%DATADIR%%/data/babytux5.png +%%DATADIR%%/data/babytux6.png +%%DATADIR%%/data/background.jpg +%%DATADIR%%/data/boom.wav +%%DATADIR%%/data/bounce.wav +%%DATADIR%%/data/car_door.wav +%%DATADIR%%/data/cash.wav +%%DATADIR%%/data/debian.png +%%DATADIR%%/data/dope.png +%%DATADIR%%/data/dope_shot.wav +%%DATADIR%%/data/dope_small.png +%%DATADIR%%/data/empty.wav +%%DATADIR%%/data/ex1.png +%%DATADIR%%/data/ex1_small.png +%%DATADIR%%/data/ex2.png +%%DATADIR%%/data/ex2_small.png +%%DATADIR%%/data/ex3.png +%%DATADIR%%/data/ex3_small.png +%%DATADIR%%/data/freesansbold.ttf +%%DATADIR%%/data/mampf.wav +%%DATADIR%%/data/player_explsion.wav +%%DATADIR%%/data/rakete.png +%%DATADIR%%/data/rakete2.png +%%DATADIR%%/data/rakete3.png +%%DATADIR%%/data/self_shot.wav +%%DATADIR%%/data/surprise.png +%%DATADIR%%/data/trommel.wav +%%DATADIR%%/data/tux0.png +%%DATADIR%%/data/tux0red.png +%%DATADIR%%/data/tux1.png +%%DATADIR%%/data/tux1red.png +%%DATADIR%%/data/tux2.png +%%DATADIR%%/data/tux2red.png +%%DATADIR%%/data/tux3.png +%%DATADIR%%/data/tux3red.png +%%DATADIR%%/data/tux4.png +%%DATADIR%%/data/tux4red.png +%%DATADIR%%/data/ubuntulogo.png +%%DATADIR%%/data/ubuntulogo_small.png +%%DATADIR%%/data/wall.wav +%%DATADIR%%/data/wine.gif +%%DATADIR%%/data/winlogoh1.png +%%DATADIR%%/data/winlogoh2.png +%%DATADIR%%/data/winlogoh3.png +@dirrm %%DATADIR%%/data +@dirrm %%DATADIR%% +@dirrmtry share/icons/hicolor/96x96/apps +@dirrmtry share/icons/hicolor/96x96 +@dirrmtry share/icons/hicolor/72x72/apps +@dirrmtry share/icons/hicolor/72x72 +@dirrmtry share/icons/hicolor/64x64/apps +@dirrmtry share/icons/hicolor/64x64 +@dirrmtry share/icons/hicolor/48x48/apps +@dirrmtry share/icons/hicolor/48x48 +@dirrmtry share/icons/hicolor +@dirrmtry share/icons
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212020010.qB20AKIc028066>