Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Sep 2016 08:57:10 +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: r421412 - head/games/tanks-of-freedom
Message-ID:  <201609060857.u868vACY047533@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Tue Sep  6 08:57:09 2016
New Revision: 421412
URL: https://svnweb.freebsd.org/changeset/ports/421412

Log:
  - Update to 0.5.2
  - Add NO_ARCH
  - Switch to options helpers

Modified:
  head/games/tanks-of-freedom/Makefile
  head/games/tanks-of-freedom/distinfo

Modified: head/games/tanks-of-freedom/Makefile
==============================================================================
--- head/games/tanks-of-freedom/Makefile	Tue Sep  6 08:57:04 2016	(r421411)
+++ head/games/tanks-of-freedom/Makefile	Tue Sep  6 08:57:09 2016	(r421412)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	tanks-of-freedom
-PORTVERSION=	0.4.0.3
+PORTVERSION=	0.5.2
 DISTVERSIONSUFFIX=-beta
 CATEGORIES=	games
 
@@ -18,6 +18,8 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	w84death
 GH_PROJECT=	Tanks-of-Freedom
 
+NO_ARCH=	yes
+
 DESKTOP_ENTRIES="Tanks of Freedom" \
 		"" \
 		"${DATADIR}/icon.png" \
@@ -32,12 +34,14 @@ PORTDATA=	*
 OPTIONS_DEFINE=	DOCS
 
 do-build:
-	@${ECHO_CMD} "#!/bin/sh" > ${WRKSRC}/${PORTNAME}
-	@${ECHO_CMD} "exec ${PREFIX}/bin/godot -path ${DATADIR}" >> ${WRKSRC}/${PORTNAME}
+	@${ECHO_CMD} "#!/bin/sh" > ${WRKDIR}/${PORTNAME}
+	@${ECHO_CMD} "exec \"${LOCALBASE}/bin/godot\" -path \"${DATADIR}\"" >> ${WRKDIR}/${PORTNAME}
 
 do-install:
-	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
 	cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/
+
+do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
 

Modified: head/games/tanks-of-freedom/distinfo
==============================================================================
--- head/games/tanks-of-freedom/distinfo	Tue Sep  6 08:57:04 2016	(r421411)
+++ head/games/tanks-of-freedom/distinfo	Tue Sep  6 08:57:09 2016	(r421412)
@@ -1,2 +1,3 @@
-SHA256 (w84death-Tanks-of-Freedom-0.4.0.3-beta_GH0.tar.gz) = ca02d3ca40359f9d6d650412d0879aa7a3d4b7a500ad9675d884bbd788c81be5
-SIZE (w84death-Tanks-of-Freedom-0.4.0.3-beta_GH0.tar.gz) = 11699653
+TIMESTAMP = 1473110034
+SHA256 (w84death-Tanks-of-Freedom-0.5.2-beta_GH0.tar.gz) = 08af5b5e769b6b8b23ae04781c41d3928c582f80fd80ebf84eebad70412c9ec4
+SIZE (w84death-Tanks-of-Freedom-0.5.2-beta_GH0.tar.gz) = 13787686



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