summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sping@gentoo.org>2016-01-10 01:13:40 +0100
committerSebastian Pipping <sping@gentoo.org>2016-01-10 01:13:55 +0100
commit161f92840456d1d098a76c17d7ed260fb765217b (patch)
tree4f82fc6e03bbacfaa74e7342413f1c0ed54b6f0a /games-strategy
parentdev-perl/File-BOM: Version bump (diff)
downloadgentoo-161f92840456d1d098a76c17d7ed260fb765217b.tar.gz
gentoo-161f92840456d1d098a76c17d7ed260fb765217b.tar.bz2
gentoo-161f92840456d1d098a76c17d7ed260fb765217b.zip
games-strategy/revenge-of-the-titans: Add fetch restriction (bug #553728)
Package-Manager: portage-2.2.26
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/revenge-of-the-titans/revenge-of-the-titans-1.80.12.ebuild11
1 files 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 fa8a9754f2a6..ff1d0865a7bf 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