Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Mar 2014 15:26:49 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r348700 - head/games/tank
Message-ID:  <201403201526.s2KFQnW2085579@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Thu Mar 20 15:26:49 2014
New Revision: 348700
URL: http://svnweb.freebsd.org/changeset/ports/348700
QAT: https://qat.redports.org/buildarchive/r348700/

Log:
  Support staging

Modified:
  head/games/tank/Makefile

Modified: head/games/tank/Makefile
==============================================================================
--- head/games/tank/Makefile	Thu Mar 20 15:25:13 2014	(r348699)
+++ head/games/tank/Makefile	Thu Mar 20 15:26:49 2014	(r348700)
@@ -5,8 +5,7 @@ PORTNAME=	tank
 PORTVERSION=	0.4a
 PORTREVISION=	4
 CATEGORIES=	games
-MASTER_SITES=	http://elfga.com/~erik/fbsd/files/ \
-	http://elfga.com/~erik/fbsd/files/
+MASTER_SITES=	http://elfga.com/~erik/fbsd/files/
 EXTRACT_SUFX=	-src.tar.gz
 
 MAINTAINER=	erik@bz.bzflag.bz
@@ -14,15 +13,14 @@ COMMENT=	3-D network tank game that uses
 
 BUILD_DEPENDS=	libaux>=1.0:${PORTSDIR}/graphics/libaux
 
-USE_GMAKE=	yes
+USES=		gmake
 MAKE_ENV=	PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" PTHREAD_LIBS="${PTHREAD_LIBS}"
 ALL_TARGET=	linux-mesa-elf
 
-NO_STAGE=	yes
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/tank ${PREFIX}/bin
-	${MKDIR} ${DATADIR}
-	${INSTALL_DATA} ${WRKSRC}/*.tga ${DATADIR}
-	${INSTALL_DATA} ${WRKSRC}/*.au ${DATADIR}
+	${INSTALL_PROGRAM} ${WRKSRC}/tank ${STAGEDIR}${PREFIX}/bin
+	@${MKDIR} ${STAGEDIR}${DATADIR}
+	${INSTALL_DATA} ${WRKSRC}/*.tga ${STAGEDIR}${DATADIR}
+	${INSTALL_DATA} ${WRKSRC}/*.au ${STAGEDIR}${DATADIR}
 
 .include <bsd.port.mk>



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