Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 May 2007 18:15:26 +0200 (CEST)
From:      Marcus von Appen <mva@sysfault.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/112945: [New port]: games/linux-darwinia-demo: real-time strategy against computer viruses
Message-ID:  <200705241615.l4OGFQ6O069383@medusa.sysfault.org>
Resent-Message-ID: <200705241620.l4OGK36U090043@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         112945
>Category:       ports
>Synopsis:       [New port]: games/linux-darwinia-demo: real-time strategy against computer viruses
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 24 16:20:03 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Marcus von Appen
>Release:        FreeBSD 6.2-STABLE i386
>Organization:
>Environment:
System: FreeBSD medusa.sysfault.org 6.2-STABLE FreeBSD 6.2-STABLE #1: Sat Apr 7 22:24:16 CEST 2007 root@medusa.sysfault.org:/usr/obj/usr/src/sys/MEDUSA i386


	
>Description:

	Darwinia is an award winning real-time strategy game, in which
        you have to help the Darminians to fight evil viruses.

>How-To-Repeat:
	
>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	linux-darwinia-demo
#	linux-darwinia-demo/files
#	linux-darwinia-demo/files/darwinia.in
#	linux-darwinia-demo/pkg-plist
#	linux-darwinia-demo/pkg-descr
#	linux-darwinia-demo/distinfo
#	linux-darwinia-demo/Makefile
#
echo c - linux-darwinia-demo
mkdir -p linux-darwinia-demo > /dev/null 2>&1
echo c - linux-darwinia-demo/files
mkdir -p linux-darwinia-demo/files > /dev/null 2>&1
echo x - linux-darwinia-demo/files/darwinia.in
sed 's/^X//' >linux-darwinia-demo/files/darwinia.in << 'END-of-linux-darwinia-demo/files/darwinia.in'
X#!/bin/sh
X
Xcd %%DATADIR%% || exit 1
Xexec ./darwinia.bin.x86 "$@"
END-of-linux-darwinia-demo/files/darwinia.in
echo x - linux-darwinia-demo/pkg-plist
sed 's/^X//' >linux-darwinia-demo/pkg-plist << 'END-of-linux-darwinia-demo/pkg-plist'
Xbin/linux-darwinia
X%%DATADIR%%/darwinia.bin.x86
X%%DATADIR%%/main.dat
X%%DATADIR%%/sounds.dat
X%%DATADIR%%/language.dat
X%%DATADIR%%/open-www.sh
X%%PORTDOCS%%%%DOCSDIR%%/LICENSE
X%%PORTDOCS%%%%DOCSDIR%%/README
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
X@dirrm %%DATADIR%%
END-of-linux-darwinia-demo/pkg-plist
echo x - linux-darwinia-demo/pkg-descr
sed 's/^X//' >linux-darwinia-demo/pkg-descr << 'END-of-linux-darwinia-demo/pkg-descr'
XFrom the homepage: The world of Darwinia is a virtual themepark,
Xrunning entirely inside a computer network and populated by a
Xsentient evolving life form called the Darwinians. Unfortunately
XDarwinia has been overrun by a computer virus which has multiplied
Xout of control. Your task is to destroy the Viral Infection and
Xsave the Darwinians from extinction.
X
XWWW: http://www.introversion.co.uk/darwinia/
END-of-linux-darwinia-demo/pkg-descr
echo x - linux-darwinia-demo/distinfo
sed 's/^X//' >linux-darwinia-demo/distinfo << 'END-of-linux-darwinia-demo/distinfo'
XMD5 (darwinia-demo2-1.3.0.sh) = ed5cbd41fbbffed431216a7a5e84e4fb
XSHA256 (darwinia-demo2-1.3.0.sh) = 2a51ca4e881f7aafe237fedf2e45ea84b48f02488482f55fb3af605a37833d85
XSIZE (darwinia-demo2-1.3.0.sh) = 22470072
END-of-linux-darwinia-demo/distinfo
echo x - linux-darwinia-demo/Makefile
sed 's/^X//' >linux-darwinia-demo/Makefile << 'END-of-linux-darwinia-demo/Makefile'
X# New ports collection makefile for:	linux-darwinia
X# Date created:				24 May 2007
X# Whom:					Marcus von Appen <mva@sysfault.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	darwinia-demo
XPORTVERSION=	1.3.0
XCATEGORIES=	games linux
XMASTER_SITES=	http://www.introversion.co.uk/darwinia/downloads/
XPKGNAMEPREFIX=	linux-
XDISTNAME=	${PORTNAME}2-${PORTVERSION}
XEXTRACT_SUFX=	.sh
X
XMAINTAINER=	mva@sysfault.org
XCOMMENT=	Real-time action strategy with programs
X
XRUN_DEPENDS=	${LINUXBASE}/usr/lib/libSDL-1.2.so.0:${PORTSDIR}/devel/linux-sdl12 \
X		${LINUXBASE}/usr/lib/libogg.so.0:${PORTSDIR}/audio/linux-libogg \
X		${LINUXBASE}/usr/lib/libvorbisfile.so.3:${PORTSDIR}/audio/linux-libvorbis
X
XONLY_FOR_ARCHS=	i386
XUSE_LINUX=	yes
XUSE_XLIB=	yes
XNO_CDROM=	Redistribution is limited, see license
XNO_BUILD=	yes
XNO_WRKSUBDIR=	yes
X
XDATADIR=	${PREFIX}/lib/${PKGNAMEPREFIX}${PORTNAME}
XSUB_FILES=	darwinia
X
XOPTIONS=	NVIDIA	"Install support for nvidia"	off
X
X.include <bsd.port.pre.mk>
X
X.if defined(WITH_NVIDIA)
XRUN_DEPENDS+=	${LINUXBASE}/usr/lib/libGL.so.1:${PORTSDIR}/x11/nvidia-driver \
X		${LINUXBASE}/usr/X11R6/lib/libGLU.so.1:${PORTSDIR}/graphics/linux-libGLU
X.else
XRUN_DEPENDS+=	${LINUXBASE}/usr/X11R6/lib/libGL.so.1:${PORTSDIR}/graphics/linux_dri
X.endif
X
Xdo-extract:
X	@${MKDIR} ${WRKDIR}
X	@cd ${WRKDIR} && ${TAIL} +376 ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} | \
X		${TAR} zxf -
X
Xdo-build:
X	${BRANDELF} -t Linux ${WRKSRC}/lib/darwinia.bin.x86
X
Xdo-install:
X	${MKDIR} ${DATADIR}
X	@cd ${WRKSRC}/lib && \
X		${INSTALL_PROGRAM} darwinia.bin.x86 ${DATADIR} && \
X		${INSTALL_DATA} *.dat open-www.sh ${DATADIR}
X	${INSTALL_PROGRAM} ${WRKDIR}/darwinia ${PREFIX}/bin/${PKGNAMEPREFIX}darwinia
X.if !defined (NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} ${WRKSRC}/LICENSE ${DOCSDIR}/LICENSE
X	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/README
X.endif
X
X.include <bsd.port.post.mk>
END-of-linux-darwinia-demo/Makefile
exit

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200705241615.l4OGFQ6O069383>