diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2006-03-18 22:07:55 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2006-03-18 22:07:55 +0000 |
commit | f132be7d9455718c16ca5228a53d60507a5f71f0 (patch) | |
tree | 1701a99cbc6c1adb859251b9cec9d8edb21257aa /games | |
parent | 880804f2ed9a4f1adadae7182261cee8c0d28b90 (diff) | |
download | ports-f132be7d9455718c16ca5228a53d60507a5f71f0.tar.gz ports-f132be7d9455718c16ca5228a53d60507a5f71f0.zip |
kiki the nano bot is a 3-D puzzle game, basically a mixture of the
games Sokoban and Kula-World.
WWW: http://kiki.sourceforge.net/
PR: ports/94563
Submitted by: Dmitry Marakasov <amdmi3@mail.ru>
Notes
Notes:
svn path=/head/; revision=157613
Diffstat (limited to 'games')
-rw-r--r-- | games/Makefile | 1 | ||||
-rw-r--r-- | games/kiki/Makefile | 60 | ||||
-rw-r--r-- | games/kiki/distinfo | 3 | ||||
-rw-r--r-- | games/kiki/files/extra-patch-kodilib-src-types-kvector.h | 13 | ||||
-rw-r--r-- | games/kiki/pkg-descr | 4 | ||||
-rw-r--r-- | games/kiki/pkg-plist | 116 |
6 files changed, 197 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile index 3a4ce781f144..6f5dd927b738 100644 --- a/games/Makefile +++ b/games/Makefile @@ -316,6 +316,7 @@ SUBDIR += kdegames3 SUBDIR += kfreerings SUBDIR += kgeography + SUBDIR += kiki SUBDIR += klondike SUBDIR += knights SUBDIR += kobodeluxe diff --git a/games/kiki/Makefile b/games/kiki/Makefile new file mode 100644 index 000000000000..8b94e49245e3 --- /dev/null +++ b/games/kiki/Makefile @@ -0,0 +1,60 @@ +# New ports collection makefile for: kiki +# Date created: 24 Oct 2006 +# Whom: Dmitry Marakasov <amdmi3@mail.ru> +# +# $FreeBSD$ +# + +PORTNAME= kiki +PORTVERSION= 1.0.2 +CATEGORIES= games +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} +DISTNAME= ${PORTNAME}-${PORTVERSION}-src +EXTRACT_SUFX= .tgz + +MAINTAINER= amdmi3@mail.ru +COMMENT= Kiki the nanobot is a 3-D puzzle game + +LIB_DEPENDS= glut.4:${PORTSDIR}/graphics/libglut + +USE_PYTHON= 2.3 +USE_GMAKE= yes +USE_GL= yes +USE_SDL= sdl mixer image +USE_DOS2UNIX= yes +USE_GCC= 3.4+ + +MAKE_ENV= CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" + +WRKSRC= ${WRKDIR}/kiki + +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 500000 +EXTRA_PATCHES= ${PATCHDIR}/extra-patch-kodilib-src-types-kvector.h +.endif + +post-patch: + @${REINPLACE_CMD} -e '/^CXXFLAGS/ s|.*|CXXFLAGS+=$$(KODI_INCLUDES) -I${X11BASE}/include `${SDL_CONFIG} --cflags`|' ${WRKSRC}/kodilib/linux/Makefile + @${REINPLACE_CMD} -e '/^X11_INCLUDES/ s|/.*/|${X11BASE}/include|' ${WRKSRC}/linux/Makefile + @${REINPLACE_CMD} -e '/PYTHON/ s|/usr|${LOCALBASE}|' ${WRKSRC}/linux/Makefile + @${REINPLACE_CMD} -e 's|sdl-config|${SDL_CONFIG}|' ${WRKSRC}/linux/Makefile + @${REINPLACE_CMD} -e 's|CXXFLAGS =|CXXFLAGS +=|' ${WRKSRC}/linux/Makefile + @${REINPLACE_CMD} -e 's|PYTHON_VERSION|PYTHON_VER|' ${WRKSRC}/linux/Makefile + @${REINPLACE_CMD} -e '/^GLLIBS/ s|$$| -L${X11BASE}/lib|' ${WRKSRC}/linux/Makefile + @${REINPLACE_CMD} -e 's|getenv("KIKI_HOME")|"${DATADIR}"|' ${WRKSRC}/src/main/KikiController.cpp + +do-build: + @cd ${WRKSRC}/kodilib/linux && ${SETENV} ${MAKE_ENV} ${GMAKE} + @cd ${WRKSRC}/linux && ${SETENV} ${MAKE_ENV} ${GMAKE} + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/linux/kiki ${PREFIX}/bin +.for d in py sound + @cd ${WRKSRC}/${d} && \ + ${FIND} . -type d -exec ${MKDIR} ${DATADIR}/${d}/{} \; ;\ + ${FIND} . -type f -exec ${INSTALL_DATA} {} ${DATADIR}/${d}/{} \; +.endfor + +.include <bsd.port.post.mk> diff --git a/games/kiki/distinfo b/games/kiki/distinfo new file mode 100644 index 000000000000..e55bb2047ad2 --- /dev/null +++ b/games/kiki/distinfo @@ -0,0 +1,3 @@ +MD5 (kiki-1.0.2-src.tgz) = eb4966eae85d3a073aab521bf1ba33e2 +SHA256 (kiki-1.0.2-src.tgz) = 7651f57543ce61c22bcc01daf6a68e0ab31ba353f9b2fbc067e323bbba6e1246 +SIZE (kiki-1.0.2-src.tgz) = 3366523 diff --git a/games/kiki/files/extra-patch-kodilib-src-types-kvector.h b/games/kiki/files/extra-patch-kodilib-src-types-kvector.h new file mode 100644 index 000000000000..56ad90070027 --- /dev/null +++ b/games/kiki/files/extra-patch-kodilib-src-types-kvector.h @@ -0,0 +1,13 @@ +--- kodilib/src/types/KVector.h.orig Mon Mar 6 12:42:24 2006 ++++ kodilib/src/types/KVector.h Mon Mar 6 12:42:32 2006 +@@ -12,10 +12,7 @@ + #if defined(__APPLE__) && defined(__MACH__) + #include <OpenGL/gl.h> + #else +-#ifdef WIN32 + #define rint(x) (((x) < 0.0) ? (double)(int)((x) - 0.5) : (double)(int)((x) + 0.5)) +-#include <GLUT/glut.h> +-#endif + #include <GL/gl.h> + #endif + diff --git a/games/kiki/pkg-descr b/games/kiki/pkg-descr new file mode 100644 index 000000000000..cc9d0a948a33 --- /dev/null +++ b/games/kiki/pkg-descr @@ -0,0 +1,4 @@ +kiki the nano bot is a 3-D puzzle game, basically a mixture of the +games Sokoban and Kula-World. + +WWW: http://kiki.sourceforge.net/ diff --git a/games/kiki/pkg-plist b/games/kiki/pkg-plist new file mode 100644 index 000000000000..e18850e2d2c5 --- /dev/null +++ b/games/kiki/pkg-plist @@ -0,0 +1,116 @@ +bin/kiki +%%DATADIR%%/py/action.py +%%DATADIR%%/py/buffer.py +%%DATADIR%%/py/colors.py +%%DATADIR%%/py/config.py +%%DATADIR%%/py/edit.py +%%DATADIR%%/py/env.py +%%DATADIR%%/py/file.py +%%DATADIR%%/py/highscore.py +%%DATADIR%%/py/interpreter.py +%%DATADIR%%/py/intro.py +%%DATADIR%%/py/kiki.cfg +%%DATADIR%%/py/kiki.hsc +%%DATADIR%%/py/kiki.py +%%DATADIR%%/py/lang.py +%%DATADIR%%/py/lang/dutch.py +%%DATADIR%%/py/lang/english.py +%%DATADIR%%/py/lang/euskara.py +%%DATADIR%%/py/lang/german.py +%%DATADIR%%/py/lang/portuguese.py +%%DATADIR%%/py/lang/spanish.py +%%DATADIR%%/py/lang/swedish.py +%%DATADIR%%/py/levels.py +%%DATADIR%%/py/levels/blocks.py +%%DATADIR%%/py/levels/bombs.py +%%DATADIR%%/py/levels/borg.py +%%DATADIR%%/py/levels/bridge.py +%%DATADIR%%/py/levels/bronze.py +%%DATADIR%%/py/levels/captured.py +%%DATADIR%%/py/levels/chain.py +%%DATADIR%%/py/levels/church.py +%%DATADIR%%/py/levels/circuit.py +%%DATADIR%%/py/levels/columns.py +%%DATADIR%%/py/levels/conductor.py +%%DATADIR%%/py/levels/core.py +%%DATADIR%%/py/levels/cube.py +%%DATADIR%%/py/levels/edge.py +%%DATADIR%%/py/levels/electro.py +%%DATADIR%%/py/levels/elevate.py +%%DATADIR%%/py/levels/energy.py +%%DATADIR%%/py/levels/entropy.py +%%DATADIR%%/py/levels/escape.py +%%DATADIR%%/py/levels/evil.py +%%DATADIR%%/py/levels/flower.py +%%DATADIR%%/py/levels/gamma.py +%%DATADIR%%/py/levels/gears.py +%%DATADIR%%/py/levels/gold.py +%%DATADIR%%/py/levels/green.py +%%DATADIR%%/py/levels/grenade.py +%%DATADIR%%/py/levels/grid.py +%%DATADIR%%/py/levels/hidden.py +%%DATADIR%%/py/levels/jump.py +%%DATADIR%%/py/levels/love.py +%%DATADIR%%/py/levels/machine.py +%%DATADIR%%/py/levels/maze.py +%%DATADIR%%/py/levels/mesh.py +%%DATADIR%%/py/levels/mini.py +%%DATADIR%%/py/levels/move.py +%%DATADIR%%/py/levels/mutants.py +%%DATADIR%%/py/levels/neutron.py +%%DATADIR%%/py/levels/new1.py +%%DATADIR%%/py/levels/nice.py +%%DATADIR%%/py/levels/plate.py +%%DATADIR%%/py/levels/pool.py +%%DATADIR%%/py/levels/random.py +%%DATADIR%%/py/levels/regal.py +%%DATADIR%%/py/levels/rings.py +%%DATADIR%%/py/levels/sandbox.py +%%DATADIR%%/py/levels/slick.py +%%DATADIR%%/py/levels/start.py +%%DATADIR%%/py/levels/steps.py +%%DATADIR%%/py/levels/stones.py +%%DATADIR%%/py/levels/strange.py +%%DATADIR%%/py/levels/switch.py +%%DATADIR%%/py/levels/throw.py +%%DATADIR%%/py/levels/towers.py +%%DATADIR%%/py/levels/walls.py +%%DATADIR%%/py/levelselection.py +%%DATADIR%%/py/obj.py +%%DATADIR%%/py/runkiki +%%DATADIR%%/py/setup.py +%%DATADIR%%/py/world.py +%%DATADIR%%/sound/atom_digest.wav +%%DATADIR%%/sound/bomb_explode.wav +%%DATADIR%%/sound/bomb_splitter.wav +%%DATADIR%%/sound/bot_death.wav +%%DATADIR%%/sound/bot_health_alert.wav +%%DATADIR%%/sound/bot_jump.wav +%%DATADIR%%/sound/bot_land.wav +%%DATADIR%%/sound/bot_move.wav +%%DATADIR%%/sound/bot_no_energy.wav +%%DATADIR%%/sound/bullet_hit_mutant.wav +%%DATADIR%%/sound/bullet_hit_object.wav +%%DATADIR%%/sound/bullet_hit_player.wav +%%DATADIR%%/sound/bullet_hit_wall.wav +%%DATADIR%%/sound/bullet_shot.wav +%%DATADIR%%/sound/gate_close.wav +%%DATADIR%%/sound/gate_open.wav +%%DATADIR%%/sound/gate_warp.aif +%%DATADIR%%/sound/gate_warp.wav +%%DATADIR%%/sound/gear_off.wav +%%DATADIR%%/sound/gear_on.wav +%%DATADIR%%/sound/generator_off.wav +%%DATADIR%%/sound/generator_on.wav +%%DATADIR%%/sound/menu_abort.wav +%%DATADIR%%/sound/menu_fade.wav +%%DATADIR%%/sound/menu_item.wav +%%DATADIR%%/sound/menu_select.wav +%%DATADIR%%/sound/stone_land.wav +%%DATADIR%%/sound/stone_move.wav +%%DATADIR%%/sound/switch_on.wav +@dirrm %%DATADIR%%/sound +@dirrm %%DATADIR%%/py/levels +@dirrm %%DATADIR%%/py/lang +@dirrm %%DATADIR%%/py +@dirrm %%DATADIR%% |