diff options
author | Austin English <wizardedit@gentoo.org> | 2016-10-16 00:10:08 -0500 |
---|---|---|
committer | Austin English <wizardedit@gentoo.org> | 2016-10-17 19:00:52 -0500 |
commit | 3b9ddd7eb9c25affc76e42c89c2b333ea48dd808 (patch) | |
tree | 6b1b424fb287b3b5aeeca3d7c9a35bbb4abea10f /games-rpg | |
parent | dev-python/APScheduler: version bump to 3.2.0 (diff) | |
download | gentoo-3b9ddd7eb9c25affc76e42c89c2b333ea48dd808.tar.gz gentoo-3b9ddd7eb9c25affc76e42c89c2b333ea48dd808.tar.bz2 gentoo-3b9ddd7eb9c25affc76e42c89c2b333ea48dd808.zip |
games-rpg/twclone: remove deprecated games eclass
Also update to EAPI 6
Gentoo-Bug: https://bugs.gentoo.org/574082
Package-Manager: portage-2.3.0
Diffstat (limited to 'games-rpg')
-rw-r--r-- | games-rpg/twclone/files/twclone-0.14-format.patch | 12 | ||||
-rw-r--r-- | games-rpg/twclone/twclone-0.14-r1.ebuild | 30 |
2 files changed, 36 insertions, 6 deletions
diff --git a/games-rpg/twclone/files/twclone-0.14-format.patch b/games-rpg/twclone/files/twclone-0.14-format.patch index 3e5114179c53..d9d1a1c52516 100644 --- a/games-rpg/twclone/files/twclone-0.14-format.patch +++ b/games-rpg/twclone/files/twclone-0.14-format.patch @@ -1,5 +1,5 @@ ---- bigbang.c.old 2015-10-27 09:21:51.172611109 +0100 -+++ bigbang.c 2015-10-27 09:25:41.117233447 +0100 +--- a/bigbang.c 2015-10-27 09:21:51.172611109 +0100 ++++ b/bigbang.c 2015-10-27 09:25:41.117233447 +0100 @@ -530,13 +530,11 @@ planetfile = fopen ("./planets.data", "w"); for (loop = 1; loop <= 299 - strlen(terraInfo); loop++) @@ -48,8 +48,8 @@ } fclose (file); ---- config.c.old 2015-10-27 09:30:00.091283678 +0100 -+++ config.c 2015-10-27 09:30:25.068806593 +0100 +--- a/config.c 2015-10-27 09:30:00.091283678 +0100 ++++ b/config.c 2015-10-27 09:30:25.068806593 +0100 @@ -140,9 +140,8 @@ for (loop=0; loop < 199 - strlen(buffer); loop++) @@ -61,8 +61,8 @@ fclose(configfile); free(buffer); ---- planet.c.old 2015-10-27 09:31:44.867282757 +0100 -+++ planet.c 2015-10-27 09:32:17.083667674 +0100 +--- a/planet.c 2015-10-27 09:31:44.867282757 +0100 ++++ b/planet.c 2015-10-27 09:32:17.083667674 +0100 @@ -59,8 +59,7 @@ addint(stufftosave, planets[index]->citdl->upgradestart, ':', BUFF_SIZE); for (loop=0; loop< 399 - strlen(stufftosave); loop++) diff --git a/games-rpg/twclone/twclone-0.14-r1.ebuild b/games-rpg/twclone/twclone-0.14-r1.ebuild new file mode 100644 index 000000000000..3e9a67554fa5 --- /dev/null +++ b/games-rpg/twclone/twclone-0.14-r1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +MY_P="${PN}-source-${PV}" +DESCRIPTION="Clone of BBS Door game Trade Wars 2002" +HOMEPAGE="http://twclone.sourceforge.net/" +SRC_URI="mirror://sourceforge/twclone/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +S=${WORKDIR}/${MY_P} + +PATCHES=( + "${FILESDIR}"/${P}-format.patch +) + +src_install() { + DOCS="AUTHORS ChangeLog PROTOCOL README TODO" \ + default + cd "${D}/usr/bin" + for f in * ; do + mv {,${PN}-}${f} + done +} |