diff options
Diffstat (limited to 'games-rpg')
-rw-r--r-- | games-rpg/twclone/Manifest | 1 | ||||
-rw-r--r-- | games-rpg/twclone/files/twclone-0.14-format.patch | 75 | ||||
-rw-r--r-- | games-rpg/twclone/metadata.xml | 18 | ||||
-rw-r--r-- | games-rpg/twclone/twclone-0.14-r1.ebuild | 29 |
4 files changed, 0 insertions, 123 deletions
diff --git a/games-rpg/twclone/Manifest b/games-rpg/twclone/Manifest deleted file mode 100644 index 6cbe2a3ac1cd..000000000000 --- a/games-rpg/twclone/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST twclone-source-0.14.tar.gz 163065 BLAKE2B 58d5fb13c5d6dc6bb5f73d2f4da8eace8aad7625a464b45099bd21d9cd8c3d29b25714f73e505d895b7fd8815c0dd3227a289009b7298ebaf83b0ada58deff73 SHA512 66a63e2cc5fe82fb5a5b1f887c9eb3bf8b89044f7f7d489b67e5bb15a21426a5a0eb27b53ab59c05c784fc6fb7ffaadcfc5453fc55943959db859a053adb7843 diff --git a/games-rpg/twclone/files/twclone-0.14-format.patch b/games-rpg/twclone/files/twclone-0.14-format.patch deleted file mode 100644 index d9d1a1c52516..000000000000 --- a/games-rpg/twclone/files/twclone-0.14-format.patch +++ /dev/null @@ -1,75 +0,0 @@ ---- 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++) - strcat(terraInfo, " "); -- strcat(terraInfo, "\n"); -- fprintf (planetfile, terraInfo); -+ fprintf (planetfile, "%s\n", terraInfo); - sprintf (ferrinfo, "%d:%d:Ferringhi:1:-2:Unknown:1000:1000:1000:0:0:0:0:3:100000:20:30:10:0:0:0:0:", 2, ferringhiSector); - for (loop = 1; loop <= 299 - strlen(ferrinfo); loop++) - strcat(ferrinfo, " "); -- strcat(ferrinfo, "\n"); -- fprintf(planetfile, ferrinfo); -+ fprintf(planetfile, "%s\n", ferrinfo); - randomPlanetInfo = malloc (sizeof (strNameLength)); - if (numRandomPlanets > 0) - { -@@ -552,8 +550,7 @@ - , c, tempint, randomname (randomPlanetInfo), randomnum(1,5)); - for (loop = 1; loop <= 299 - strlen(ferrinfo); loop++) - strcat(ferrinfo, " "); -- strcat(ferrinfo, "\n"); -- fprintf(planetfile, ferrinfo); -+ fprintf(planetfile, "%s\n", ferrinfo); - - c++; - } -@@ -616,10 +613,9 @@ - fileline = strcat (fileline, ":"); - if (sectorlist[x]->nebulae != NULL) - fileline = strcat (fileline, sectorlist[x]->nebulae); -- fileline = strcat (fileline, ":\n"); - /* Later put in whitespace buffer for saving */ - /* Not needed until user created beacons put in */ -- fprintf (file, fileline); -+ fprintf (file, "%s:\n", fileline); - } - fclose (file); - free (fileline); -@@ -646,8 +642,7 @@ - len = (int) strlen (fileline); - for (y = 0; y <= 99 - len; y++) - strcat (fileline, " "); -- strcat (fileline, "\n"); -- fprintf (file, fileline); -+ fprintf (file, "%s\n", fileline); - } - fclose (file); - ---- 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++) - strcat(buffer, " "); -- strcat(buffer, "\n"); - -- fprintf(configfile, buffer); -+ fprintf(configfile, "%s\n", buffer); - - fclose(configfile); - free(buffer); ---- 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++) - strcat(stufftosave, " "); -- strcat(stufftosave, "\n"); -- fprintf(planetfile, stufftosave); -+ fprintf(planetfile, "%s\n", stufftosave); - } - } - fclose(planetfile); diff --git a/games-rpg/twclone/metadata.xml b/games-rpg/twclone/metadata.xml deleted file mode 100644 index 56bd9d00cd1f..000000000000 --- a/games-rpg/twclone/metadata.xml +++ /dev/null @@ -1,18 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>games@gentoo.org</email> - <name>Gentoo Games Project</name> - </maintainer> - <longdescription> -How many of you remeber the BBS days back in the late 80's and early 90's? -Back when you would call in play games and go on with your life? Well I'm -trying to duplicate one of those old games. It was called Trade Wars -2002(Created by Martech Software). So I decided to make a game similar to it -that runs in Linux. -</longdescription> - <upstream> - <remote-id type="sourceforge">twclone</remote-id> - </upstream> -</pkgmetadata> diff --git a/games-rpg/twclone/twclone-0.14-r1.ebuild b/games-rpg/twclone/twclone-0.14-r1.ebuild deleted file mode 100644 index 95f7c5550971..000000000000 --- a/games-rpg/twclone/twclone-0.14-r1.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -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 ~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 -} |