summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Phillip Brink <binki@gentoo.org>2011-05-16 16:38:38 +0000
committerNathan Phillip Brink <binki@gentoo.org>2011-05-16 16:38:38 +0000
commit2c7b3b3175b97bf82086376a34f18220394148b1 (patch)
tree5a325fd067df48c728465dd911876d50e42de0a9 /net-irc/tirc
parentFix desktop file references, from "opera" to "opera-next", by Ja Bi. (diff)
downloadgentoo-2-2c7b3b3175b97bf82086376a34f18220394148b1.tar.gz
gentoo-2-2c7b3b3175b97bf82086376a34f18220394148b1.tar.bz2
gentoo-2-2c7b3b3175b97bf82086376a34f18220394148b1.zip
Fix bug #367505. Bump to EAPI=4, add ~amd64 keyword, and fix spelling mistake in DESCRIPTION.
(Portage version: 2.2.0_alpha31-r1/cvs/Linux x86_64)
Diffstat (limited to 'net-irc/tirc')
-rw-r--r--net-irc/tirc/ChangeLog8
-rw-r--r--net-irc/tirc/tirc-1.2.ebuild39
2 files changed, 30 insertions, 17 deletions
diff --git a/net-irc/tirc/ChangeLog b/net-irc/tirc/ChangeLog
index 63881f9035e8..e0cf85388b27 100644
--- a/net-irc/tirc/ChangeLog
+++ b/net-irc/tirc/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-irc/tirc
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/tirc/ChangeLog,v 1.4 2007/03/13 21:20:36 armin76 Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-irc/tirc/ChangeLog,v 1.5 2011/05/16 16:38:38 binki Exp $
+
+ 16 May 2011; Nathan Phillip Brink <binki@gentoo.org> tirc-1.2.ebuild:
+ Fix bug #367505. Bump to EAPI=4, add ~amd64 keyword, and fix spelling
+ mistake in DESCRIPTION.
*tirc-1.2 (13 Mar 2007)
diff --git a/net-irc/tirc/tirc-1.2.ebuild b/net-irc/tirc/tirc-1.2.ebuild
index 5213312c5cec..9e21e04a676c 100644
--- a/net-irc/tirc/tirc-1.2.ebuild
+++ b/net-irc/tirc/tirc-1.2.ebuild
@@ -1,30 +1,39 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/tirc/tirc-1.2.ebuild,v 1.1 2007/03/13 21:20:36 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/tirc/tirc-1.2.ebuild,v 1.2 2011/05/16 16:38:38 binki Exp $
-DESCRIPTION="Tolken's IRC client"
+EAPI=4
+
+DESCRIPTION="Token's IRC client"
HOMEPAGE="http://home.mayn.de/jean-luc/alt/tirc/"
SRC_URI="mirror://debian/pool/main/t/tirc/${PN}_${PV}.orig.tar.gz"
-LICENSE="as-is"
+
+LICENSE="BSD"
SLOT="0"
-KEYWORDS="~x86 ~ppc"
+KEYWORDS="~amd64 ~x86 ~ppc"
IUSE="debug"
DEPEND="sys-libs/ncurses"
+RDEPEND="${DEPEND}"
-src_compile() {
- if use debug; then
- myconf="--enable-debug"
- fi
+src_prepare() {
+ # Don't call dodoc on a directory, bug #367505.
+ rm -rf doc/RCS || die
+}
- econf ${myconf} || die "econf failed"
+src_configure() {
+ econf \
+ $(use_enable debug)
+}
- emake depend || die "emake depend failed"
- emake tirc || die "emake tirc failed"
+src_compile() {
+ emake depend
+ emake tirc
}
src_install() {
- dobin tirc || die "dobin failed"
- doman tirc.1 || die "doman failed"
- dodoc Changelog FAQ Notes README doc/* || die "dodoc failed"
+ dobin tirc
+ doman tirc.1
+
+ dodoc Changelog FAQ Notes README doc/*
}