commit:     161f92840456d1d098a76c17d7ed260fb765217b
Author:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 10 00:13:40 2016 +0000
Commit:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Sun Jan 10 00:13:55 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=161f9284

games-strategy/revenge-of-the-titans: Add fetch restriction (bug #553728)

Package-Manager: portage-2.2.26

 .../revenge-of-the-titans-1.80.12.ebuild                      | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git 
a/games-strategy/revenge-of-the-titans/revenge-of-the-titans-1.80.12.ebuild 
b/games-strategy/revenge-of-the-titans/revenge-of-the-titans-1.80.12.ebuild
index fa8a975..ff1d086 100644
--- a/games-strategy/revenge-of-the-titans/revenge-of-the-titans-1.80.12.ebuild
+++ b/games-strategy/revenge-of-the-titans/revenge-of-the-titans-1.80.12.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -19,10 +19,17 @@ RDEPEND=">=virtual/jre-1.6
        virtual/opengl"
 DEPEND=""
 
-RESTRICT="mirror bindist strip"
+RESTRICT="fetch mirror bindist strip"
 
 S=${WORKDIR}/${PN//-}
 
+pkg_nofetch() {
+       default
+
+       einfo
+       einfo "Buy the game from ${HOMEPAGE} to obtain these files."
+}
+
 pkg_setup() {
        java-pkg-2_pkg_setup
        games_pkg_setup

Reply via email to