Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Apr 2014 16:15:39 +0000 (UTC)
From:      Rusmir Dusko <nemysis@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r350724 - in head/games: . robocalypto robocalypto/files
Message-ID:  <201404091615.s39GFdi4017442@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nemysis
Date: Wed Apr  9 16:15:39 2014
New Revision: 350724
URL: http://svnweb.freebsd.org/changeset/ports/350724
QAT: https://qat.redports.org/buildarchive/r350724/

Log:
  Pyggel (Python Graphical Game Engine + Libraries) will ease the learning curve
  of getting into 3d programming, while also having a strong enough framework
  for full-sized applications.
  
  PYGGEL demo game
  
  WWW: https://code.google.com/p/pyggel/

Added:
  head/games/robocalypto/
  head/games/robocalypto/Makefile   (contents, props changed)
  head/games/robocalypto/distinfo   (contents, props changed)
  head/games/robocalypto/files/
  head/games/robocalypto/files/robocalypto.in   (contents, props changed)
  head/games/robocalypto/pkg-descr   (contents, props changed)
  head/games/robocalypto/pkg-plist   (contents, props changed)
Modified:
  head/games/Makefile

Modified: head/games/Makefile
==============================================================================
--- head/games/Makefile	Wed Apr  9 15:18:16 2014	(r350723)
+++ head/games/Makefile	Wed Apr  9 16:15:39 2014	(r350724)
@@ -830,6 +830,7 @@
     SUBDIR += rftg
     SUBDIR += ri-li
     SUBDIR += rnd_jue
+    SUBDIR += robocalypto
     SUBDIR += robocode
     SUBDIR += robotfindskitten
     SUBDIR += rockdodger

Added: head/games/robocalypto/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/robocalypto/Makefile	Wed Apr  9 16:15:39 2014	(r350724)
@@ -0,0 +1,54 @@
+# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	robocalypto
+PORTVERSION=	0.08
+DISTVERSIONSUFFIX=	-alpha4c
+CATEGORIES=	games python
+MASTER_SITES=	GOOGLE_CODE \
+		SF/nemysisfreebsdp/games/:icons
+PROJECTHOST=	pyggel
+DISTFILES=	PYGGEL-V${DISTVERSION}${DISTVERSIONSUFFIX}${EXTRACT_SUFX} \
+		${PORTNAME}.png:icons
+DIST_SUBDIR=	python
+EXTRACT_ONLY=	PYGGEL-V${DISTVERSION}${DISTVERSIONSUFFIX}${EXTRACT_SUFX}
+
+MAINTAINER=	nemysis@FreeBSD.org
+COMMENT=	PYGGEL demo game
+
+LICENSE=	Public_Domain_LICENSE
+LICENSE_NAME=	Public Domain License
+LICENSE_TEXT=	Public Domain
+LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pyggel>=0:${PORTSDIR}/graphics/py-pyggel
+
+WRKSRC=		${WRKDIR}/PYGGEL-V${DISTVERSION}${DISTVERSIONSUFFIX}/Robocalypto
+
+USES=		zip
+USE_PYTHON_RUN=	yes
+NO_BUILD=	yes
+
+SUB_FILES=	${PORTNAME}
+
+DESKTOP_ENTRIES="Robocalypto" "" "${PORTNAME}" \
+		"${PORTNAME}" "Game;StrategyGame;" ""
+
+post-patch:
+.for f in run_game.py gamelib/main.py gamelib/game.py
+	@${REINPLACE_CMD} -e 's|^.*#!.*python.*$$|#!${PYTHON_CMD}|' \
+		${WRKSRC}/${f}
+.endfor
+	@${FIND} ${WRKSRC} -name "*.bak" -delete
+
+do-install:
+	@${REINPLACE_CMD} -e 's|%%PYTHON_CMD%%|${PYTHON_CMD}|' \
+		${WRKDIR}/${PORTNAME}
+	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
+	@(cd ${WRKSRC} && ${COPYTREE_SHARE} "data gamelib" ${STAGEDIR}${DATADIR})
+	${INSTALL_SCRIPT} ${WRKSRC}/*.py ${STAGEDIR}${DATADIR}
+
+	${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \
+		${STAGEDIR}${PREFIX}/share/pixmaps/
+
+.include <bsd.port.mk>

Added: head/games/robocalypto/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/robocalypto/distinfo	Wed Apr  9 16:15:39 2014	(r350724)
@@ -0,0 +1,4 @@
+SHA256 (python/PYGGEL-V0.08-alpha4c.zip) = 492bafd20a8cb1af2de4c5142875371a5d6dd3f1223959b169c15b6196bbca92
+SIZE (python/PYGGEL-V0.08-alpha4c.zip) = 438750
+SHA256 (python/robocalypto.png) = fadd40ed071b46267d84c969ef0748cb282bc5dece5ba0d7e8bebd78a4c3a602
+SIZE (python/robocalypto.png) = 4520

Added: head/games/robocalypto/files/robocalypto.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/robocalypto/files/robocalypto.in	Wed Apr  9 16:15:39 2014	(r350724)
@@ -0,0 +1,7 @@
+#!/bin/sh
+#
+# $FreeBSD$
+#
+
+cd "%%DATADIR%%"
+exec %%PYTHON_CMD%% ./run_game.py "${@}"

Added: head/games/robocalypto/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/robocalypto/pkg-descr	Wed Apr  9 16:15:39 2014	(r350724)
@@ -0,0 +1,7 @@
+Pyggel (Python Graphical Game Engine + Libraries) will ease the learning curve
+of getting into 3d programming, while also having a strong enough framework
+for full-sized applications. 
+
+PYGGEL demo game
+
+WWW: https://code.google.com/p/pyggel/

Added: head/games/robocalypto/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/robocalypto/pkg-plist	Wed Apr  9 16:15:39 2014	(r350724)
@@ -0,0 +1,29 @@
+bin/robocalypto
+share/pixmaps/robocalypto.png
+%%DATADIR%%/data/DS-DIGI.ttf
+%%DATADIR%%/data/bullet.mtl
+%%DATADIR%%/data/bullet.obj
+%%DATADIR%%/data/ceiling.png
+%%DATADIR%%/data/digital-7.ttf
+%%DATADIR%%/data/door.png
+%%DATADIR%%/data/explosion.png
+%%DATADIR%%/data/flash.png
+%%DATADIR%%/data/floor.png
+%%DATADIR%%/data/gun.mtl
+%%DATADIR%%/data/gun.obj
+%%DATADIR%%/data/gun4.mtl
+%%DATADIR%%/data/gun4.obj
+%%DATADIR%%/data/hud.png
+%%DATADIR%%/data/robo.mtl
+%%DATADIR%%/data/robo.obj
+%%DATADIR%%/data/screen.png
+%%DATADIR%%/data/target.png
+%%DATADIR%%/data/wall.png
+%%DATADIR%%/gamelib/__init__.py
+%%DATADIR%%/gamelib/game.py
+%%DATADIR%%/gamelib/main.py
+%%DATADIR%%/gamelib/objects.py
+%%DATADIR%%/run_game.py
+@dirrm %%DATADIR%%/gamelib
+@dirrm %%DATADIR%%/data
+@dirrm %%DATADIR%%



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404091615.s39GFdi4017442>