Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Nov 2013 02:32:54 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r334280 - head/games/steelstorm
Message-ID:  <201311190232.rAJ2WsV5094181@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Tue Nov 19 02:32:53 2013
New Revision: 334280
URL: http://svnweb.freebsd.org/changeset/ports/334280

Log:
  - Support staging
  - Mark MAKE_JOBS_UNSAFE

Modified:
  head/games/steelstorm/Makefile

Modified: head/games/steelstorm/Makefile
==============================================================================
--- head/games/steelstorm/Makefile	Tue Nov 19 01:49:40 2013	(r334279)
+++ head/games/steelstorm/Makefile	Tue Nov 19 02:32:53 2013	(r334280)
@@ -30,33 +30,30 @@ BUILD_WRKSRC=	${WRKSRC}/engine_source
 MAKEFILE=	BSDmakefile
 MAKE_ENV=	STRIP="${STRIP_CMD}"
 ALL_TARGET=	# empty
+MAKE_JOBS_UNSAFE=yes
 
 PORTDOCS=	README.txt
+PORTDATA=	*
 
 OPTIONS_DEFINE=	OPTIMIZED_CFLAGS
-OPTIONS_MULTI=	FLAVOR
-OPTIONS_MULTI_FLAVOR=	CLIENT DEDICATED
+OPTIONS_MULTI=	COMPONENTS
+OPTIONS_MULTI_COMPONENTS=	CLIENT DEDICATED
+OPTIONS_DEFAULT=OPTIMIZED_CFLAGS CLIENT DEDICATED
+
 CLIENT_DESC=	Build client
 DEDICATED_DESC=	Dedicated server
-FLAVOR_DESC=	Executable Selection
-
-OPTIONS_DEFAULT=	OPTIMIZED_CFLAGS CLIENT DEDICATED
 
-PLIST_FILES=	%%DATADIR%%/ssgamedata000001.pk3
-PLIST_DIRS=	%%DATADIR%%
-
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MCLIENT}
 ALL_TARGET+=	cl-release
 USE_XORG+=	x11 xpm xext xxf86dga xxf86vm
-PLIST_FILES+=	bin/steelstorm
+PLIST_FILES+=	bin/${PORTNAME}
 .endif
 
 .if ${PORT_OPTIONS:MDEDICATED}
 ALL_TARGET+=	sv-release
-PLIST_FILES+=	bin/steelstorm-dedicated
+PLIST_FILES+=	bin/${PORTNAME}-dedicated
 .endif
 
 post-patch:
@@ -71,16 +68,14 @@ post-patch:
 
 do-install:
 .if ${PORT_OPTIONS:MCLIENT}
-	${INSTALL_PROGRAM} ${BUILD_WRKSRC}/darkplaces-glx ${PREFIX}/bin/steelstorm
+	${INSTALL_PROGRAM} ${BUILD_WRKSRC}/darkplaces-glx ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
 .endif
 .if ${PORT_OPTIONS:MDEDICATED}
-	${INSTALL_PROGRAM} ${BUILD_WRKSRC}/darkplaces-dedicated ${PREFIX}/bin/steelstorm-dedicated
-.endif
-	${MKDIR} ${DATADIR}
-	${INSTALL_DATA} ${WRKSRC}/gamedata/ssgamedata000001.pk3 ${DATADIR}/
-.if ${PORT_OPTIONS:MDOCS}
-	${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR}/
+	${INSTALL_PROGRAM} ${BUILD_WRKSRC}/darkplaces-dedicated ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-dedicated
 .endif
+	${MKDIR} ${STAGEDIR}${DATADIR}
+	${INSTALL_DATA} ${WRKSRC}/gamedata/ssgamedata000001.pk3 ${STAGEDIR}${DATADIR}/
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR}/
 
 .include <bsd.port.mk>



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