games-strategy/revenge-of-the-titans: Add fetch restriction (bug #553728)
authorSebastian Pipping <sping@gentoo.org>
Sun, 10 Jan 2016 00:13:40 +0000 (01:13 +0100)
committerSebastian Pipping <sping@gentoo.org>
Sun, 10 Jan 2016 00:13:55 +0000 (01:13 +0100)
Package-Manager: portage-2.2.26

games-strategy/revenge-of-the-titans/revenge-of-the-titans-1.80.12.ebuild

index fa8a9754f2a6fba370f77bcc63d69cc1730e8ba5..ff1d0865a7bf110d7c73038827d8228c9b00ad55 100644 (file)
@@ -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