summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2011-07-06 16:51:16 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2011-07-06 16:51:16 +0000
commitd6fae594da6a3442f5d852bd8cf220015e50316b (patch)
treeac2f5933f901b2da4264b27c27e9a47756a65172 /net-irc
parentversion bump (diff)
downloadgentoo-2-d6fae594da6a3442f5d852bd8cf220015e50316b.tar.gz
gentoo-2-d6fae594da6a3442f5d852bd8cf220015e50316b.tar.bz2
gentoo-2-d6fae594da6a3442f5d852bd8cf220015e50316b.zip
Fix documentation installation wrt #298445 by Christophe LEFEBVRE.
(Portage version: 2.2.0_alpha41/cvs/Linux x86_64)
Diffstat (limited to 'net-irc')
-rw-r--r--net-irc/ezbounce/ChangeLog7
-rw-r--r--net-irc/ezbounce/ezbounce-1.99.14.ebuild36
2 files changed, 27 insertions, 16 deletions
diff --git a/net-irc/ezbounce/ChangeLog b/net-irc/ezbounce/ChangeLog
index b08c6e77dd40..e7698be68441 100644
--- a/net-irc/ezbounce/ChangeLog
+++ b/net-irc/ezbounce/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-irc/ezbounce
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/ezbounce/ChangeLog,v 1.18 2009/06/02 12:53:35 flameeyes Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-irc/ezbounce/ChangeLog,v 1.19 2011/07/06 16:51:16 ssuominen Exp $
+
+ 06 Jul 2011; Samuli Suominen <ssuominen@gentoo.org> ezbounce-1.99.14.ebuild:
+ Fix documentation installation wrt #298445 by Christophe LEFEBVRE.
02 Jun 2009; Diego E. Pettenò <flameeyes@gentoo.org>
ezbounce-1.99.14.ebuild, +files/ezbounce-1.99.14+glibc-2.10.patch,
diff --git a/net-irc/ezbounce/ezbounce-1.99.14.ebuild b/net-irc/ezbounce/ezbounce-1.99.14.ebuild
index 16322663ca9d..1c0b8c8f8f91 100644
--- a/net-irc/ezbounce/ezbounce-1.99.14.ebuild
+++ b/net-irc/ezbounce/ezbounce-1.99.14.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2009 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/ezbounce/ezbounce-1.99.14.ebuild,v 1.3 2009/06/02 12:53:35 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/ezbounce/ezbounce-1.99.14.ebuild,v 1.4 2011/07/06 16:51:16 ssuominen Exp $
+EAPI=4
inherit eutils
DESCRIPTION="a small IRC bouncer"
@@ -12,31 +13,38 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="ssl boost"
-RESTRICT="test"
-DEPEND=">=net-misc/mdidentd-1.04c
+RDEPEND=">=net-misc/mdidentd-1.04c
ssl? ( dev-libs/openssl )
boost? ( dev-libs/boost )"
+DEPEND="${RDEPEND}"
+
+RESTRICT="test"
-src_unpack() {
- unpack ${A}
- cd "${S}"
+src_prepare() {
epatch "${FILESDIR}"/${P}-build.patch #251445
epatch "${FILESDIR}"/${P}-asneeded.patch
epatch "${FILESDIR}"/${P}+glibc-2.10.patch
}
-src_compile() {
+src_configure() {
econf \
$(use_with ssl) \
- $(use_with boost) \
- || die
- emake CXX_OPTIMIZATIONS="${CXXFLAGS}" || die
+ $(use_with boost)
+}
+
+src_compile() {
+ emake CXX_OPTIMIZATIONS="${CXXFLAGS}"
}
src_install() {
- dobin ezbounce || die
+ dobin ezbounce
dosym ezbounce /usr/bin/ezb
- dodoc CHANGES TODO README ezb.conf sample.*
- doman misc/ezbounce.1
+
+ echo '.so ezbounce.1' > ${T}/ezb.1
+ doman docs/ezbounce.1 "${T}"/ezb.1
+
+ dodoc CHANGES README TODO ezb.conf sample.conf
+ docinto docs
+ dodoc docs/{FAQ,README,REPORTING-BUGS,worklog,*.txt}
}