summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomáš Chvátal <scarabeus@gentoo.org>2010-08-10 17:19:27 +0200
committerTomáš Chvátal <scarabeus@gentoo.org>2010-08-10 17:19:27 +0200
commit2f9682d20b88de54be26634573112f0566c7c322 (patch)
tree6b20afa92ef7562361119a4adb87693e6593268b /mail-filter
parentFix S detection. (diff)
downloadscarabeus-2f9682d20b88de54be26634573112f0566c7c322.tar.gz
scarabeus-2f9682d20b88de54be26634573112f0566c7c322.tar.bz2
scarabeus-2f9682d20b88de54be26634573112f0566c7c322.zip
Use ruby-ng eclass, pass1
Diffstat (limited to 'mail-filter')
-rw-r--r--mail-filter/bsfilter/Manifest2
-rw-r--r--mail-filter/bsfilter/bsfilter-1.0.17_rc4.ebuild24
2 files changed, 8 insertions, 18 deletions
diff --git a/mail-filter/bsfilter/Manifest b/mail-filter/bsfilter/Manifest
index f2c8f19..bd59d6e 100644
--- a/mail-filter/bsfilter/Manifest
+++ b/mail-filter/bsfilter/Manifest
@@ -1,4 +1,4 @@
DIST bsfilter-1.0.17.rc4.tgz 1185328 RMD160 ebd7c19fdb56b33b1cf39d1c349f06918e2ab13f SHA1 9bf8748bf574da312ea827d314436a395b2fe540 SHA256 09564571d0ae661e1cfc8579a39f1103f113fc2d128f51de66c52601064c1176
-EBUILD bsfilter-1.0.17_rc4.ebuild 778 RMD160 a0dddbb32ac36884e18b1de0832ab1a3787b15a0 SHA1 a06a5f734120f5dd769f80b1515661a09faba738 SHA256 3e90ab31859d221fe201b3f8a59f720a4dbebdc7a57bbab99426509bb95a8e61
+EBUILD bsfilter-1.0.17_rc4.ebuild 636 RMD160 2ea84be81c6450c622112d92c85cd53f9f11d4bb SHA1 f334c28a14f99e769df0481cd0c705b1858274b0 SHA256 125e2da2ac5e0cac47aefacc847a01db086c2253b30afb28b57d56443bee9eb4
MISC ChangeLog 2598 RMD160 d9d5c9385266f218378e2de72b07f5859d7254b2 SHA1 21d27aed79089a762d2d6e6700b6f53f515d712a SHA256 0d7b6e3dc4b29a97705cc223ac19cfcce812435c14ee984cf062c8fb6d0ee937
MISC metadata.xml 228 RMD160 4ffeea28a081aa64492e585fe2069eef967280b9 SHA1 e6b12694744766758bcb047fc4f86a5dcde5f0f6 SHA256 e5d696a48ed8f1ac592552556b8b854c84fe64f308a71c8cde9a38724c22ba54
diff --git a/mail-filter/bsfilter/bsfilter-1.0.17_rc4.ebuild b/mail-filter/bsfilter/bsfilter-1.0.17_rc4.ebuild
index 0404128..7694cf6 100644
--- a/mail-filter/bsfilter/bsfilter-1.0.17_rc4.ebuild
+++ b/mail-filter/bsfilter/bsfilter-1.0.17_rc4.ebuild
@@ -2,6 +2,10 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/mail-filter/bsfilter/bsfilter-1.0.15.ebuild,v 1.3 2008/03/14 10:02:26 phreak Exp $
+EAPI=3
+
+USE_RUBY="ruby18"
+inherit ruby-ng
MY_P=${P/_rc/.rc}
DESCRIPTION="bayesian spam filter which distinguishes spam and non-spam mail"
@@ -11,23 +15,9 @@ SRC_URI="http://jaist.dl.sourceforge.jp/${PN}/39712/${MY_P}.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="mecab chasen doc"
-
-DEPEND="dev-lang/ruby"
+IUSE=""
-RDEPEND="${DEPEND}
- mecab? ( dev-ruby/mecab-ruby )
- chasen? ( dev-ruby/ruby-chasen )"
+ruby_add_rdepend dev-ruby/mecab-ruby
+ruby_add_rdepend dev-ruby/ruby-chasen
S="${WORKDIR}/${MY_P}"
-
-src_compile() {
- :
-}
-
-src_install() {
- dobin "${S}/${PN}/${PN}" || die
- if use doc; then
- dohtml -r "${S}/htdocs/"* || die
- fi
-}