svn commit: r317983 - in head/games: . pyspacewar
Beech Rintoul
beech at FreeBSD.org
Sun May 12 22:13:59 UTC 2013
Author: beech
Date: Sun May 12 22:13:57 2013
New Revision: 317983
URL: http://svnweb.freebsd.org/changeset/ports/317983
Log:
- New Port PySpaceWar
Two ships duel in a gravity field. Gravity doesn't affect the ships
themselves (which have spanking new anti-gravity devices), but it affects
missiles launced by the ships.
You can play against the computer, or two players can play with one keyboard.
There is also a Gravity Wars mode, where the two ships do not move, and the
players repeatedly specify the direction and velocity of their missiles.
Added:
head/games/pyspacewar/
head/games/pyspacewar/Makefile (contents, props changed)
head/games/pyspacewar/distinfo (contents, props changed)
head/games/pyspacewar/pkg-descr (contents, props changed)
head/games/pyspacewar/pkg-plist (contents, props changed)
Modified:
head/games/Makefile
Modified: head/games/Makefile
==============================================================================
--- head/games/Makefile Sun May 12 22:01:25 2013 (r317982)
+++ head/games/Makefile Sun May 12 22:13:57 2013 (r317983)
@@ -770,6 +770,7 @@
SUBDIR += pysol-cardsets
SUBDIR += pysol-music
SUBDIR += pysolfc
+ SUBDIR += pyspacewar
SUBDIR += pysycache
SUBDIR += pysycache-lang
SUBDIR += pysycache-themes
Added: head/games/pyspacewar/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/pyspacewar/Makefile Sun May 12 22:13:57 2013 (r317983)
@@ -0,0 +1,51 @@
+# Created by: nemysis <nemysis at gmx.ch>
+# $FreeBSD$
+
+PORTNAME= pyspacewar
+PORTVERSION= 0.9.7
+CATEGORIES= games python
+MASTER_SITES= http://mg.pov.lt/${PORTNAME}/\
+ LOCAL/beech
+DIST_SUBDIR= python
+
+MAINTAINER= nemysis at gmx.ch
+COMMENT= Two ships duel in a gravity field
+
+LICENSE= GPLv2
+
+RUN_DEPENDS= ${PYGAME}
+
+USE_PYTHON= yes
+USE_PYDISTUTILS=yes
+NO_BUILD= yes
+
+PORTDOCS= NEWS.txt README.txt TODO.txt performance-notes.txt
+
+INSTALLS_ICONS= yes
+ICON_SIZES= 16x16 22x22 32x32 48x48
+
+DESKTOP_ENTRIES="PySpaceWar" "${COMMENT}" ${PORTNAME} \
+ "${PORTNAME}" "Game;ArcadeGame;" false
+
+.include <bsd.port.options.mk>
+
+post-patch:
+.for s in 16 22 32 48
+ @cd ${WRKSRC}/src/pyspacewar/icons && \
+ ${MV} ${PORTNAME}${s}.png ${PORTNAME}_${s}x${s}.png
+.endfor
+
+post-install:
+.for s in ${ICON_SIZES}
+ @${MKDIR} ${PREFIX}/share/icons/hicolor/${s}/apps
+ ${INSTALL_DATA} ${WRKSRC}/src/pyspacewar/icons/${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
+
+.include <bsd.port.mk>
Added: head/games/pyspacewar/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/pyspacewar/distinfo Sun May 12 22:13:57 2013 (r317983)
@@ -0,0 +1,2 @@
+SHA256 (python/pyspacewar-0.9.7.tar.gz) = 964d59ff8d42a6ba235ea1f616c576757ba3c232e349af78869e024b963c8b15
+SIZE (python/pyspacewar-0.9.7.tar.gz) = 229319
Added: head/games/pyspacewar/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/pyspacewar/pkg-descr Sun May 12 22:13:57 2013 (r317983)
@@ -0,0 +1,11 @@
+PySpaceWar
+
+Two ships duel in a gravity field. Gravity doesn't affect the ships
+themselves (which have spanking new anti-gravity devices), but it affects
+missiles launced by the ships.
+
+You can play against the computer, or two players can play with one keyboard.
+There is also a Gravity Wars mode, where the two ships do not move, and the
+players repeatedly specify the direction and velocity of their missiles.
+
+WWW: http://mg.pov.lt/pyspacewar/
Added: head/games/pyspacewar/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/pyspacewar/pkg-plist Sun May 12 22:13:57 2013 (r317983)
@@ -0,0 +1,54 @@
+bin/pyspacewar
+%%PYTHON_SITELIBDIR%%/pyspacewar/__init__.py
+%%PYTHON_SITELIBDIR%%/pyspacewar/__init__.pyc
+%%PYTHON_SITELIBDIR%%/pyspacewar/__init__.pyo
+%%PYTHON_SITELIBDIR%%/pyspacewar/ai.py
+%%PYTHON_SITELIBDIR%%/pyspacewar/ai.pyc
+%%PYTHON_SITELIBDIR%%/pyspacewar/ai.pyo
+%%PYTHON_SITELIBDIR%%/pyspacewar/game.py
+%%PYTHON_SITELIBDIR%%/pyspacewar/game.pyc
+%%PYTHON_SITELIBDIR%%/pyspacewar/game.pyo
+%%PYTHON_SITELIBDIR%%/pyspacewar/images/README.txt
+%%PYTHON_SITELIBDIR%%/pyspacewar/images/background.jpg
+%%PYTHON_SITELIBDIR%%/pyspacewar/images/planet_D3.png
+%%PYTHON_SITELIBDIR%%/pyspacewar/images/planet_E0.png
+%%PYTHON_SITELIBDIR%%/pyspacewar/images/planet_G0.png
+%%PYTHON_SITELIBDIR%%/pyspacewar/images/planet_G2.png
+%%PYTHON_SITELIBDIR%%/pyspacewar/images/planet_I0.png
+%%PYTHON_SITELIBDIR%%/pyspacewar/images/title.png
+%%PYTHON_SITELIBDIR%%/pyspacewar/main.py
+%%PYTHON_SITELIBDIR%%/pyspacewar/main.pyc
+%%PYTHON_SITELIBDIR%%/pyspacewar/main.pyo
+%%PYTHON_SITELIBDIR%%/pyspacewar/music/README.txt
+%%PYTHON_SITELIBDIR%%/pyspacewar/music/music.ini
+%%PYTHON_SITELIBDIR%%/pyspacewar/sounds/Grenade2.au
+%%PYTHON_SITELIBDIR%%/pyspacewar/sounds/Grenade2.wav
+%%PYTHON_SITELIBDIR%%/pyspacewar/sounds/Gun_Silencer.wav
+%%PYTHON_SITELIBDIR%%/pyspacewar/sounds/Pink_Noise1.au
+%%PYTHON_SITELIBDIR%%/pyspacewar/sounds/Pink_Noise1.wav
+%%PYTHON_SITELIBDIR%%/pyspacewar/sounds/README.txt
+%%PYTHON_SITELIBDIR%%/pyspacewar/sounds/bomb.wav
+%%PYTHON_SITELIBDIR%%/pyspacewar/sounds/briefcs1.wav
+%%PYTHON_SITELIBDIR%%/pyspacewar/sounds/coin2.wav
+%%PYTHON_SITELIBDIR%%/pyspacewar/sounds/electricshock.wav
+%%PYTHON_SITELIBDIR%%/pyspacewar/sounds/sounds.ini
+%%PYTHON_SITELIBDIR%%/pyspacewar/ui.py
+%%PYTHON_SITELIBDIR%%/pyspacewar/ui.pyc
+%%PYTHON_SITELIBDIR%%/pyspacewar/ui.pyo
+%%PYTHON_SITELIBDIR%%/pyspacewar/version.py
+%%PYTHON_SITELIBDIR%%/pyspacewar/version.pyc
+%%PYTHON_SITELIBDIR%%/pyspacewar/version.pyo
+%%PYTHON_SITELIBDIR%%/pyspacewar/world.py
+%%PYTHON_SITELIBDIR%%/pyspacewar/world.pyc
+%%PYTHON_SITELIBDIR%%/pyspacewar/world.pyo
+share/icons/hicolor/16x16/apps/pyspacewar.png
+share/icons/hicolor/22x22/apps/pyspacewar.png
+share/icons/hicolor/32x32/apps/pyspacewar.png
+share/icons/hicolor/48x48/apps/pyspacewar.png
+share/pixmaps/pyspacewar.png
+ at dirrm %%PYTHON_SITELIBDIR%%/pyspacewar/sounds
+ at dirrm %%PYTHON_SITELIBDIR%%/pyspacewar/music
+ at dirrm %%PYTHON_SITELIBDIR%%/pyspacewar/images
+ at dirrm %%PYTHON_SITELIBDIR%%/pyspacewar
+ at dirrmtry %%PYTHON_SITELIBDIR%%
+ at dirrmtry %%PYTHON_LIBDIR%%
More information about the svn-ports-head
mailing list