aboutsummaryrefslogtreecommitdiff
path: root/games/linux-nerogame
diff options
context:
space:
mode:
authorDanilo Egea Gondolfo <danilo@FreeBSD.org>2014-06-13 15:22:27 +0000
committerDanilo Egea Gondolfo <danilo@FreeBSD.org>2014-06-13 15:22:27 +0000
commita01642922db9c52c5c09dc79b75d4df5d405b6eb (patch)
tree6738aafaedae566adef663066e7217ae55efdba3 /games/linux-nerogame
parentd48db3f00daba0744f71075a31d77217c8184cd3 (diff)
downloadports-a01642922db9c52c5c09dc79b75d4df5d405b6eb.tar.gz
ports-a01642922db9c52c5c09dc79b75d4df5d405b6eb.zip
Notes
Diffstat (limited to 'games/linux-nerogame')
-rw-r--r--games/linux-nerogame/Makefile30
-rw-r--r--games/linux-nerogame/pkg-descr2
2 files changed, 13 insertions, 19 deletions
diff --git a/games/linux-nerogame/Makefile b/games/linux-nerogame/Makefile
index ecb1dca18718..b7cefbed9cc3 100644
--- a/games/linux-nerogame/Makefile
+++ b/games/linux-nerogame/Makefile
@@ -4,15 +4,13 @@
PORTNAME= nerogame
PORTVERSION= 2.0
CATEGORIES= games linux
-MASTER_SITES= http://z.cs.utexas.edu/users/nn/nero/downloads/
+MASTER_SITES= SF/nero.mirror
PKGNAMEPREFIX= linux-
DISTNAME= nero2_linux_i386
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= craig001@lerwick.hopto.org
COMMENT= Neuro evolving robotic operatives the game
-BROKEN= Unfetchable
-
USE_LINUX= yes
USE_LINUX_APPS= libvorbis sdl12 libtheora
NO_BUILD= yes
@@ -25,7 +23,6 @@ WRKSRC= ${WRKDIR}/${DISTNAME}
OPTIONS_DEFINE= NVIDIA
NVIDIA_DESC= Nvidia support
-NO_STAGE= yes
.include <bsd.port.options.mk>
.include <bsd.port.pre.mk>
@@ -43,24 +40,21 @@ USE_LINUX_APPS+=dri
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}
+ ${INSTALL_PROGRAM} ${WRKSRC}/nero.bin ${STAGEDIR}${PREFIX}/libexec/${PKGNAMEPREFIX}${PORTNAME}
+ ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PKGNAMEPREFIX}${PORTNAME}
- @${MKDIR} ${PREFIX}/lib/${PKGNAMEPREFIX}${PORTNAME}
- ${INSTALL_DATA} ${WRKSRC}/libopenal.so ${PREFIX}/lib/${PKGNAMEPREFIX}${PORTNAME}
+ @${MKDIR} ${STAGEDIR}${PREFIX}/lib/${PKGNAMEPREFIX}${PORTNAME}
+ ${INSTALL_DATA} ${WRKSRC}/libopenal.so ${STAGEDIR}${PREFIX}/lib/${PKGNAMEPREFIX}${PORTNAME}
.for DIRE in common nero
- @${MKDIR} ${PREFIX}/${DATADIR}/${DIRE}
+ @${MKDIR} ${STAGEDIR}${PREFIX}/${DATADIR}/${DIRE}
@cd ${WRKSRC}/${DIRE} && \
- ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/${DATADIR}/${DIRE}/{}" \; && \
- ${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${PREFIX}/${DATADIR}/${DIRE}/{}" \;
+ ${FIND} * -type d -exec ${MKDIR} "${STAGEDIR}${PREFIX}/${DATADIR}/${DIRE}/{}" \; && \
+ ${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${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
+ ${INSTALL_DATA} ${WRKSRC}/main.cs ${STAGEDIR}${PREFIX}/${DATADIR}
-post-install:
- ${CAT} ${PKGMESSAGE}
+ @${MKDIR} ${STAGEDIR}${PREFIX}/${DATADIR}/lib
+ ${LN} -s ${PREFIX}/lib/${PKGNAMEPREFIX}${PORTNAME}/libopenal.so ${STAGEDIR}${PREFIX}/${DATADIR}/lib/libopenal.so
.include <bsd.port.post.mk>
diff --git a/games/linux-nerogame/pkg-descr b/games/linux-nerogame/pkg-descr
index 85bb086b57d6..69e19e3eda05 100644
--- a/games/linux-nerogame/pkg-descr
+++ b/games/linux-nerogame/pkg-descr
@@ -6,4 +6,4 @@ 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/
+WWW: http://www.nerogame.org/