Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Mar 2014 01:06:38 +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: r349200 - in head/games: . secrettower secrettower/files
Message-ID:  <201403260106.s2Q16cCJ092713@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <nemysis@FreeBSD.org>
+# $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 <bsd.port.mk>

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%%



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