diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2008-06-23 14:51:12 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2008-06-23 14:51:12 +0000 |
commit | fced956144a16f0426c0f37efad726ff10f73fb7 (patch) | |
tree | e31fffef265555fbdd2b7e17697aca70ecefe060 /net-irc | |
parent | Add a few more local USE flags for rbot. (diff) | |
download | gentoo-2-fced956144a16f0426c0f37efad726ff10f73fb7.tar.gz gentoo-2-fced956144a16f0426c0f37efad726ff10f73fb7.tar.bz2 gentoo-2-fced956144a16f0426c0f37efad726ff10f73fb7.zip |
Add a few more USE flags to enable/disable the plugins that use external commands (and proper dependencies on them).
(Portage version: 2.2_rc1/cvs/Linux 2.6.25-gentoo-r4 x86_64)
Diffstat (limited to 'net-irc')
-rw-r--r-- | net-irc/rbot/ChangeLog | 7 | ||||
-rw-r--r-- | net-irc/rbot/metadata.xml | 21 | ||||
-rw-r--r-- | net-irc/rbot/rbot-9999-r8.ebuild | 12 |
3 files changed, 37 insertions, 3 deletions
diff --git a/net-irc/rbot/ChangeLog b/net-irc/rbot/ChangeLog index 04528740b475..e822417d075d 100644 --- a/net-irc/rbot/ChangeLog +++ b/net-irc/rbot/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-irc/rbot # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/rbot/ChangeLog,v 1.28 2008/02/13 17:32:29 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-irc/rbot/ChangeLog,v 1.29 2008/06/23 14:51:12 flameeyes Exp $ + + 23 Jun 2008; Diego Pettenò <flameeyes@gentoo.org> metadata.xml, + rbot-9999-r8.ebuild: + Add a few more USE flags to enable/disable the plugins that use external + commands (and proper dependencies on them). *rbot-9999-r8 (13 Feb 2008) diff --git a/net-irc/rbot/metadata.xml b/net-irc/rbot/metadata.xml index d5f7c8bf76ac..29eab6ab0522 100644 --- a/net-irc/rbot/metadata.xml +++ b/net-irc/rbot/metadata.xml @@ -40,5 +40,26 @@ to enable the "dict" plugin for rbot. If the USE flag is disabled the plugin is also disabled by default. </flag> + <flag name="figlet"> + Add dependency over <pkg>app-misc/figlet</pkg>, which is needed to + enable the "figlet" plugin for rbot. If the USE flag is disable + dthe plugin is also disabled by default. + </flag> + <flag name="fortune"> + Add dependency over <pkg>games-misc/fortune-mod</pkg>, which is + needed to enable the "fortune" plugin for rbot. If the USE flag is + disable dthe plugin is also disabled by default. + </flag> + <flag name="cal"> + Add dependency over a package providing the /usr/bin/cal command, + which is needed to enable the "cal" plugin for rbot. If the USE + flag is disable dthe plugin is also disabled by default. + </flag> + <flag name="host"> + Add dependency over <pkg>net-dns/bind-tools</pkg> (providing + /usr/bin/host), which is needed to enable the "host" plugin for + rbot. If the USE flag is disable dthe plugin is also disabled by + default. + </flag> </use> </pkgmetadata> diff --git a/net-irc/rbot/rbot-9999-r8.ebuild b/net-irc/rbot/rbot-9999-r8.ebuild index e55c1e1125a0..2240cf77faca 100644 --- a/net-irc/rbot/rbot-9999-r8.ebuild +++ b/net-irc/rbot/rbot-9999-r8.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/rbot/rbot-9999-r8.ebuild,v 1.1 2008/02/13 17:32:29 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-irc/rbot/rbot-9999-r8.ebuild,v 1.2 2008/06/23 14:51:12 flameeyes Exp $ inherit ruby gems eutils @@ -29,7 +29,11 @@ RDEPEND=">=virtual/ruby-1.8 translator? ( dev-ruby/mechanize ) shorturl? ( dev-ruby/shorturl ) nls? ( dev-ruby/ruby-gettext ) - dict? ( dev-ruby/ruby-dict )" + dict? ( dev-ruby/ruby-dict ) + figlet? ( app-misc/figlet ) + fortune? ( games-misc/fortune-mod ) + cal? ( || ( sys-apps/util-linux sys-freebsd/freebsd-ubin ) ) + host? ( net-dns/bind-tools )" DEPEND="" if [[ ${PV} == "9999" ]]; then @@ -103,6 +107,10 @@ src_install() { use translator || disable_rbot_plugin translator use shorturl || disable_rbot_plugin shortenurls use dict || disable_rbot_plugin dictclient + use figlet || disable_rbot_plugin figlet + use fortune || disable_rbot_plugin fortune + use cal || disable_rbot_plugin cal + use host || disable_rbot_plugin host # This is unfortunately pretty manual at the moment, but it's just # to avoid having to run special scripts to package new versions |