mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
- New port: games/linux-nerogame
Neuro-Evolving Robotic Operatives, or NERO for short, is a unique computer game that lets you play with adapting intelligent agents hands-on. Evolve your own robot army by tuning their artificial brains for challenging tasks, then pit them against your friends' teams in online competitions!. New features in NERO 2.0 include an interactive game mode called territory capture, as well as a new user interface and more extensive training tools. WWW: http://www.nerogame.org/
This commit is contained in:
parent
880aa06382
commit
399681185c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=200925
@ -423,6 +423,7 @@
|
||||
SUBDIR += linux-enemyterritory-shrub
|
||||
SUBDIR += linux-enemyterritory-tce
|
||||
SUBDIR += linux-goodway
|
||||
SUBDIR += linux-nerogame
|
||||
SUBDIR += linux-nwnclient
|
||||
SUBDIR += linux-nwserver
|
||||
SUBDIR += linux-quake3-demo
|
||||
|
66
games/linux-nerogame/Makefile
Normal file
66
games/linux-nerogame/Makefile
Normal file
@ -0,0 +1,66 @@
|
||||
# New ports collection makefile for: linux-nerogame
|
||||
# Date created: 2007-10-04
|
||||
# Whom: Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= nerogame
|
||||
PORTVERSION= 2.0
|
||||
CATEGORIES= games linux
|
||||
MASTER_SITES= http://z.cs.utexas.edu/users/nn/nero/downloads/
|
||||
PKGNAMEPREFIX= linux-
|
||||
DISTNAME= nero2_linux_i386
|
||||
|
||||
MAINTAINER= acm@FreeBSD.org
|
||||
COMMENT= Neuro envolving robotic operatives the game
|
||||
|
||||
RUN_DEPENDS= ${LINUXBASE}/usr/lib/libvorbis.so.0:${PORTSDIR}/audio/linux-libvorbis \
|
||||
${LINUXBASE}/usr/lib/libSDL-1.2.so.0:${PORTSDIR}/devel/linux-sdl12 \
|
||||
${LINUXBASE}/usr/lib/libtheora.so.0:${PORTSDIR}/multimedia/linux-libtheora
|
||||
|
||||
USE_LINUX= yes
|
||||
NO_BUILD= yes
|
||||
RESTRICTED= Nero is freeware, but i am not sure of its license
|
||||
|
||||
SUB_FILES= nerogame pkg-message
|
||||
DATADIR= share/${PKGNAMEPREFIX}${PORTNAME}
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}
|
||||
|
||||
OPTIONS= NVIDIA "Install support for nvidia" off
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if defined(WITH_NVIDIA)
|
||||
. if !exists(${LINUXBASE}/usr/lib/libGL.so.1)
|
||||
RUN_DEPENDS+= ${LINUXBASE}/usr/lib/libGL.so.1:${PORTSDIR}/x11/nvidia-driver
|
||||
. endif
|
||||
.else
|
||||
. if !exists(${LINUXBASE}/usr/X11R6/lib/libGL.so.1)
|
||||
RUN_DEPENDS+= ${LINUXBASE}/usr/X11R6/lib/libGL.so.1:${PORTSDIR}/graphics/linux_dri
|
||||
. endif
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
${BRANDELF} -t Linux ${WRKSRC}/nero.bin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/nero.bin ${PREFIX}/libexec/${PKGNAMEPREFIX}${PORTNAME}
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin/${PKGNAMEPREFIX}${PORTNAME}
|
||||
|
||||
@${MKDIR} ${PREFIX}/lib/${PKGNAMEPREFIX}${PORTNAME}
|
||||
${INSTALL_DATA} ${WRKSRC}/libopenal.so ${PREFIX}/lib/${PKGNAMEPREFIX}${PORTNAME}
|
||||
|
||||
.for DIRE in common nero
|
||||
@${MKDIR} ${PREFIX}/${DATADIR}/${DIRE}
|
||||
@cd ${WRKSRC}/${DIRE} && \
|
||||
${FIND} * -type d -exec ${MKDIR} "${PREFIX}/${DATADIR}/${DIRE}/{}" \; && \
|
||||
${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${PREFIX}/${DATADIR}/${DIRE}/{}" \;
|
||||
.endfor
|
||||
${INSTALL_DATA} ${WRKSRC}/main.cs ${PREFIX}/${DATADIR}
|
||||
|
||||
@${MKDIR} ${PREFIX}/${DATADIR}/lib
|
||||
${LN} -s ${PREFIX}/lib/${PKGNAMEPREFIX}${PORTNAME}/libopenal.so ${PREFIX}/${DATADIR}/lib/libopenal.so
|
||||
|
||||
post-install:
|
||||
${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.post.mk>
|
3
games/linux-nerogame/distinfo
Normal file
3
games/linux-nerogame/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (nero2_linux_i386.tar.gz) = 0cca2730dfeb0d8c9820d62a82691587
|
||||
SHA256 (nero2_linux_i386.tar.gz) = 3a627213145d4b07f68c352a369dc703c60b8c3bf9afbcdfab8a030bafc646db
|
||||
SIZE (nero2_linux_i386.tar.gz) = 46554531
|
4
games/linux-nerogame/files/nerogame.in
Normal file
4
games/linux-nerogame/files/nerogame.in
Normal file
@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
cd %%PREFIX%%/%%DATADIR%% || exit 1
|
||||
exec %%PREFIX%%/libexec/linux-nerogame "$@"
|
13
games/linux-nerogame/files/pkg-message.in
Normal file
13
games/linux-nerogame/files/pkg-message.in
Normal file
@ -0,0 +1,13 @@
|
||||
###############################################################################
|
||||
|
||||
The NERO game was installed
|
||||
|
||||
1) Run the game using:
|
||||
|
||||
# linux-nerogame
|
||||
|
||||
2) The config and log files are stored into the ~/.garagegames directory
|
||||
|
||||
3) Enjoy it ;)
|
||||
|
||||
###############################################################################
|
9
games/linux-nerogame/pkg-descr
Normal file
9
games/linux-nerogame/pkg-descr
Normal file
@ -0,0 +1,9 @@
|
||||
Neuro-Evolving Robotic Operatives, or NERO for short, is a unique computer
|
||||
game that lets you play with adapting intelligent agents hands-on. Evolve your
|
||||
own robot army by tuning their artificial brains for challenging tasks,
|
||||
then pit them against your friends' teams in online competitions!.
|
||||
|
||||
New features in NERO 2.0 include an interactive game mode called territory
|
||||
capture, as well as a new user interface and more extensive training tools.
|
||||
|
||||
WWW: http://www.nerogame.org/
|
1358
games/linux-nerogame/pkg-plist
Normal file
1358
games/linux-nerogame/pkg-plist
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user