diff options
author | beech <beech@FreeBSD.org> | 2009-02-07 10:56:28 +0800 |
---|---|---|
committer | beech <beech@FreeBSD.org> | 2009-02-07 10:56:28 +0800 |
commit | 99ddef85ceed572f9d8b061211dabc8bdd86f93e (patch) | |
tree | 7406d4409c0b4d628eb9058fb67b5ee391eb2179 /games/linux-coldwar-demo | |
parent | 4a34ad4b4859615b8f06d6bc1c358a9bcfe5e219 (diff) | |
download | freebsd-ports-gnome-99ddef85ceed572f9d8b061211dabc8bdd86f93e.tar.gz freebsd-ports-gnome-99ddef85ceed572f9d8b061211dabc8bdd86f93e.tar.zst freebsd-ports-gnome-99ddef85ceed572f9d8b061211dabc8bdd86f93e.zip |
A third-person sneaker similiar to Splinter Cell.
You are a freelance journalist finding yourself in the midst of an
international conspiracy. Just after arriving in Moscow you are thrown into
the KGB political prison. Try to evade the Soviet forces and defeat the
conspiracy.
WWW: http://www.linuxgamepublishing.com/info.php?id=24
PR: ports/131230
Submitted by: Marcus von Appen <mva at sysfault.org>
Diffstat (limited to 'games/linux-coldwar-demo')
-rw-r--r-- | games/linux-coldwar-demo/Makefile | 77 | ||||
-rw-r--r-- | games/linux-coldwar-demo/distinfo | 3 | ||||
-rw-r--r-- | games/linux-coldwar-demo/files/coldwar.in | 4 | ||||
-rw-r--r-- | games/linux-coldwar-demo/pkg-descr | 7 | ||||
-rw-r--r-- | games/linux-coldwar-demo/pkg-plist | 64 |
5 files changed, 155 insertions, 0 deletions
diff --git a/games/linux-coldwar-demo/Makefile b/games/linux-coldwar-demo/Makefile new file mode 100644 index 000000000000..bbdc52bbd2d2 --- /dev/null +++ b/games/linux-coldwar-demo/Makefile @@ -0,0 +1,77 @@ +# New ports collection makefile for: linux-coldwar-demo +# Date created: 2009-01-31 +# Whom: Marcus von Appen <mva@sysfault.org> +# +# $FreeBSD$ +# + +PORTNAME= coldwar-demo +PORTVERSION= 1.1 +CATEGORIES= games linux +MASTER_SITES= http://demofiles.linuxgamepublishing.com/coldwar/ +PKGNAMEPREFIX= linux- +DISTNAME= coldwar_demo +EXTRACT_SUFX= .run + +MAINTAINER= mva@sysfault.org +COMMENT= Coldwar Demo - a third-person sneaker like Splinter Cell + +RUN_DEPENDS= ${LINUXBASE}/usr/lib/libSDL-1.2.so.0:${PORTSDIR}/devel/linux-sdl12 \ + ${LINUXBASE}/usr/lib/libjpeg.so.62:${PORTSDIR}/graphics/linux-jpeg \ + ${LINUXBASE}/usr/lib/libSDL_mixer-1.2.so.0:${PORTSDIR}/audio/linux-sdl_mixer \ + ${LINUXBASE}/usr/lib/libmikmod.so.2:${PORTSDIR}/audio/linux-mikmod \ + ${LINUXBASE}/usr/lib/libogg.so.0:${PORTSDIR}/audio/linux-libogg \ + ${LINUXBASE}/usr/lib/libvorbis.so.0:${PORTSDIR}/audio/linux-libvorbis \ + ${LINUXBASE}/usr/lib/libtheora.so.0:${PORTSDIR}/multimedia/linux-libtheora + +ONLY_FOR_ARCHS= i386 +USE_LINUX= yes +USE_XLIB= yes +NO_CDROM= Redistribution is limited, see license +NO_BUILD= yes + +DATADIR= ${PREFIX}/lib/${PKGNAMEPREFIX}${PORTNAME} +SUB_FILES= coldwar +PORTDOCS= README README.licenses EULA + +OPTIONS= NVIDIA "Install support for nvidia" off + +.include <bsd.port.pre.mk> + +.if defined(WITH_NVIDIA) +RUN_DEPENDS+= ${LINUXBASE}/usr/lib/libGL.so.1:${PORTSDIR}/x11/nvidia-driver \ + ${LINUXBASE}/usr/X11R6/lib/libGLU.so.1:${PORTSDIR}/graphics/linux-libGLU +.else +RUN_DEPENDS+= ${LINUXBASE}/usr/X11R6/lib/libGL.so.1:${PORTSDIR}/graphics/linux_dri +.endif + +do-extract: + @${MKDIR} ${WRKSRC} + @cd ${WRKSRC} && ${TAIL} +377 ${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX} | \ + ${TAR} jxf - + @cd ${WRKSRC}/data && ${TAR} --exclude lib -xzf ${WRKSRC}/data/data.tar.gz + +pre-configure: + @${REINPLACE_CMD} -e \ + 's|function version|version\(\)|; \ + s|function usage|usage\(\)|' \ + ${WRKSRC}/data/bin/launcher + +do-build: + ${BRANDELF} -t Linux ${WRKSRC}/bin/Linux/x86/meng + +do-install: + @${MKDIR} ${DATADIR}/bin + @cd ${WRKSRC}/bin/Linux/x86 && \ + ${INSTALL_PROGRAM} bin/meng ${DATADIR}/bin + @cd ${WRKSRC}/data/bin && \ + ${INSTALL_PROGRAM} launcher ${DATADIR}/bin + @${CP} -R ${WRKSRC}/data/config ${DATADIR}/ + @${CP} -R ${WRKSRC}/data/data ${DATADIR}/ + @${INSTALL_PROGRAM} ${WRKDIR}/coldwar ${PREFIX}/bin/${PKGNAMEPREFIX}coldwar +.if !defined (NOPORTDOCS) + @${INSTALL} -d ${DOCSDIR} + @cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} +.endif + +.include <bsd.port.post.mk> diff --git a/games/linux-coldwar-demo/distinfo b/games/linux-coldwar-demo/distinfo new file mode 100644 index 000000000000..779b82fa09fb --- /dev/null +++ b/games/linux-coldwar-demo/distinfo @@ -0,0 +1,3 @@ +MD5 (coldwar_demo.run) = ec59a4fa383e1061556388c3e7564144 +SHA256 (coldwar_demo.run) = a553dd4e96f23f97d941ed18e663f54d8ad79a8aa35f2864c7d21cff69ab8956 +SIZE (coldwar_demo.run) = 354804283 diff --git a/games/linux-coldwar-demo/files/coldwar.in b/games/linux-coldwar-demo/files/coldwar.in new file mode 100644 index 000000000000..b995403c20ce --- /dev/null +++ b/games/linux-coldwar-demo/files/coldwar.in @@ -0,0 +1,4 @@ +#!/bin/sh + +cd %%DATADIR%% || exit 1 +exec ./bin/launcher "$@" diff --git a/games/linux-coldwar-demo/pkg-descr b/games/linux-coldwar-demo/pkg-descr new file mode 100644 index 000000000000..aa9409dfcce1 --- /dev/null +++ b/games/linux-coldwar-demo/pkg-descr @@ -0,0 +1,7 @@ +A third-person sneaker similiar to Splinter Cell. +You are a freelance journalist finding yourself in the midst of an +international conspiracy. Just after arriving in Moscow you are thrown into +the KGB political prison. Try to evade the Soviet forces and defeat the +conspiracy. + +WWW: http://www.linuxgamepublishing.com/info.php?id=24 diff --git a/games/linux-coldwar-demo/pkg-plist b/games/linux-coldwar-demo/pkg-plist new file mode 100644 index 000000000000..9e123c726d7d --- /dev/null +++ b/games/linux-coldwar-demo/pkg-plist @@ -0,0 +1,64 @@ +bin/linux-coldwar +%%DATADIR%%/bin/launcher +%%DATADIR%%/bin/meng +%%DATADIR%%/config/config-default.txt +%%DATADIR%%/data/animation.mfs +%%DATADIR%%/data/bytecode.mfs +%%DATADIR%%/data/bytecode_level_3g_final.mfs +%%DATADIR%%/data/bytecode_level_3j_final.mfs +%%DATADIR%%/data/fonts.mfs +%%DATADIR%%/data/icons.mfs +%%DATADIR%%/data/layouts.mfs +%%DATADIR%%/data/manual.mfs +%%DATADIR%%/data/meshes_door.mfs +%%DATADIR%%/data/meshes_hide.mfs +%%DATADIR%%/data/meshes_items.mfs +%%DATADIR%%/data/meshes_level_3g_final.mfs +%%DATADIR%%/data/meshes_level_3j_final.mfs +%%DATADIR%%/data/meshes_maps.mfs +%%DATADIR%%/data/meshes_secu.mfs +%%DATADIR%%/data/meshes_skins.mfs +%%DATADIR%%/data/meshes_sky.mfs +%%DATADIR%%/data/meshes_stuf_chernobyl.mfs +%%DATADIR%%/data/meshes_stuf_destroy.mfs +%%DATADIR%%/data/motions.mfs +%%DATADIR%%/data/movie_3f_cut.mfs +%%DATADIR%%/data/movie_3i_cut.mfs +%%DATADIR%%/data/movie_dc_logo.mfs +%%DATADIR%%/data/movie_logo_meng.mfs +%%DATADIR%%/data/movie_logo_mindware.mfs +%%DATADIR%%/data/movie_x-fi.mfs +%%DATADIR%%/data/movie_x-fi.mfs.old +%%DATADIR%%/data/pack.list +%%DATADIR%%/data/shaders.mfs +%%DATADIR%%/data/sound_en_cutscenes.mfs +%%DATADIR%%/data/sound_en_dubbing_3g.mfs +%%DATADIR%%/data/sound_en_dubbing_3j.mfs +%%DATADIR%%/data/sound_en_npc.mfs +%%DATADIR%%/data/sound_game.mfs +%%DATADIR%%/data/sound_level_3g.mfs +%%DATADIR%%/data/sound_level_3j.mfs +%%DATADIR%%/data/sound_menu.mfs +%%DATADIR%%/data/sound_music.mfs +%%DATADIR%%/data/sound_music_menu.mfs +%%DATADIR%%/data/sound_music_menu_meta.mfs +%%DATADIR%%/data/sound_music_meta.mfs +%%DATADIR%%/data/sound_npc.mfs +%%DATADIR%%/data/sound_player.mfs +%%DATADIR%%/data/textures_animeshes.mfs +%%DATADIR%%/data/textures_door.mfs +%%DATADIR%%/data/textures_global.mfs +%%DATADIR%%/data/textures_hide.mfs +%%DATADIR%%/data/textures_items.mfs +%%DATADIR%%/data/textures_level_3g_final.mfs +%%DATADIR%%/data/textures_level_3j_final.mfs +%%DATADIR%%/data/textures_main_menu.mfs +%%DATADIR%%/data/textures_secu.mfs +%%DATADIR%%/data/textures_sky.mfs +%%DATADIR%%/data/textures_startup.mfs +%%DATADIR%%/data/textures_stuf_chernobyl.mfs +%%DATADIR%%/data/textures_stuf_destroy.mfs +@dirrm %%DATADIR%%/bin +@dirrm %%DATADIR%%/config +@dirrm %%DATADIR%%/data +@dirrm %%DATADIR%% |