From owner-svn-ports-head@FreeBSD.ORG Wed Mar 26 01:06:40 2014 Return-Path: Delivered-To: svn-ports-head@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 1DEFD395; Wed, 26 Mar 2014 01:06:40 +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)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 086F3C64; Wed, 26 Mar 2014 01:06: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 s2Q16d7N092723; Wed, 26 Mar 2014 01:06:39 GMT (envelope-from nemysis@svn.freebsd.org) Received: (from nemysis@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s2Q16cCJ092713; Wed, 26 Mar 2014 01:06:38 GMT (envelope-from nemysis@svn.freebsd.org) Message-Id: <201403260106.s2Q16cCJ092713@svn.freebsd.org> From: Rusmir Dusko Date: Wed, 26 Mar 2014 01:06:38 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r349200 - in head/games: . secrettower secrettower/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-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Mar 2014 01:06:40 -0000 Author: nemysis Date: Wed Mar 26 01:06:38 2014 New Revision: 349200 URL: http://svnweb.freebsd.org/changeset/ports/349200 QAT: https://qat.redports.org/buildarchive/r349200/ Log: The Secret Tower is a 2D platform game in which you must save the princess Ericia, prisoner in the secret citadel. The many floors are only composed of blocks: you can destroy them, move them or build them to climb the levels and fight monsters living in this tower. WWW: https://github.com/dusty141/TheSecretTower Added: head/games/secrettower/ head/games/secrettower/Makefile (contents, props changed) head/games/secrettower/distinfo (contents, props changed) head/games/secrettower/files/ head/games/secrettower/files/pkg-deinstall.in (contents, props changed) head/games/secrettower/files/secrettower.in (contents, props changed) head/games/secrettower/pkg-descr (contents, props changed) head/games/secrettower/pkg-plist (contents, props changed) Modified: head/games/Makefile Modified: head/games/Makefile ============================================================================== --- head/games/Makefile Tue Mar 25 22:07:48 2014 (r349199) +++ head/games/Makefile Wed Mar 26 01:06:38 2014 (r349200) @@ -874,6 +874,7 @@ SUBDIR += searchandrescue-data SUBDIR += secretmaryochronicles SUBDIR += secretmaryochronicles-music + SUBDIR += secrettower SUBDIR += senken SUBDIR += sets SUBDIR += sex Added: head/games/secrettower/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/secrettower/Makefile Wed Mar 26 01:06:38 2014 (r349200) @@ -0,0 +1,55 @@ +# Created by: Rusmir Dusko +# $FreeBSD$ + +PORTNAME= secrettower +PORTVERSION= 0.2.0 +CATEGORIES= games python +DIST_SUBDIR= python + +MAINTAINER= nemysis@FreeBSD.org +COMMENT= Save princess Ericia in this 2D platform game + +LICENSE= GPLv3 + +RUN_DEPENDS= ${PYGAME} + +USE_GITHUB= yes +GH_ACCOUNT= dusty141 +GH_PROJECT= TheSecretTower +GH_TAGNAME= ${GH_COMMIT} +GH_COMMIT= ecf13e4 + +USES= shebangfix +SHEBANG_FILES= TheSecretTower.py server.py +USE_PYTHON= 2 + +PORTDOCS= README +OPTIONS_DEFINE= DOCS + +SUB_FILES= ${PORTNAME} pkg-deinstall + +DESKTOP_ENTRIES="The Secret Tower" "" "${PORTNAME}" \ + "${PORTNAME}" "Game;ArcadeGame;" "" + +do-build: + @${PYTHON_CMD} -m compileall ${WRKSRC} + @${PYTHON_CMD} -O -m compileall ${WRKSRC} + +do-install: + @${REINPLACE_CMD} -e 's|%%PYTHON_CMD%%|${PYTHON_CMD}|' \ + ${WRKDIR}/${PORTNAME} + ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ +.for d in data img sound + @(cd ${WRKSRC} && ${COPYTREE_SHARE} ${d} ${STAGEDIR}${DATADIR}) +.endfor +.for f in *.py *.pyc *.pyo + @(cd ${WRKSRC} && ${INSTALL_SCRIPT} ${f} ${STAGEDIR}${DATADIR}) +.endfor + ${LN} -sf ${DATADIR}/img/perso_small.png \ + ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png + @(cd ${STAGEDIR}${DATADIR} && ${CHMOD} -R 775 data) + + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} + +.include Added: head/games/secrettower/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/secrettower/distinfo Wed Mar 26 01:06:38 2014 (r349200) @@ -0,0 +1,2 @@ +SHA256 (python/secrettower-0.2.0.tar.gz) = 10d3fe08669e8bc9652331901d440bd18f132bd276bb2ab196b85c4bd10b8c67 +SIZE (python/secrettower-0.2.0.tar.gz) = 4019504 Added: head/games/secrettower/files/pkg-deinstall.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/secrettower/files/pkg-deinstall.in Wed Mar 26 01:06:38 2014 (r349200) @@ -0,0 +1,18 @@ +#!/bin/sh +# +# $FreeBSD$ +# + +if [ "$2" = "POST-DEINSTALL" ]; then + echo "" + echo "" + echo "===============================================================================" + echo "" + echo "After deinstallation, some files may stay in %%DATADIR%%," + echo "you can delete them with" + echo "" + echo " /bin/rm -fr %%DATADIR%%" + echo "" + echo "===============================================================================" + echo "" +fi Added: head/games/secrettower/files/secrettower.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/secrettower/files/secrettower.in Wed Mar 26 01:06:38 2014 (r349200) @@ -0,0 +1,7 @@ +#!/bin/sh +# +# $FreeBSD$ +# + +cd "%%DATADIR%%" +exec %%PYTHON_CMD%% ./TheSecretTower.py Added: head/games/secrettower/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/secrettower/pkg-descr Wed Mar 26 01:06:38 2014 (r349200) @@ -0,0 +1,6 @@ +The Secret Tower is a 2D platform game in which you must save the +princess Ericia, prisoner in the secret citadel. +The many floors are only composed of blocks: you can destroy them, move them +or build them to climb the levels and fight monsters living in this tower. + +WWW: https://github.com/dusty141/TheSecretTower Added: head/games/secrettower/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/secrettower/pkg-plist Wed Mar 26 01:06:38 2014 (r349200) @@ -0,0 +1,133 @@ +bin/secrettower +share/pixmaps/secrettower.png +%%DATADIR%%/TheSecretTower.py +%%DATADIR%%/TheSecretTower.pyc +%%DATADIR%%/TheSecretTower.pyo +%%DATADIR%%/app.py +%%DATADIR%%/app.pyc +%%DATADIR%%/app.pyo +%%DATADIR%%/atelier.py +%%DATADIR%%/atelier.pyc +%%DATADIR%%/atelier.pyo +%%DATADIR%%/bloc.py +%%DATADIR%%/bloc.pyc +%%DATADIR%%/bloc.pyo +%%DATADIR%%/char.py +%%DATADIR%%/char.pyc +%%DATADIR%%/char.pyo +%%DATADIR%%/client.py +%%DATADIR%%/client.pyc +%%DATADIR%%/client.pyo +%%DATADIR%%/const.py +%%DATADIR%%/const.pyc +%%DATADIR%%/const.pyo +%%DATADIR%%/data/map/std/map0 +%%DATADIR%%/data/map/std/map1 +%%DATADIR%%/data/map/std/map10 +%%DATADIR%%/data/map/std/map11 +%%DATADIR%%/data/map/std/map12 +%%DATADIR%%/data/map/std/map13 +%%DATADIR%%/data/map/std/map14 +%%DATADIR%%/data/map/std/map15 +%%DATADIR%%/data/map/std/map16 +%%DATADIR%%/data/map/std/map17 +%%DATADIR%%/data/map/std/map18 +%%DATADIR%%/data/map/std/map19 +%%DATADIR%%/data/map/std/map2 +%%DATADIR%%/data/map/std/map3 +%%DATADIR%%/data/map/std/map4 +%%DATADIR%%/data/map/std/map5 +%%DATADIR%%/data/map/std/map6 +%%DATADIR%%/data/map/std/map7 +%%DATADIR%%/data/map/std/map8 +%%DATADIR%%/data/map/std/map9 +%%DATADIR%%/editeur.py +%%DATADIR%%/editeur.pyc +%%DATADIR%%/editeur.pyo +%%DATADIR%%/element.py +%%DATADIR%%/element.pyc +%%DATADIR%%/element.pyo +%%DATADIR%%/event.py +%%DATADIR%%/event.pyc +%%DATADIR%%/event.pyo +%%DATADIR%%/img/arm_perso.png +%%DATADIR%%/img/bloc.png +%%DATADIR%%/img/choix.png +%%DATADIR%%/img/coeur.png +%%DATADIR%%/img/coeur_vide.png +%%DATADIR%%/img/degats.png +%%DATADIR%%/img/energie.png +%%DATADIR%%/img/fire.png +%%DATADIR%%/img/fond1.png +%%DATADIR%%/img/fond2.png +%%DATADIR%%/img/fond_chest.png +%%DATADIR%%/img/fond_inv.png +%%DATADIR%%/img/fond_menu.png +%%DATADIR%%/img/font.ttf +%%DATADIR%%/img/interface.png +%%DATADIR%%/img/item.png +%%DATADIR%%/img/lave.png +%%DATADIR%%/img/mobs.png +%%DATADIR%%/img/perso.png +%%DATADIR%%/img/perso_small.png +%%DATADIR%%/img/pointeur.png +%%DATADIR%%/img/select.png +%%DATADIR%%/img/torch.png +%%DATADIR%%/img/vide.png +%%DATADIR%%/item.py +%%DATADIR%%/item.pyc +%%DATADIR%%/item.pyo +%%DATADIR%%/jeu.py +%%DATADIR%%/jeu.pyc +%%DATADIR%%/jeu.pyo +%%DATADIR%%/map.py +%%DATADIR%%/map.pyc +%%DATADIR%%/map.pyo +%%DATADIR%%/menu.py +%%DATADIR%%/menu.pyc +%%DATADIR%%/menu.pyo +%%DATADIR%%/mob.py +%%DATADIR%%/mob.pyc +%%DATADIR%%/mob.pyo +%%DATADIR%%/particule.py +%%DATADIR%%/particule.pyc +%%DATADIR%%/particule.pyo +%%DATADIR%%/perso.py +%%DATADIR%%/perso.pyc +%%DATADIR%%/perso.pyo +%%DATADIR%%/server.py +%%DATADIR%%/server.pyc +%%DATADIR%%/server.pyo +%%DATADIR%%/sound/New Text Document.txt +%%DATADIR%%/sound/click.wav +%%DATADIR%%/sound/dirt.wav +%%DATADIR%%/sound/door.wav +%%DATADIR%%/sound/fire.mp3 +%%DATADIR%%/sound/fire.wav +%%DATADIR%%/sound/fireworks1.wav +%%DATADIR%%/sound/fireworks2.wav +%%DATADIR%%/sound/goblin1.wav +%%DATADIR%%/sound/goblin2.wav +%%DATADIR%%/sound/hurt1.wav +%%DATADIR%%/sound/hurt2.wav +%%DATADIR%%/sound/keeper1.wav +%%DATADIR%%/sound/keeper2.wav +%%DATADIR%%/sound/keeper3.wav +%%DATADIR%%/sound/step1.wav +%%DATADIR%%/sound/step2.wav +%%DATADIR%%/sound/stone1.wav +%%DATADIR%%/sound/stone2.wav +%%DATADIR%%/sound/stone3.wav +%%DATADIR%%/sound/sword1.wav +%%DATADIR%%/sound/sword2.wav +%%DATADIR%%/sound/wood1.wav +%%DATADIR%%/sound/wood2.wav +%%DATADIR%%/sound/zombie1.wav +%%DATADIR%%/sound/zombie2.wav +%%DATADIR%%/sound/zombie3.wav +@dirrm %%DATADIR%%/sound +@dirrm %%DATADIR%%/img +@dirrm %%DATADIR%%/data/map/std +@dirrm %%DATADIR%%/data/map +@dirrm %%DATADIR%%/data +@dirrm %%DATADIR%%