aboutsummaryrefslogtreecommitdiff
path: root/games/zephulor
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-07-20 11:03:18 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-07-20 11:03:18 +0000
commit096fe1152838a6476e37fb42c9983f3fc905dccc (patch)
treefc24a9d9ce0181d04edee327a542840682b40fe2 /games/zephulor
parent006bf1fe27764c026405069864dbf4900549598f (diff)
downloadports-096fe1152838a6476e37fb42c9983f3fc905dccc.tar.gz
ports-096fe1152838a6476e37fb42c9983f3fc905dccc.zip
Notes
Diffstat (limited to 'games/zephulor')
-rw-r--r--games/zephulor/Makefile91
-rw-r--r--games/zephulor/distinfo2
-rw-r--r--games/zephulor/pkg-descr16
-rw-r--r--games/zephulor/pkg-plist133
4 files changed, 242 insertions, 0 deletions
diff --git a/games/zephulor/Makefile b/games/zephulor/Makefile
new file mode 100644
index 000000000000..8ede592e89b7
--- /dev/null
+++ b/games/zephulor/Makefile
@@ -0,0 +1,91 @@
+# New ports collection makefile for: games/zephulor
+# Date created: 8 Aug 2005
+# Whom: Alejandro Pulver <alejandro@varnet.biz>
+#
+# $FreeBSD$
+#
+
+PORTNAME= zephulor
+PORTVERSION= 1
+CATEGORIES= games
+MASTER_SITES= http://www.hollowworks.com/downloads/adventuresonplanetzephulor/files/
+DISTNAME= ${PORTNAME}-source
+
+MAINTAINER= alejandro@varnet.biz
+COMMENT= Adventures on Planet Zephulor
+
+RUN_DEPENDS= ${PYTHON_SITELIBDIR}/pygame/__init__.py:${PORTSDIR}/devel/py-game \
+ ${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter
+
+USE_PYTHON= yes
+USE_REINPLACE= yes
+NO_BUILD= yes
+
+post-patch:
+# Fix path to python interpreter
+ @${REINPLACE_CMD} -e 's|#!.*python|#!${PYTHON_CMD}|' \
+ ${WRKSRC}/*.py ${WRKSRC}/maptool/*.py
+
+# Make wrapper script
+ @${ECHO_CMD} "#!/bin/sh" >> ${WRKSRC}/zephulor
+ @${ECHO_CMD} '${PYTHON_CMD} ${DATADIR}/zephulor.py "$$@"' \
+ >> ${WRKSRC}/zephulor
+
+do-install:
+# Wrapper script
+ ${INSTALL_SCRIPT} ${WRKSRC}/zephulor ${PREFIX}/bin
+
+# Data directory
+ ${MKDIR} ${DATADIR}
+
+# Executable scripts
+.for f in chared maploadtool scnloadtool zephulor
+ ${INSTALL_SCRIPT} ${WRKSRC}/${f}.py ${DATADIR}
+.endfor
+
+# Scripts
+.for f in game_config game_entities game_hud game_map game_menu \
+ game_projectiles game_sound myimg
+ ${INSTALL_DATA} ${WRKSRC}/${f}.py ${DATADIR}
+.endfor
+
+# Documentation
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+. for f in README manual readme-chared readme-maploadtool \
+ readme-scnloadtool
+ ${INSTALL_DATA} ${WRKSRC}/${f}.txt ${DOCSDIR}
+. endfor
+.endif
+
+# Maptool
+ ${MKDIR} ${DATADIR}/maptool
+
+# Executable scripts
+.for f in chared main
+ ${INSTALL_SCRIPT} ${WRKSRC}/maptool/${f}.py ${DATADIR}/maptool
+.endfor
+
+# Scripts
+.for f in charmenu domenu game_entities game_map hud interface keymap myimg \
+ tilemenu
+ ${INSTALL_DATA} ${WRKSRC}/maptool/${f}.py ${DATADIR}/maptool
+.endfor
+
+# Documentation
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}/maptool
+ ${INSTALL_DATA} ${WRKSRC}/maptool/manual.txt ${DOCSDIR}/maptool
+.endif
+
+# Data
+ ${CP} -R ${WRKSRC}/data ${DATADIR}
+
+# Fix wrong permissions
+ ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DATADIR}
+ ${FIND} ${DATADIR}/data -type f -print0 | \
+ ${XARGS} -0 ${CHMOD} ${SHAREMODE}
+ ${FIND} ${DATADIR}/data -type d -print0 | \
+ ${XARGS} -0 ${CHMOD} ${BINMODE}
+
+.include <bsd.port.mk>
diff --git a/games/zephulor/distinfo b/games/zephulor/distinfo
new file mode 100644
index 000000000000..3c4b7e6dcbe7
--- /dev/null
+++ b/games/zephulor/distinfo
@@ -0,0 +1,2 @@
+MD5 (zephulor-source.tar.gz) = 7b58274a5884ce950938bf9fdffe8e42
+SIZE (zephulor-source.tar.gz) = 3274306
diff --git a/games/zephulor/pkg-descr b/games/zephulor/pkg-descr
new file mode 100644
index 000000000000..aad1e0c1829e
--- /dev/null
+++ b/games/zephulor/pkg-descr
@@ -0,0 +1,16 @@
+The bulk of the game play involves finding power-ups and hidden areas and
+avoiding or squashing strange alien monsters bent on your destruction.
+
+There are a few hidden areas, and in several locations, the player will
+experience different levels based upon which path is chosen.
+
+There are no lives or continues in the game. If the player dies, he/she simply
+restarts at the beginning of the level. All creatures and power-ups are
+persistent in each level, in other words, if all but one enemy has been killed
+on a level when the player dies, there will only be that remaining creature as
+the player restarts.
+
+WWW: http://games.hollowworks.com/
+
+- Alejandro Pulver
+alejandro@varnet.biz
diff --git a/games/zephulor/pkg-plist b/games/zephulor/pkg-plist
new file mode 100644
index 000000000000..322736765273
--- /dev/null
+++ b/games/zephulor/pkg-plist
@@ -0,0 +1,133 @@
+bin/zephulor
+%%DATADIR%%/chared.py
+%%DATADIR%%/data/angry_eye-die.wav
+%%DATADIR%%/data/angry_eye-dmg.wav
+%%DATADIR%%/data/angry_eye-shoot.wav
+%%DATADIR%%/data/angry_eye.data
+%%DATADIR%%/data/angry_eye.png
+%%DATADIR%%/data/blob-die.wav
+%%DATADIR%%/data/blob-grubub.wav
+%%DATADIR%%/data/blob.bmp
+%%DATADIR%%/data/bullet1.bmp
+%%DATADIR%%/data/bullet2.bmp
+%%DATADIR%%/data/buzzbuzz-die.wav
+%%DATADIR%%/data/buzzbuzz-dmg.wav
+%%DATADIR%%/data/buzzbuzz.data
+%%DATADIR%%/data/buzzbuzz.png
+%%DATADIR%%/data/char-bang.wav
+%%DATADIR%%/data/char-die.wav
+%%DATADIR%%/data/char-ow.wav
+%%DATADIR%%/data/char1.data
+%%DATADIR%%/data/char2.data
+%%DATADIR%%/data/credits.scn
+%%DATADIR%%/data/default.charlist
+%%DATADIR%%/data/eheart.bmp
+%%DATADIR%%/data/end.scn
+%%DATADIR%%/data/entsndlist.data
+%%DATADIR%%/data/fire-powerup.bmp
+%%DATADIR%%/data/fire-powerup.data
+%%DATADIR%%/data/firstmap.data
+%%DATADIR%%/data/heart-powerup.bmp
+%%DATADIR%%/data/heart-powerup.data
+%%DATADIR%%/data/heart.bmp
+%%DATADIR%%/data/highlight.bmp
+%%DATADIR%%/data/hollowlogo-credits.png
+%%DATADIR%%/data/hollowlogo-save.png
+%%DATADIR%%/data/hollowlogo.png
+%%DATADIR%%/data/hud.bmp
+%%DATADIR%%/data/intro.scn
+%%DATADIR%%/data/invuln-powerup.bmp
+%%DATADIR%%/data/invuln-powerup.data
+%%DATADIR%%/data/jump-powerup.bmp
+%%DATADIR%%/data/jump-powerup.data
+%%DATADIR%%/data/load.scn
+%%DATADIR%%/data/logo.scn
+%%DATADIR%%/data/mushlump_lowlands-01.data
+%%DATADIR%%/data/mushlump_lowlands-02.data
+%%DATADIR%%/data/mushlump_lowlands-03.data
+%%DATADIR%%/data/mushlump_lowlands-04.data
+%%DATADIR%%/data/mushlump_lowlands-05.data
+%%DATADIR%%/data/mushlump_lowlands-06.data
+%%DATADIR%%/data/mushlump_lowlands-07.data
+%%DATADIR%%/data/mushlump_lowlands-bkg0.bmp
+%%DATADIR%%/data/mushlump_lowlands-bkg1.bmp
+%%DATADIR%%/data/mushlump_lowlands-bkg2.bmp
+%%DATADIR%%/data/mushlump_lowlands-tileset.bmp
+%%DATADIR%%/data/mushlump_lowlands.mp3
+%%DATADIR%%/data/mychar.bmp
+%%DATADIR%%/data/pause.bmp
+%%DATADIR%%/data/paxapart_flats-01.data
+%%DATADIR%%/data/paxapart_flats-02.data
+%%DATADIR%%/data/paxapart_flats-03.data
+%%DATADIR%%/data/paxapart_flats-04.data
+%%DATADIR%%/data/paxapart_flats-05.data
+%%DATADIR%%/data/paxapart_flats-06.data
+%%DATADIR%%/data/paxapart_flats-07.data
+%%DATADIR%%/data/paxapart_flats-08.data
+%%DATADIR%%/data/paxapart_flats-bkg0.bmp
+%%DATADIR%%/data/paxapart_flats-bkg1.bmp
+%%DATADIR%%/data/paxapart_flats-bkg2.bmp
+%%DATADIR%%/data/paxapart_flats-tileset.bmp
+%%DATADIR%%/data/paxapart_flats.mp3
+%%DATADIR%%/data/powerup.wav
+%%DATADIR%%/data/rock-die.wav
+%%DATADIR%%/data/rock-ow.wav
+%%DATADIR%%/data/rock_bang.wav
+%%DATADIR%%/data/rock_ow.wav
+%%DATADIR%%/data/rockmonster.bmp
+%%DATADIR%%/data/rockmonster.data
+%%DATADIR%%/data/save.scn
+%%DATADIR%%/data/scn_load.png
+%%DATADIR%%/data/scn_save.png
+%%DATADIR%%/data/sludge-stalker-die.wav
+%%DATADIR%%/data/sludge-stalker-dmg.wav
+%%DATADIR%%/data/sludge-stalker-shoot.wav
+%%DATADIR%%/data/sludge-stalker.bmp
+%%DATADIR%%/data/sludge-stalker.data
+%%DATADIR%%/data/spaceship.png
+%%DATADIR%%/data/startup.scn
+%%DATADIR%%/data/water-deep-left.bmp
+%%DATADIR%%/data/water-deep-left.data
+%%DATADIR%%/data/water-deep-right.bmp
+%%DATADIR%%/data/water-deep-right.data
+%%DATADIR%%/data/water-deep.bmp
+%%DATADIR%%/data/water-deep.data
+%%DATADIR%%/data/water.bmp
+%%DATADIR%%/data/water.data
+%%DATADIR%%/data/zephulor-any.png
+%%DATADIR%%/data/zephulor-credits.png
+%%DATADIR%%/data/zephulor-loading.png
+%%DATADIR%%/data/zephulor.png
+%%DATADIR%%/game_config.py
+%%DATADIR%%/game_entities.py
+%%DATADIR%%/game_hud.py
+%%DATADIR%%/game_map.py
+%%DATADIR%%/game_menu.py
+%%DATADIR%%/game_projectiles.py
+%%DATADIR%%/game_sound.py
+%%DATADIR%%/maploadtool.py
+%%DATADIR%%/maptool/chared.py
+%%DATADIR%%/maptool/charmenu.py
+%%DATADIR%%/maptool/domenu.py
+%%DATADIR%%/maptool/game_entities.py
+%%DATADIR%%/maptool/game_map.py
+%%DATADIR%%/maptool/hud.py
+%%DATADIR%%/maptool/interface.py
+%%DATADIR%%/maptool/keymap.py
+%%DATADIR%%/maptool/main.py
+%%DATADIR%%/maptool/myimg.py
+%%DATADIR%%/maptool/tilemenu.py
+%%DATADIR%%/myimg.py
+%%DATADIR%%/scnloadtool.py
+%%DATADIR%%/zephulor.py
+%%PORTDOCS%%%%DOCSDIR%%/README.txt
+%%PORTDOCS%%%%DOCSDIR%%/manual.txt
+%%PORTDOCS%%%%DOCSDIR%%/maptool/manual.txt
+%%PORTDOCS%%%%DOCSDIR%%/readme-chared.txt
+%%PORTDOCS%%%%DOCSDIR%%/readme-maploadtool.txt
+%%PORTDOCS%%%%DOCSDIR%%/readme-scnloadtool.txt
+@dirrm %%DATADIR%%/maptool
+@dirrm %%DATADIR%%/data
+@dirrm %%DATADIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/maptool
+%%PORTDOCS%%@dirrm %%DOCSDIR%%