summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-01-29 08:18:49 +0000
committerMike Frysinger <vapier@gentoo.org>2004-01-29 08:18:49 +0000
commit00c60c6e77a60301843455164d9b062db0ca8af0 (patch)
treebf1d8439a2ae2b5bb9cb95e93c4c7f72efe3322d /games-mud/circlemud
parentforgot to inherit eutils (diff)
downloadgentoo-2-00c60c6e77a60301843455164d9b062db0ca8af0.tar.gz
gentoo-2-00c60c6e77a60301843455164d9b062db0ca8af0.tar.bz2
gentoo-2-00c60c6e77a60301843455164d9b062db0ca8af0.zip
initial ebuild #37094
Diffstat (limited to 'games-mud/circlemud')
-rw-r--r--games-mud/circlemud/ChangeLog8
-rw-r--r--games-mud/circlemud/circlemud-3.1.ebuild57
-rw-r--r--games-mud/circlemud/files/digest-circlemud-3.11
-rw-r--r--games-mud/circlemud/metadata.xml12
4 files changed, 78 insertions, 0 deletions
diff --git a/games-mud/circlemud/ChangeLog b/games-mud/circlemud/ChangeLog
new file mode 100644
index 000000000000..4982694d2665
--- /dev/null
+++ b/games-mud/circlemud/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for games-mud/circlemud
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-mud/circlemud/ChangeLog,v 1.1 2004/01/29 08:18:49 vapier Exp $
+
+*circlemud-3.1 (29 Jan 2004)
+
+ 29 Jan 2004; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by Minati jean #37094.
diff --git a/games-mud/circlemud/circlemud-3.1.ebuild b/games-mud/circlemud/circlemud-3.1.ebuild
new file mode 100644
index 000000000000..61468afd93ab
--- /dev/null
+++ b/games-mud/circlemud/circlemud-3.1.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-mud/circlemud/circlemud-3.1.ebuild,v 1.1 2004/01/29 08:18:49 vapier Exp $
+
+inherit games
+
+DESCRIPTION="a multi-user dungeon game system server"
+HOMEPAGE="http://www.circlemud.org/"
+SRC_URI="ftp://ftp.circlemud.org/pub/CircleMUD/${PV/.*}.x/circle-${PV}.tar.bz2"
+
+LICENSE="circlemud"
+SLOT="0"
+KEYWORDS="~x86"
+
+DEPEND="virtual/glibc
+ dev-libs/openssl"
+
+S=${WORKDIR}/circle-${PV}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}/src
+ touch .accepted
+ sed -i 's:^read.*::' licheck
+
+ # make circlemud fit into Gentoo nicely
+ sed -i "s:\"lib\":\"${GAMES_DATADIR}/${PN}\":g" config.c || die
+ sed -i "s:\(LOGNAME = \)NULL:\1\"${GAMES_LOGDIR}/${PN}.log\":g" config.c || die
+ sed -i "s:etc/:${GAMES_SYSCONFDIR}/${PN}/:g" db.h || die
+
+ # now lets rename binaries (too many are very generic)
+ sed -i "s:\.\./bin/autowiz:${PN}-autowiz:" src/limits.c
+}
+
+src_compile() {
+ egamesconf || die
+ cd src
+ emake || die
+}
+
+src_install() {
+ 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/digest-circlemud-3.1 b/games-mud/circlemud/files/digest-circlemud-3.1
new file mode 100644
index 000000000000..c2c43eb68f2c
--- /dev/null
+++ b/games-mud/circlemud/files/digest-circlemud-3.1
@@ -0,0 +1 @@
+MD5 a0afbcc52f8ddcbc128b0ec2209bfb99 circle-3.1.tar.bz2 1176136
diff --git a/games-mud/circlemud/metadata.xml b/games-mud/circlemud/metadata.xml
new file mode 100644
index 000000000000..fdb2e1e3c87a
--- /dev/null
+++ b/games-mud/circlemud/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+<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>