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
commit5203cfa2e281c9195cd4761bdc6891c77e4f73f9 (patch)
treed98239e55b01d0bffe266b2ffdb3bb3904a201ae /games-mud
parentFix init script parameters. (diff)
downloadhistorical-5203cfa2e281c9195cd4761bdc6891c77e4f73f9.tar.gz
historical-5203cfa2e281c9195cd4761bdc6891c77e4f73f9.tar.bz2
historical-5203cfa2e281c9195cd4761bdc6891c77e4f73f9.zip
add eutils for epatch; tidy
Package-Manager: portage-2.1.8.3/cvs/Linux i686
Diffstat (limited to 'games-mud')
-rw-r--r--games-mud/circlemud/ChangeLog5
-rw-r--r--games-mud/circlemud/Manifest4
-rw-r--r--games-mud/circlemud/circlemud-3.1.ebuild22
3 files changed, 16 insertions, 15 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/Manifest b/games-mud/circlemud/Manifest
index 57ccec4daf10..5def49732fa2 100644
--- a/games-mud/circlemud/Manifest
+++ b/games-mud/circlemud/Manifest
@@ -1,5 +1,5 @@
AUX circlemud-3.1-ldflags.patch 2808 RMD160 f9c8b6e0702ddeda88f2b72be8d07c7acf2e7d13 SHA1 c26b3f8bac9152a8ec26928c1828489ed5c88a72 SHA256 41fcac9e07a3629bda081592c6192f065ea6a9490d7fff2f0c37adcd02efd989
DIST circle-3.1.tar.bz2 1176136 RMD160 15ef6467fe94820de3b6168f78cc5b5c063320e8 SHA1 3a898ed01779aea94ecb949062ec42545b293f81 SHA256 3813f6f903e958818afa5734403caa208d0a042ad1258f832d1ffc6923e098ea
-EBUILD circlemud-3.1.ebuild 1614 RMD160 64aeae9af2f0c2ab2cd6d52cd376bc8bc7eeb037 SHA1 f8dafe514b0861b230e50f07a14869ec42ef202c SHA256 ab54f9e26c1e9a5a5c427eba1dc8699d06cd995b2ccaf3179c0935772c1e3e93
-MISC ChangeLog 1138 RMD160 f312605cb1d3fd98aaf30266195eef8157f8f1d0 SHA1 5bf012c4873db239e9e81de1982cb76675b5fe78 SHA256 5202aa6888c86a85c5aabe0080832d80ba9e956e6bb907f0fb47d361278430de
+EBUILD circlemud-3.1.ebuild 1608 RMD160 662c40af31b0b8f990b8e301c2d850c85d98da4d SHA1 27f46cfa6c3dc3689a58279f099f07868e936f69 SHA256 0279039f8c245706c1979abcfda74fdeb2214288035697c416a2431ed99bc2ca
+MISC ChangeLog 1250 RMD160 d4bba3811ec2b7779c8135687a9326f29f4e009c SHA1 300aaed5e78975dcf6fc404cc068af654c60860f SHA256 136cc9e33d41c8f235c3e1134c1f003cac270066b6f36112cf12848cf82a5e76
MISC metadata.xml 620 RMD160 ea15d258561f430a74f94a778e9d5fcc92560deb SHA1 2db81bc719f8b5b100ed7433f9ede2c3718e6fdb SHA256 9eeb1faf1aea8ec97f9fb5509d667df30e5507da3091febaecea5596b433a522
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