diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2007-06-04 21:44:48 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2007-06-04 21:44:48 +0000 |
commit | 51416c616caaf2e9db6038737790f36427954d7a (patch) | |
tree | b27748ff70939f92310c61ab64c2aa6569ce88e8 /games/linux-darwinia-demo | |
parent | 22e5c30b8f0384d7bc7cdb268bbd964f7eb4758b (diff) | |
download | ports-51416c616caaf2e9db6038737790f36427954d7a.tar.gz ports-51416c616caaf2e9db6038737790f36427954d7a.zip |
The world of Darwinia is a virtual themepark,
running entirely inside a computer network and populated by a
sentient evolving life form called the Darwinians. Unfortunately
Darwinia has been overrun by a computer virus which has multiplied
out of control. Your task is to destroy the Viral Infection and
save the Darwinians from extinction.
WWW: http://www.introversion.co.uk/darwinia/
PR: ports/112945
Submitted by: Marcus von Appen <mva at sysfault.org>
Notes
Notes:
svn path=/head/; revision=192771
Diffstat (limited to 'games/linux-darwinia-demo')
-rw-r--r-- | games/linux-darwinia-demo/Makefile | 67 | ||||
-rw-r--r-- | games/linux-darwinia-demo/distinfo | 3 | ||||
-rw-r--r-- | games/linux-darwinia-demo/files/darwinia.in | 4 | ||||
-rw-r--r-- | games/linux-darwinia-demo/pkg-descr | 8 | ||||
-rw-r--r-- | games/linux-darwinia-demo/pkg-message | 14 | ||||
-rw-r--r-- | games/linux-darwinia-demo/pkg-plist | 10 |
6 files changed, 106 insertions, 0 deletions
diff --git a/games/linux-darwinia-demo/Makefile b/games/linux-darwinia-demo/Makefile new file mode 100644 index 000000000000..a4d1acf3699d --- /dev/null +++ b/games/linux-darwinia-demo/Makefile @@ -0,0 +1,67 @@ +# New ports collection makefile for: linux-darwinia +# Date created: 24 May 2007 +# Whom: Marcus von Appen <mva@sysfault.org> +# +# $FreeBSD$ +# + +PORTNAME= darwinia-demo +PORTVERSION= 1.3.0 +CATEGORIES= games linux +MASTER_SITES= http://www.introversion.co.uk/darwinia/downloads/ +PKGNAMEPREFIX= linux- +DISTNAME= ${PORTNAME}2-${PORTVERSION} +EXTRACT_SUFX= .sh + +MAINTAINER= mva@sysfault.org +COMMENT= Real-time action strategy with programs + +RUN_DEPENDS= ${LINUXBASE}/usr/lib/libSDL-1.2.so.0:${PORTSDIR}/devel/linux-sdl12 \ + ${LINUXBASE}/usr/lib/libogg.so.0:${PORTSDIR}/audio/linux-libogg \ + ${LINUXBASE}/usr/lib/libvorbisfile.so.3:${PORTSDIR}/audio/linux-libvorbis + +ONLY_FOR_ARCHS= i386 +USE_LINUX= yes +USE_XLIB= yes +NO_CDROM= Redistribution is limited, see license +NO_BUILD= yes +NO_WRKSUBDIR= yes + +DATADIR= ${PREFIX}/lib/${PKGNAMEPREFIX}${PORTNAME} +SUB_FILES= darwinia + +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} ${WRKDIR} + @cd ${WRKDIR} && ${TAIL} +376 ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} | \ + ${TAR} zxf - + +do-build: + ${BRANDELF} -t Linux ${WRKSRC}/lib/darwinia.bin.x86 + +do-install: + ${MKDIR} ${DATADIR} + @cd ${WRKSRC}/lib && \ + ${INSTALL_PROGRAM} darwinia.bin.x86 ${DATADIR} && \ + ${INSTALL_DATA} *.dat open-www.sh ${DATADIR} + ${INSTALL_PROGRAM} ${WRKDIR}/darwinia ${PREFIX}/bin/${PKGNAMEPREFIX}darwinia +.if !defined (NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/LICENSE ${DOCSDIR}/LICENSE + ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/README +.endif + +post-install: + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.post.mk> diff --git a/games/linux-darwinia-demo/distinfo b/games/linux-darwinia-demo/distinfo new file mode 100644 index 000000000000..0d8f622028dd --- /dev/null +++ b/games/linux-darwinia-demo/distinfo @@ -0,0 +1,3 @@ +MD5 (darwinia-demo2-1.3.0.sh) = ed5cbd41fbbffed431216a7a5e84e4fb +SHA256 (darwinia-demo2-1.3.0.sh) = 2a51ca4e881f7aafe237fedf2e45ea84b48f02488482f55fb3af605a37833d85 +SIZE (darwinia-demo2-1.3.0.sh) = 22470072 diff --git a/games/linux-darwinia-demo/files/darwinia.in b/games/linux-darwinia-demo/files/darwinia.in new file mode 100644 index 000000000000..3e28971bd402 --- /dev/null +++ b/games/linux-darwinia-demo/files/darwinia.in @@ -0,0 +1,4 @@ +#!/bin/sh + +cd %%DATADIR%% || exit 1 +exec ./darwinia.bin.x86 "$@" diff --git a/games/linux-darwinia-demo/pkg-descr b/games/linux-darwinia-demo/pkg-descr new file mode 100644 index 000000000000..8a367ea589ea --- /dev/null +++ b/games/linux-darwinia-demo/pkg-descr @@ -0,0 +1,8 @@ +From the homepage: The world of Darwinia is a virtual themepark, +running entirely inside a computer network and populated by a +sentient evolving life form called the Darwinians. Unfortunately +Darwinia has been overrun by a computer virus which has multiplied +out of control. Your task is to destroy the Viral Infection and +save the Darwinians from extinction. + +WWW: http://www.introversion.co.uk/darwinia/ diff --git a/games/linux-darwinia-demo/pkg-message b/games/linux-darwinia-demo/pkg-message new file mode 100644 index 000000000000..e282f248e3f7 --- /dev/null +++ b/games/linux-darwinia-demo/pkg-message @@ -0,0 +1,14 @@ +====================================================================== +This game will attempt to obtain some system information by +accessing files in linux's procfs. You must install the Linux +emulation procfs filesystem for this to work correctly. This can be +accomplished by adding the following line to your /etc/fstab file: + + linprocfs /compat/linux/proc linprocfs rw 0 0 + +and then, as root, executing the commands: + +kldload linprocfs +mount /compat/linux/proc + +====================================================================== diff --git a/games/linux-darwinia-demo/pkg-plist b/games/linux-darwinia-demo/pkg-plist new file mode 100644 index 000000000000..e0563b5243b8 --- /dev/null +++ b/games/linux-darwinia-demo/pkg-plist @@ -0,0 +1,10 @@ +bin/linux-darwinia +%%DATADIR%%/darwinia.bin.x86 +%%DATADIR%%/main.dat +%%DATADIR%%/sounds.dat +%%DATADIR%%/language.dat +%%DATADIR%%/open-www.sh +%%PORTDOCS%%%%DOCSDIR%%/LICENSE +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%@dirrm %%DOCSDIR%% +@dirrm %%DATADIR%% |