summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2010-10-12 02:07:55 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2010-10-12 02:07:55 +0000
commitd90d0e6f4ca463373a720bb2f77e73ee165fcead (patch)
tree85d82593e986dd0a02d8c965b945eaa00bdca504 /games-mud/circlemud
parentFix init script parameters. (diff)
downloadgentoo-2-d90d0e6f4ca463373a720bb2f77e73ee165fcead.tar.gz
gentoo-2-d90d0e6f4ca463373a720bb2f77e73ee165fcead.tar.bz2
gentoo-2-d90d0e6f4ca463373a720bb2f77e73ee165fcead.zip
add eutils for epatch; tidy
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'games-mud/circlemud')
-rw-r--r--games-mud/circlemud/ChangeLog5
-rw-r--r--games-mud/circlemud/circlemud-3.1.ebuild22
2 files changed, 14 insertions, 13 deletions
diff --git a/games-mud/circlemud/ChangeLog b/games-mud/circlemud/ChangeLog
index 01a51936f380..0bf8272ca489 100644
--- a/games-mud/circlemud/ChangeLog
+++ b/games-mud/circlemud/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-mud/circlemud
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-mud/circlemud/ChangeLog,v 1.9 2010/09/16 10:34:53 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-mud/circlemud/ChangeLog,v 1.10 2010/10/12 02:07:55 mr_bones_ Exp $
+
+ 12 Oct 2010; Michael Sterrett <mr_bones_@gentoo.org> circlemud-3.1.ebuild:
+ add eutils for epatch; tidy
16 Sep 2010; Alfredo Tupone <tupone@gentoo.org> circlemud-3.1.ebuild,
+files/circlemud-3.1-ldflags.patch:
diff --git a/games-mud/circlemud/circlemud-3.1.ebuild b/games-mud/circlemud/circlemud-3.1.ebuild
index 7dd365943233..8e1686bf356d 100644
--- a/games-mud/circlemud/circlemud-3.1.ebuild
+++ b/games-mud/circlemud/circlemud-3.1.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2010 Gentoo Foundation
# 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.12 2010/09/16 10:34:53 tupone Exp $
-EAPI="2"
+# $Header: /var/cvsroot/gentoo-x86/games-mud/circlemud/circlemud-3.1.ebuild,v 1.13 2010/10/12 02:07:55 mr_bones_ Exp $
-inherit games
+EAPI=2
+inherit eutils games
DESCRIPTION="a multi-user dungeon game system server"
HOMEPAGE="http://www.circlemud.org/"
@@ -16,7 +16,7 @@ IUSE=""
DEPEND="dev-libs/openssl"
-S="${WORKDIR}/circle-${PV}"
+S=${WORKDIR}/circle-${PV}
src_prepare() {
cd src
@@ -26,10 +26,9 @@ src_prepare() {
# make circlemud fit into Gentoo nicely
sed -i \
- -e "s:\"lib\":\"${GAMES_DATADIR}/${PN}\":g" config.c || die
- sed -i \
- -e "s:\(LOGNAME = \)NULL:\1\"${GAMES_LOGDIR}/${PN}.log\":g" config.c \
- || die
+ -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
@@ -40,16 +39,15 @@ src_prepare() {
}
src_compile() {
- cd src
- emake || die "emake failed"
+ emake -C src || die "emake failed"
}
src_install() {
for bin in autowiz delobjs listrent mudpasswd play2to3 purgeplay \
shopconv showplay sign split wld2html ; do
- newgamesbin bin/${bin} ${PN}-${bin}
+ newgamesbin bin/${bin} ${PN}-${bin} || die
done
- dogamesbin bin/circle
+ dogamesbin bin/circle || die
dodir "${GAMES_DATADIR}/${PN}"
cp -r lib/* "${D}/${GAMES_DATADIR}/${PN}" || die