aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-03-20 23:26:49 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-03-20 23:26:49 +0800
commitea3ad52d722f497fbdcd99bf326303aa732d786c (patch)
tree75ca48e75a2037a946b06e4f5affa283740411fe
parent41bb609d19bdcb41f6c19b251bf597ad20710462 (diff)
downloadfreebsd-ports-graphics-ea3ad52d722f497fbdcd99bf326303aa732d786c.tar.gz
freebsd-ports-graphics-ea3ad52d722f497fbdcd99bf326303aa732d786c.tar.zst
freebsd-ports-graphics-ea3ad52d722f497fbdcd99bf326303aa732d786c.zip
Support staging
-rw-r--r--games/tank/Makefile14
1 files changed, 6 insertions, 8 deletions
diff --git a/games/tank/Makefile b/games/tank/Makefile
index 61764b6b776..8ce6175b7f6 100644
--- a/games/tank/Makefile
+++ b/games/tank/Makefile
@@ -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 OpenGL/Mesa
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>