Bug 168113 - [NEW PORT] games/pycadia: Home to vector gaming, Python style
Summary: [NEW PORT] games/pycadia: Home to vector gaming, Python style
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Carlo Strub
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-18 17:20 UTC by nemysis
Modified: 2012-07-19 21:00 UTC (History)
0 users

See Also:


Attachments
.shar (3.85 KB, text/plain)
2012-05-18 17:20 UTC, nemysis
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description nemysis 2012-05-18 17:20:01 UTC
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

Can be downloded only from Gentoo Mirrors, please add to FreeBSD Mirrors, this great retro game.

Generated manually, tested with RedPorts and port test, sent with FreeBSD Port Tools 0.99_6 (mode: new)
Comment 1 Carlo Strub freebsd_committer freebsd_triage 2012-05-19 09:08:03 UTC
Responsible Changed
From-To: freebsd-ports-bugs->cs

I'll take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2012-07-19 20:56:59 UTC
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@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@gmx.ch
+#
+# $FreeBSD$
+#
+
+PORTNAME=	pycadia
+PORTVERSION=	0.5.1
+CATEGORIES=	games
+MASTER_SITES=	${MASTER_SITE_GENTOO:S/%SUBDIR%/distfiles/}
+
+MAINTAINER=	nemysis@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
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Carlo Strub freebsd_committer freebsd_triage 2012-07-19 20:57:14 UTC
State Changed
From-To: open->closed

Committed. Thank you very much.