1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00

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
This commit is contained in:
Rusmir Dusko 2014-03-26 01:06:38 +00:00
parent 36ce70833d
commit 4cd6a0eaf5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=349200
7 changed files with 222 additions and 0 deletions

View File

@ -874,6 +874,7 @@
SUBDIR += searchandrescue-data
SUBDIR += secretmaryochronicles
SUBDIR += secretmaryochronicles-music
SUBDIR += secrettower
SUBDIR += senken
SUBDIR += sets
SUBDIR += sex

View File

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

View File

@ -0,0 +1,2 @@
SHA256 (python/secrettower-0.2.0.tar.gz) = 10d3fe08669e8bc9652331901d440bd18f132bd276bb2ab196b85c4bd10b8c67
SIZE (python/secrettower-0.2.0.tar.gz) = 4019504

View File

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

View File

@ -0,0 +1,7 @@
#!/bin/sh
#
# $FreeBSD$
#
cd "%%DATADIR%%"
exec %%PYTHON_CMD%% ./TheSecretTower.py

View File

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

133
games/secrettower/pkg-plist Normal file
View File

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