Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jun 2014 15:22:27 +0000 (UTC)
From:      Danilo Egea Gondolfo <danilo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r357690 - head/games/linux-nerogame
Message-ID:  <201406131522.s5DFMRpx064774@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danilo
Date: Fri Jun 13 15:22:27 2014
New Revision: 357690
URL: http://svnweb.freebsd.org/changeset/ports/357690
QAT: https://qat.redports.org/buildarchive/r357690/

Log:
  - Update MASTER_SITES
  - Remove BROKEN
  - Pass maintainership to submitter
  - Add stage support
  - Improve WWW
  
  PR:		ports/190986
  Submitted by:	craig001@lerwick.hopto.org

Modified:
  head/games/linux-nerogame/Makefile
  head/games/linux-nerogame/pkg-descr

Modified: head/games/linux-nerogame/Makefile
==============================================================================
--- head/games/linux-nerogame/Makefile	Fri Jun 13 15:21:03 2014	(r357689)
+++ head/games/linux-nerogame/Makefile	Fri Jun 13 15:22:27 2014	(r357690)
@@ -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>

Modified: head/games/linux-nerogame/pkg-descr
==============================================================================
--- head/games/linux-nerogame/pkg-descr	Fri Jun 13 15:21:03 2014	(r357689)
+++ head/games/linux-nerogame/pkg-descr	Fri Jun 13 15:22:27 2014	(r357690)
@@ -6,4 +6,4 @@ then pit them against your friends' team
 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/



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