diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /games-mud/circlemud | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'games-mud/circlemud')
-rw-r--r-- | games-mud/circlemud/Manifest | 4 | ||||
-rw-r--r-- | games-mud/circlemud/circlemud-3.1.ebuild | 63 | ||||
-rw-r--r-- | games-mud/circlemud/files/circlemud-3.1-ldflags.patch | 65 | ||||
-rw-r--r-- | games-mud/circlemud/metadata.xml | 15 |
4 files changed, 147 insertions, 0 deletions
diff --git a/games-mud/circlemud/Manifest b/games-mud/circlemud/Manifest new file mode 100644 index 000000000000..34efe204faa6 --- /dev/null +++ b/games-mud/circlemud/Manifest @@ -0,0 +1,4 @@ +AUX circlemud-3.1-ldflags.patch 2808 BLAKE2B 89eb13ad95e943c2d46802ff86ca921759f39c47812df41ba91ca640ac559f0eb1d5685bab0727b0b7e1085f5b87e9fd7dc1288e88447a404f07005d4e1472ac SHA512 e60d6732cd488257f770e561852394ce6f5437b1c9b96233e9a650c02f4e66d3a31e37438655a7a25cd5af050d3da67c19154500cc3679ca0b4cb3d2aff92ba8 +DIST circle-3.1.tar.bz2 1176136 BLAKE2B f48a8feeb2cca17f23142f3456e09bc319aa26e2e295badc0e80b9d5f87f09f30f697ffba87c2edefdd6f77c8c56af68e395532c4a2232687c02ad869c19fb3f SHA512 161a0fd74aa248f6b357447be1de2d7c55e1fd281e9621d1cf7eb02d802ae06f362a318eeb3eb2425aad96620f71775245775a3aa42250e4374e8c82947df194 +EBUILD circlemud-3.1.ebuild 1477 BLAKE2B 5da20e2d5ec5f0e04c4d792a89b1c88cae0f0014525b2b1f739a46a2e3f00ca8b8d842fe85dde921155289cd4fa19d1d3332ab0cd6597d325e239526532588b0 SHA512 6ae81a0e438c1b48065de16063afd7df3b46b02a009ac782f96129513e39ce96ab7681f271f88a449ef36d5febb703eb8fa32c1cd053f74300928c2078aebc7d +MISC metadata.xml 711 BLAKE2B 1ca940940c272abadf5883a5458c414fdff03775c999d6156c1552bfd8abfd2199d0bc273498248e091f9c04ea3f43bbf4cc10cef06daab6014d867281e07a40 SHA512 4e0b5aa6ad14a7a0ae17be00023586becd1c370f01eca9730632a52ea56b3b6a91cb0180ead036937df09c4adaf6a9950cd872de42bd8c81ca69112a63dd37f6 diff --git a/games-mud/circlemud/circlemud-3.1.ebuild b/games-mud/circlemud/circlemud-3.1.ebuild new file mode 100644 index 000000000000..a0b3a10589f9 --- /dev/null +++ b/games-mud/circlemud/circlemud-3.1.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils games + +DESCRIPTION="a multi-user dungeon game system server" +HOMEPAGE="http://www.circlemud.org/" +SRC_URI="http://www.circlemud.org/pub/CircleMUD/3.x/circle-${PV}.tar.bz2" + +LICENSE="circlemud" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="dev-libs/openssl:0=" +RDEPEND=${DEPEND} + +S=${WORKDIR}/circle-${PV} + +src_prepare() { + cd src + touch .accepted + sed -i \ + -e 's:^read.*::' licheck || die + + # make circlemud fit into Gentoo nicely + sed -i \ + -e "s:\"lib\":\"${GAMES_DATADIR}/${PN}\":g" \ + -e "s:\(LOGNAME = \)NULL:\1\"${GAMES_LOGDIR}/${PN}.log\":g" \ + config.c || die + sed -i \ + -e "s:etc/:${GAMES_SYSCONFDIR}/${PN}/:g" db.h || die + + # now lets rename binaries (too many are very generic) + sed -i \ + -e "s:\.\./bin/autowiz:${PN}-autowiz:" limits.c || die + epatch "${FILESDIR}"/${P}-ldflags.patch +} + +src_compile() { + emake -C src +} + +src_install() { + local bin + + for bin in autowiz delobjs listrent mudpasswd play2to3 purgeplay \ + shopconv showplay sign split wld2html ; do + newgamesbin bin/${bin} ${PN}-${bin} + done + dogamesbin bin/circle + + dodir "${GAMES_DATADIR}/${PN}" + cp -r lib/* "${D}/${GAMES_DATADIR}/${PN}" || die + + insinto "${GAMES_SYSCONFDIR}/${PN}" + doins lib/etc/* + + dodoc doc/{README.UNIX,*.pdf,*.txt} ChangeLog FAQ README release_notes.${PV}.txt + prepgamesdirs + fperms 770 "${GAMES_SYSCONFDIR}/${PN}/players" +} diff --git a/games-mud/circlemud/files/circlemud-3.1-ldflags.patch b/games-mud/circlemud/files/circlemud-3.1-ldflags.patch new file mode 100644 index 000000000000..fc86e5e7056e --- /dev/null +++ b/games-mud/circlemud/files/circlemud-3.1-ldflags.patch @@ -0,0 +1,65 @@ +--- src/Makefile.in.old 2010-09-16 12:19:26.000000000 +0200 ++++ src/Makefile.in 2010-09-16 12:19:41.000000000 +0200 +@@ -54,7 +54,7 @@ + $(MAKE) $(BINDIR)/circle + + $(BINDIR)/circle : $(OBJFILES) +- $(CC) -o $(BINDIR)/circle $(PROFILE) $(OBJFILES) $(LIBS) ++ $(CC) $(LDFLAGS) -o $(BINDIR)/circle $(PROFILE) $(OBJFILES) $(LIBS) + + clean: + rm -f *.o +--- src/util/Makefile.in.old 2010-09-16 12:31:01.000000000 +0200 ++++ src/util/Makefile.in 2010-09-16 12:32:08.000000000 +0200 +@@ -52,40 +52,40 @@ + + $(BINDIR)/autowiz: autowiz.c $(INCDIR)/conf.h $(INCDIR)/sysdep.h \ + $(INCDIR)/structs.h $(INCDIR)/utils.h $(INCDIR)/db.h +- $(CC) $(CFLAGS) -o $(BINDIR)/autowiz autowiz.c ++ $(CC) $(LDFLAGS) $(CFLAGS) -o $(BINDIR)/autowiz autowiz.c + + $(BINDIR)/delobjs: delobjs.c $(INCDIR)/conf.h $(INCDIR)/sysdep.h \ + $(INCDIR)/structs.h $(INCDIR)/utils.h +- $(CC) $(CFLAGS) -o $(BINDIR)/delobjs delobjs.c ++ $(CC) $(LDFLAGS) $(CFLAGS) -o $(BINDIR)/delobjs delobjs.c + + $(BINDIR)/listrent: listrent.c $(INCDIR)/conf.h $(INCDIR)/sysdep.h \ + $(INCDIR)/structs.h +- $(CC) $(CFLAGS) -o $(BINDIR)/listrent listrent.c ++ $(CC) $(LDFLAGS) $(CFLAGS) -o $(BINDIR)/listrent listrent.c + + $(BINDIR)/mudpasswd: mudpasswd.c $(INCDIR)/conf.h $(INCDIR)/sysdep.h \ + $(INCDIR)/structs.h $(INCDIR)/utils.h +- $(CC) $(CFLAGS) -o $(BINDIR)/mudpasswd mudpasswd.c @CRYPTLIB@ ++ $(CC) $(LDFLAGS) $(CFLAGS) -o $(BINDIR)/mudpasswd mudpasswd.c @CRYPTLIB@ + + $(BINDIR)/play2to3: play2to3.c $(INCDIR)/conf.h $(INCDIR)/sysdep.h +- $(CC) $(CFLAGS) -o $(BINDIR)/play2to3 play2to3.c ++ $(CC) $(LDFLAGS) $(CFLAGS) -o $(BINDIR)/play2to3 play2to3.c + + $(BINDIR)/purgeplay: purgeplay.c $(INCDIR)/conf.h $(INCDIR)/sysdep.h \ + $(INCDIR)/structs.h $(INCDIR)/utils.h +- $(CC) $(CFLAGS) -o $(BINDIR)/purgeplay purgeplay.c ++ $(CC) $(LDFLAGS) $(CFLAGS) -o $(BINDIR)/purgeplay purgeplay.c + + $(BINDIR)/shopconv: shopconv.c $(INCDIR)/conf.h $(INCDIR)/sysdep.h \ + $(INCDIR)/structs.h $(INCDIR)/db.h $(INCDIR)/utils.h $(INCDIR)/shop.h +- $(CC) $(CFLAGS) -o $(BINDIR)/shopconv shopconv.c ++ $(CC) $(LDFLAGS) $(CFLAGS) -o $(BINDIR)/shopconv shopconv.c + + $(BINDIR)/showplay: showplay.c $(INCDIR)/conf.h $(INCDIR)/sysdep.h \ + $(INCDIR)/structs.h +- $(CC) $(CFLAGS) -o $(BINDIR)/showplay showplay.c ++ $(CC) $(LDFLAGS) $(CFLAGS) -o $(BINDIR)/showplay showplay.c + + $(BINDIR)/sign: sign.c $(INCDIR)/conf.h $(INCDIR)/sysdep.h +- $(CC) $(CFLAGS) -o $(BINDIR)/sign sign.c @NETLIB@ ++ $(CC) $(LDFLAGS) $(CFLAGS) -o $(BINDIR)/sign sign.c @NETLIB@ + + $(BINDIR)/split: split.c $(INCDIR)/conf.h $(INCDIR)/sysdep.h +- $(CC) $(CFLAGS) -o $(BINDIR)/split split.c ++ $(CC) $(LDFLAGS) $(CFLAGS) -o $(BINDIR)/split split.c + + $(BINDIR)/wld2html: wld2html.c $(INCDIR)/conf.h $(INCDIR)/sysdep.h +- $(CC) $(CFLAGS) -o $(BINDIR)/wld2html wld2html.c ++ $(CC) $(LDFLAGS) $(CFLAGS) -o $(BINDIR)/wld2html wld2html.c diff --git a/games-mud/circlemud/metadata.xml b/games-mud/circlemud/metadata.xml new file mode 100644 index 000000000000..53568db4ed74 --- /dev/null +++ b/games-mud/circlemud/metadata.xml @@ -0,0 +1,15 @@ +<?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> +CircleMUD is a multi-user dungeon game system (MUD) written by Jeremy Elson, originally at +Johns Hopkins University's Department of Computer Science (I graduated in May of 1996). +CircleMUD is a derivative of DikuMUD Gamma 0.0, which was written in 1990 at DIKU, the +Department of Computer Science at the University of Copenhagen, by Katja Nyboe, Tom +Madsen, Hans Henrik Staerfeldt, Michael Seifert, and Sebastian Hammer. +</longdescription> +</pkgmetadata> |