aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorsat <sat@FreeBSD.org>2007-08-14 16:34:18 +0800
committersat <sat@FreeBSD.org>2007-08-14 16:34:18 +0800
commit8902bff5fb997490e14464e5fa4f266c79e799ac (patch)
treea06b88bca0701d3fdea58512383277134aff2920 /games
parentbcac2d84a7ad19e0c31029e90043ab424fe513e3 (diff)
downloadfreebsd-ports-gnome-8902bff5fb997490e14464e5fa4f266c79e799ac.tar.gz
freebsd-ports-gnome-8902bff5fb997490e14464e5fa4f266c79e799ac.tar.zst
freebsd-ports-gnome-8902bff5fb997490e14464e5fa4f266c79e799ac.zip
Add port games/whichwayisup:
Which Way Is Up is a traditional and challenging 2D platformer game with a slight rotational twist. Help a mysterious big-eared salaryman named Guy find his keys in a labyrinth of dangers and bad dialogue. WWW: http://hectigo.net/puskutraktori/whichwayisup/ Author: Olli "Hectigo" Etuaho <admin[at]hectigo.net>
Diffstat (limited to 'games')
-rw-r--r--games/Makefile1
-rw-r--r--games/whichwayisup/Makefile44
-rw-r--r--games/whichwayisup/distinfo3
-rw-r--r--games/whichwayisup/pkg-descr6
-rw-r--r--games/whichwayisup/pkg-plist168
5 files changed, 222 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index 8650b92397b6..facb42b8a373 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -806,6 +806,7 @@
SUBDIR += warsow-data
SUBDIR += warzone2100
SUBDIR += wesnoth
+ SUBDIR += whichwayisup
SUBDIR += widelands
SUBDIR += windstille
SUBDIR += wmeyes
diff --git a/games/whichwayisup/Makefile b/games/whichwayisup/Makefile
new file mode 100644
index 000000000000..348de85bd51e
--- /dev/null
+++ b/games/whichwayisup/Makefile
@@ -0,0 +1,44 @@
+# New ports collection makefile for: whichwayisup
+# Date created: 14 August 2007
+# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= whichwayisup
+PORTVERSION= 0.7.0
+DISTVERSION= ${PORTVERSION:S/.//g}
+CATEGORIES= games
+MASTER_SITES= http://hectigo.net/puskutraktori/whichwayisup/ CENKES
+DISTNAME= ${PORTNAME}_b${DISTVERSION}
+
+MAINTAINER= infofarmer@FreeBSD.org
+COMMENT= Platformer game with rotational twist
+
+RUN_DEPENDS= py*-game>=1.7.1:${PORTSDIR}/devel/py-game
+
+USE_PYTHON= yes
+USE_ZIP= yes
+PORTDOCS= README.txt changelog.txt
+
+post-patch:
+ @${REINPLACE_CMD} -e '/libdir =/s|=.*|= "${PYTHON_SITELIBDIR}/${PORTNAME}"|'\
+ ${WRKSRC}/run_game.py
+ @${REINPLACE_CMD} -e '/data_dir =/s|data_py.*data.|"${DATADIR}"|'\
+ ${WRKSRC}/lib/data.py
+
+do-build:
+ @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}/lib/
+ @${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}/lib/
+ @${TOUCH} ${WRKSRC}/data/music/.keep_me
+
+do-install:
+ @cd ${WRKSRC}/data/&&${COPYTREE_SHARE} . ${DATADIR}/
+ @cd ${WRKSRC}/lib/&&${COPYTREE_SHARE} . ${PYTHON_SITELIBDIR}/${PORTNAME}/
+ @${INSTALL_SCRIPT} ${WRKSRC}/run_game.py ${PREFIX}/bin/${PORTNAME}
+.ifndef NOPORTDOCS
+ @${INSTALL} -d ${DOCSDIR}/
+ @cd ${WRKSRC}/&&${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
+.endif
+
+.include <bsd.port.mk>
diff --git a/games/whichwayisup/distinfo b/games/whichwayisup/distinfo
new file mode 100644
index 000000000000..d76964e24394
--- /dev/null
+++ b/games/whichwayisup/distinfo
@@ -0,0 +1,3 @@
+MD5 (whichwayisup_b070.zip) = 9de95ed296856f86375b6aa4120c854e
+SHA256 (whichwayisup_b070.zip) = a84553081db91400debfff50079cadea1281af5cb18ca6148a355e5abbe69aab
+SIZE (whichwayisup_b070.zip) = 743307
diff --git a/games/whichwayisup/pkg-descr b/games/whichwayisup/pkg-descr
new file mode 100644
index 000000000000..7cc58cc52927
--- /dev/null
+++ b/games/whichwayisup/pkg-descr
@@ -0,0 +1,6 @@
+Which Way Is Up is a traditional and challenging 2D platformer game
+with a slight rotational twist. Help a mysterious big-eared salaryman
+named Guy find his keys in a labyrinth of dangers and bad dialogue.
+
+WWW: http://hectigo.net/puskutraktori/whichwayisup/
+Author: Olli "Hectigo" Etuaho <admin[at]hectigo.net>
diff --git a/games/whichwayisup/pkg-plist b/games/whichwayisup/pkg-plist
new file mode 100644
index 000000000000..dcc065cfb9c8
--- /dev/null
+++ b/games/whichwayisup/pkg-plist
@@ -0,0 +1,168 @@
+bin/whichwayisup
+%%PYTHON_SITELIBDIR%%/whichwayisup/animation.py
+%%PYTHON_SITELIBDIR%%/whichwayisup/animation.pyc
+%%PYTHON_SITELIBDIR%%/whichwayisup/animation.pyo
+%%PYTHON_SITELIBDIR%%/whichwayisup/blob.py
+%%PYTHON_SITELIBDIR%%/whichwayisup/blob.pyc
+%%PYTHON_SITELIBDIR%%/whichwayisup/blob.pyo
+%%PYTHON_SITELIBDIR%%/whichwayisup/data.py
+%%PYTHON_SITELIBDIR%%/whichwayisup/data.py.bak
+%%PYTHON_SITELIBDIR%%/whichwayisup/data.pyc
+%%PYTHON_SITELIBDIR%%/whichwayisup/data.pyo
+%%PYTHON_SITELIBDIR%%/whichwayisup/frame.py
+%%PYTHON_SITELIBDIR%%/whichwayisup/frame.pyc
+%%PYTHON_SITELIBDIR%%/whichwayisup/frame.pyo
+%%PYTHON_SITELIBDIR%%/whichwayisup/game.py
+%%PYTHON_SITELIBDIR%%/whichwayisup/game.pyc
+%%PYTHON_SITELIBDIR%%/whichwayisup/game.pyo
+%%PYTHON_SITELIBDIR%%/whichwayisup/item.py
+%%PYTHON_SITELIBDIR%%/whichwayisup/item.pyc
+%%PYTHON_SITELIBDIR%%/whichwayisup/item.pyo
+%%PYTHON_SITELIBDIR%%/whichwayisup/level.py
+%%PYTHON_SITELIBDIR%%/whichwayisup/level.pyc
+%%PYTHON_SITELIBDIR%%/whichwayisup/level.pyo
+%%PYTHON_SITELIBDIR%%/whichwayisup/locals.py
+%%PYTHON_SITELIBDIR%%/whichwayisup/locals.pyc
+%%PYTHON_SITELIBDIR%%/whichwayisup/locals.pyo
+%%PYTHON_SITELIBDIR%%/whichwayisup/main.py
+%%PYTHON_SITELIBDIR%%/whichwayisup/main.pyc
+%%PYTHON_SITELIBDIR%%/whichwayisup/main.pyo
+%%PYTHON_SITELIBDIR%%/whichwayisup/menu.py
+%%PYTHON_SITELIBDIR%%/whichwayisup/menu.pyc
+%%PYTHON_SITELIBDIR%%/whichwayisup/menu.pyo
+%%PYTHON_SITELIBDIR%%/whichwayisup/object.py
+%%PYTHON_SITELIBDIR%%/whichwayisup/object.pyc
+%%PYTHON_SITELIBDIR%%/whichwayisup/object.pyo
+%%PYTHON_SITELIBDIR%%/whichwayisup/pack.bat
+%%PYTHON_SITELIBDIR%%/whichwayisup/particle.py
+%%PYTHON_SITELIBDIR%%/whichwayisup/particle.pyc
+%%PYTHON_SITELIBDIR%%/whichwayisup/particle.pyo
+%%PYTHON_SITELIBDIR%%/whichwayisup/player.py
+%%PYTHON_SITELIBDIR%%/whichwayisup/player.pyc
+%%PYTHON_SITELIBDIR%%/whichwayisup/player.pyo
+%%PYTHON_SITELIBDIR%%/whichwayisup/projectile.py
+%%PYTHON_SITELIBDIR%%/whichwayisup/projectile.pyc
+%%PYTHON_SITELIBDIR%%/whichwayisup/projectile.pyo
+%%PYTHON_SITELIBDIR%%/whichwayisup/scripted_event.py
+%%PYTHON_SITELIBDIR%%/whichwayisup/scripted_event.pyc
+%%PYTHON_SITELIBDIR%%/whichwayisup/scripted_event.pyo
+%%PYTHON_SITELIBDIR%%/whichwayisup/setup.py
+%%PYTHON_SITELIBDIR%%/whichwayisup/setup.pyc
+%%PYTHON_SITELIBDIR%%/whichwayisup/setup.pyo
+%%PYTHON_SITELIBDIR%%/whichwayisup/sound.py
+%%PYTHON_SITELIBDIR%%/whichwayisup/sound.pyc
+%%PYTHON_SITELIBDIR%%/whichwayisup/sound.pyo
+%%PYTHON_SITELIBDIR%%/whichwayisup/spider.py
+%%PYTHON_SITELIBDIR%%/whichwayisup/spider.pyc
+%%PYTHON_SITELIBDIR%%/whichwayisup/spider.pyo
+%%PYTHON_SITELIBDIR%%/whichwayisup/spikes.py
+%%PYTHON_SITELIBDIR%%/whichwayisup/spikes.pyc
+%%PYTHON_SITELIBDIR%%/whichwayisup/spikes.pyo
+%%PYTHON_SITELIBDIR%%/whichwayisup/tile.py
+%%PYTHON_SITELIBDIR%%/whichwayisup/tile.pyc
+%%PYTHON_SITELIBDIR%%/whichwayisup/tile.pyo
+%%PYTHON_SITELIBDIR%%/whichwayisup/util.py
+%%PYTHON_SITELIBDIR%%/whichwayisup/util.pyc
+%%PYTHON_SITELIBDIR%%/whichwayisup/util.pyo
+%%PYTHON_SITELIBDIR%%/whichwayisup/variables.py
+%%PYTHON_SITELIBDIR%%/whichwayisup/variables.pyc
+%%PYTHON_SITELIBDIR%%/whichwayisup/variables.pyo
+%%PYTHON_SITELIBDIR%%/whichwayisup/visibleobject.py
+%%PYTHON_SITELIBDIR%%/whichwayisup/visibleobject.pyc
+%%PYTHON_SITELIBDIR%%/whichwayisup/visibleobject.pyo
+%%PYTHON_SITELIBDIR%%/whichwayisup/whichway.ico
+%%PYTHON_SITELIBDIR%%/whichwayisup/world.py
+%%PYTHON_SITELIBDIR%%/whichwayisup/world.pyc
+%%PYTHON_SITELIBDIR%%/whichwayisup/world.pyo
+%%DATADIR%%/levels/Quest For The Keys.txt
+%%DATADIR%%/levels/The Other Side.txt
+%%DATADIR%%/levels/creating_levels.txt
+%%DATADIR%%/levels/empty_level.txt
+%%DATADIR%%/levels/w0-l0.txt
+%%DATADIR%%/levels/w0-l1.txt
+%%DATADIR%%/levels/w0-l2.txt
+%%DATADIR%%/levels/w0-l3.txt
+%%DATADIR%%/levels/w0-l4.txt
+%%DATADIR%%/levels/w0-l5.txt
+%%DATADIR%%/levels/w0-l6.txt
+%%DATADIR%%/levels/w1-l0.txt
+%%DATADIR%%/levels/w1-l1.txt
+%%DATADIR%%/levels/w1-l2.txt
+%%DATADIR%%/levels/w1-l3.txt
+%%DATADIR%%/levels/w1-l4.txt
+%%DATADIR%%/levels/w1-l5.txt
+%%DATADIR%%/levels/w1-l6.txt
+%%DATADIR%%/misc/Vera.ttf
+%%DATADIR%%/music/.keep_me
+%%DATADIR%%/pictures/Thumbs.db
+%%DATADIR%%/pictures/bg_lose.png
+%%DATADIR%%/pictures/bg_quit.png
+%%DATADIR%%/pictures/bg_victory.png
+%%DATADIR%%/pictures/blob_dying.txt
+%%DATADIR%%/pictures/blob_dying_0.png
+%%DATADIR%%/pictures/blob_dying_1.png
+%%DATADIR%%/pictures/blob_dying_2.png
+%%DATADIR%%/pictures/blob_dying_3.png
+%%DATADIR%%/pictures/blob_falling_0.png
+%%DATADIR%%/pictures/blob_jumping_0.png
+%%DATADIR%%/pictures/blob_standing_0.png
+%%DATADIR%%/pictures/brown_background_static_0.png
+%%DATADIR%%/pictures/brown_bars_0.png
+%%DATADIR%%/pictures/brown_key_0.png
+%%DATADIR%%/pictures/brown_lever.txt
+%%DATADIR%%/pictures/brown_lever_0.png
+%%DATADIR%%/pictures/brown_lever_1.png
+%%DATADIR%%/pictures/brown_lever_broken_0.png
+%%DATADIR%%/pictures/brown_other_pants_0.png
+%%DATADIR%%/pictures/brown_power_crystal_0.png
+%%DATADIR%%/pictures/brown_spikes_0.png
+%%DATADIR%%/pictures/brown_wall_0.png
+%%DATADIR%%/pictures/default_static.txt
+%%DATADIR%%/pictures/energy_dying.txt
+%%DATADIR%%/pictures/energy_dying_0.png
+%%DATADIR%%/pictures/energy_dying_1.png
+%%DATADIR%%/pictures/energy_flying_0.png
+%%DATADIR%%/pictures/example_anim.txt
+%%DATADIR%%/pictures/green_background_static_0.png
+%%DATADIR%%/pictures/green_lever.txt
+%%DATADIR%%/pictures/green_spikes_0.png
+%%DATADIR%%/pictures/green_wall_0.png
+%%DATADIR%%/pictures/guy.txt
+%%DATADIR%%/pictures/guy_arrow_0.png
+%%DATADIR%%/pictures/guy_dying.txt
+%%DATADIR%%/pictures/guy_dying_0.png
+%%DATADIR%%/pictures/guy_shouting.txt
+%%DATADIR%%/pictures/guy_shouting_0.png
+%%DATADIR%%/pictures/guy_shouting_1.png
+%%DATADIR%%/pictures/guy_standing_0.png
+%%DATADIR%%/pictures/guy_walking.txt
+%%DATADIR%%/pictures/guy_walking_0.png
+%%DATADIR%%/pictures/guy_walking_1.png
+%%DATADIR%%/pictures/guy_walking_2.png
+%%DATADIR%%/pictures/health_bar_empty.png
+%%DATADIR%%/pictures/health_bar_fill.png
+%%DATADIR%%/pictures/key_p.png
+%%DATADIR%%/pictures/key_z.png
+%%DATADIR%%/pictures/menu_bg.png
+%%DATADIR%%/pictures/object_idle_0.png
+%%DATADIR%%/pictures/spider_standing_0.png
+%%DATADIR%%/pictures/spider_walking.txt
+%%DATADIR%%/pictures/spider_walking_0.png
+%%DATADIR%%/pictures/spider_walking_1.png
+%%DATADIR%%/pictures/spider_walking_2.png
+%%DATADIR%%/pictures/spider_walking_3.png
+%%DATADIR%%/sounds/augh.ogg
+%%DATADIR%%/sounds/augh.txt
+%%DATADIR%%/sounds/boing.ogg
+%%DATADIR%%/sounds/click.ogg
+%%DATADIR%%/sounds/coins.ogg
+%%DATADIR%%/sounds/fire.ogg
+%%DATADIR%%/sounds/nextlevel.ogg
+%%DATADIR%%/sounds/woosh.ogg
+@dirrm %%PYTHON_SITELIBDIR%%/whichwayisup
+@dirrm %%DATADIR%%/levels
+@dirrm %%DATADIR%%/misc
+@dirrm %%DATADIR%%/music
+@dirrm %%DATADIR%%/pictures
+@dirrm %%DATADIR%%/sounds
+@dirrm %%DATADIR%%