From owner-svn-ports-all@FreeBSD.ORG Wed Apr 9 16:15:41 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 17AFC9D9; Wed, 9 Apr 2014 16:15:41 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EB1A01CB0; Wed, 9 Apr 2014 16:15:40 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s39GFegv017448; Wed, 9 Apr 2014 16:15:40 GMT (envelope-from nemysis@svn.freebsd.org) Received: (from nemysis@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s39GFdi4017442; Wed, 9 Apr 2014 16:15:39 GMT (envelope-from nemysis@svn.freebsd.org) Message-Id: <201404091615.s39GFdi4017442@svn.freebsd.org> From: Rusmir Dusko Date: Wed, 9 Apr 2014 16:15:39 +0000 (UTC) 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 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Apr 2014 16:15:41 -0000 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 +# $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 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%%