mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
- Update MASTER_SITES
- Remove BROKEN - Pass maintainership to submitter - Add stage support - Improve WWW PR: ports/190986 Submitted by: craig001@lerwick.hopto.org
This commit is contained in:
parent
d48db3f00d
commit
a01642922d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=357690
@ -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}
|
||||
${INSTALL_DATA} ${WRKSRC}/main.cs ${STAGEDIR}${PREFIX}/${DATADIR}
|
||||
|
||||
@${MKDIR} ${PREFIX}/${DATADIR}/lib
|
||||
${LN} -s ${PREFIX}/lib/${PKGNAMEPREFIX}${PORTNAME}/libopenal.so ${PREFIX}/${DATADIR}/lib/libopenal.so
|
||||
|
||||
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>
|
||||
|
@ -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/
|
||||
|
Loading…
Reference in New Issue
Block a user