svn commit: r301186 - in head/games: . pycadia pycadia/files
Carlo Strub
cs at FreeBSD.org
Thu Jul 19 19:56:49 UTC 2012
Author: cs
Date: Thu Jul 19 19:56:48 2012
New Revision: 301186
URL: http://svn.freebsd.org/changeset/ports/301186
Log:
The Pycadia project is a collection of vector arcade games written in Python
using the excellent pygame libraries.
Current games are:
SpaceWarpy is a conversion of the original classic game Spacewar!.
Vektoroids is loosely based on the arcade classic Asteroids.
WWW: http://www.anti-particle.com/old/pycadia.shtml
PR: ports/168113
Submitted by: nemysis at gmx.ch
Added:
head/games/pycadia/
head/games/pycadia/Makefile (contents, props changed)
head/games/pycadia/distinfo (contents, props changed)
head/games/pycadia/files/
head/games/pycadia/files/pycadia.conf (contents, props changed)
head/games/pycadia/pkg-descr (contents, props changed)
Modified:
head/games/Makefile
Modified: head/games/Makefile
==============================================================================
--- head/games/Makefile Thu Jul 19 19:00:30 2012 (r301185)
+++ head/games/Makefile Thu Jul 19 19:56:48 2012 (r301186)
@@ -707,6 +707,7 @@
SUBDIR += py-sgfsummary
SUBDIR += py-ski
SUBDIR += pyawale
+ SUBDIR += pycadia
SUBDIR += pyching
SUBDIR += pydance
SUBDIR += pykawari
Added: head/games/pycadia/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/pycadia/Makefile Thu Jul 19 19:56:48 2012 (r301186)
@@ -0,0 +1,55 @@
+# New Ports collection makefile for: Pycadia
+# Date created: 2012-05-09
+# Whom: nemysis at gmx.ch
+#
+# $FreeBSD$
+#
+
+PORTNAME= pycadia
+PORTVERSION= 0.5.1
+CATEGORIES= games
+MASTER_SITES= ${MASTER_SITE_GENTOO:S/%SUBDIR%/distfiles/}
+
+MAINTAINER= nemysis at gmx.ch
+COMMENT= Home to vector gaming, Python style
+
+LICENSE= GPLv2
+
+RUN_DEPENDS= ${PYTHON_SITELIBDIR}/pygame/__init__.py:${PORTSDIR}/devel/py-game \
+ ${PYTHON_SITELIBDIR}/gtk-2.0/gtk/__init__.py:${PORTSDIR}/x11-toolkits/py-gtk2
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+
+USE_PYTHON= yes
+NO_BUILD= yes
+
+PLIST_FILES= bin/pycadia \
+ share/pixmaps/pycadia.png
+
+PORTDATA= *
+PORTDOCS= CHANGELOG INSTALL README TODO gravity.txt
+
+do-install:
+# Scripts
+ @${PRINTF} "#!/bin/sh\n\ncd ${DATADIR} &&\
+ ./${PORTNAME}.py\n" > ${WRKDIR}/${PORTNAME}.sh
+ @${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${PREFIX}/bin/${PORTNAME}
+
+# Data
+.if !defined (NOPORTDATA)
+ ${MKDIR} ${DATADIR}
+ @(cd ${WRKSRC} && ${COPYTREE_SHARE} "glade pixmaps sounds *.*" ${DATADIR})
+ @(cd ${DATADIR} && ${CHMOD} 755 pycadia.py spacewarpy.py vektoroids.py)
+ ${INSTALL_DATA} ${FILESDIR}/pycadia.conf ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/pixmaps/logo1.png ${PREFIX}/share/pixmaps/${PORTNAME}.png
+.endif
+
+# Documentation
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+. for f in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DOCSDIR}
+. endfor
+.endif
+
+.include <bsd.port.mk>
Added: head/games/pycadia/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/pycadia/distinfo Thu Jul 19 19:56:48 2012 (r301186)
@@ -0,0 +1,2 @@
+SHA256 (pycadia-0.5.1.tar.gz) = c872e4aede8cd04773327308b38b7e85b06aa370facee1c7b912d9ea938f67b5
+SIZE (pycadia-0.5.1.tar.gz) = 2768619
Added: head/games/pycadia/files/pycadia.conf
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/pycadia/files/pycadia.conf Thu Jul 19 19:56:48 2012 (r301186)
@@ -0,0 +1,56 @@
+[player2]
+key_fire = 114
+name = Player 2
+joy_left = ['axis', 0, -1]
+joy_right = ['axis', 0, 1]
+joy_fire = ['button', 1, 1]
+key_hyper = 100
+key_left = 97
+key_thrust = 101
+joy_hyper = ['button', 2, 1]
+joy_thrust = ['button', 0, 1]
+key_right = 115
+joy_id = -1
+
+[player1]
+key_fire = 305
+name = Player 1
+joy_left = ['axis', 0, -1]
+joy_right = ['axis', 0, 1]
+joy_fire = ['button', 0, 1]
+key_right = 275
+key_left = 276
+key_thrust = 273
+joy_id = -1
+joy_thrust = ['button', 2, 1]
+key_hyper = 274
+joy_hyper = ['button', 1, 1]
+
+[spacewarpy]
+asteroid_delay = 15
+player_lives = 5
+shot_life = 1.25
+max_shots = 4
+asteroid_destroy = 5
+gravity = 2.0
+
+[pycadia]
+last_game = vektoroids
+tab_position = 0
+
+[vektoroids]
+#player_lives = 3
+player_lives = 5
+asteroid_wave = 3
+max_shots = 3
+#shot_life = 0.5
+shot_life = 1.25
+asteroid_destroy = 1
+
+[display]
+fullscreen = 0
+screensize_x = 800
+screensize_y = 600
+screensize_pos = 2
+target_fps = 40
+
Added: head/games/pycadia/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/pycadia/pkg-descr Thu Jul 19 19:56:48 2012 (r301186)
@@ -0,0 +1,9 @@
+The Pycadia project is a collection of vector arcade games written in Python
+using the excellent pygame libraries.
+
+Current games are:
+
+SpaceWarpy is a conversion of the original classic game Spacewar!.
+Vektoroids is loosely based on the arcade classic Asteroids.
+
+WWW: http://www.anti-particle.com/old/pycadia.shtml
More information about the svn-ports-head
mailing list