summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-perl/Snowball-Norwegian/ChangeLog9
-rw-r--r--dev-perl/Snowball-Norwegian/Snowball-Norwegian-1.0-r1.ebuild40
-rw-r--r--dev-perl/Snowball-Norwegian/Snowball-Norwegian-1.0.ebuild40
-rw-r--r--dev-perl/Snowball-Norwegian/Snowball-Norwegian-1.2.ebuild14
4 files changed, 15 insertions, 88 deletions
diff --git a/dev-perl/Snowball-Norwegian/ChangeLog b/dev-perl/Snowball-Norwegian/ChangeLog
index 3fecc049aae4..c6e906488781 100644
--- a/dev-perl/Snowball-Norwegian/ChangeLog
+++ b/dev-perl/Snowball-Norwegian/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-perl/Snowball-Norwegian
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/Snowball-Norwegian/ChangeLog,v 1.16 2007/11/10 14:31:50 drac Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/Snowball-Norwegian/ChangeLog,v 1.17 2008/04/30 15:15:58 tove Exp $
+
+ 30 Apr 2008; Torsten Veller <tove@gentoo.org>
+ -Snowball-Norwegian-1.0.ebuild, -Snowball-Norwegian-1.0-r1.ebuild,
+ Snowball-Norwegian-1.2.ebuild:
+ Add dev-perl/module-build to DEPEND (#216395)
10 Nov 2007; Samuli Suominen <drac@gentoo.org>
Snowball-Norwegian-1.2.ebuild:
diff --git a/dev-perl/Snowball-Norwegian/Snowball-Norwegian-1.0-r1.ebuild b/dev-perl/Snowball-Norwegian/Snowball-Norwegian-1.0-r1.ebuild
deleted file mode 100644
index 18643b7d9eb3..000000000000
--- a/dev-perl/Snowball-Norwegian/Snowball-Norwegian-1.0-r1.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/Snowball-Norwegian/Snowball-Norwegian-1.0-r1.ebuild,v 1.3 2007/07/10 23:33:30 mr_bones_ Exp $
-
-inherit perl-module multilib
-
-DESCRIPTION="Porters stemming algorithm for Norwegian"
-HOMEPAGE="http://search.cpan.org/~asksh/"
-SRC_URI="mirror://cpan/authors/id/A/AS/ASKSH/${P}.tar.gz"
-
-LICENSE="Artistic"
-SLOT="0"
-KEYWORDS="amd64 ia64 ~ppc sparc x86"
-IUSE=""
-
-SRC_TEST="do"
-
-DEPEND="dev-lang/perl"
-
-src_install() {
- perl-module_src_install
- local version
- eval `perl '-V:version'`
- perl_version=${version}
- local myarch
- eval `perl '-V:archname'`
- myarch=${archname}
-
- if [ -f ${D}/usr/$(get_libdir)/perl5/vendor_perl/${perl_version}/Lingua/Stem/Snowball/stemmer.pl ]; then
- mv \
- ${D}/usr/$(get_libdir)/perl5/vendor_perl/${perl_version}/Lingua/Stem/Snowball/stemmer.pl \
- ${D}/usr/$(get_libdir)/perl5/vendor_perl/${perl_version}/Lingua/Stem/Snowball/no-stemmer.pl
- fi
-}
-
-pkg_postinst() {
- perl-module_pkg_postinst
- elog "The stemmer.pl that ships with this distribution has been renamed to"
- elog "no-stemmer.pl to avoid collisions with other Lingua::Stem packages."
-}
diff --git a/dev-perl/Snowball-Norwegian/Snowball-Norwegian-1.0.ebuild b/dev-perl/Snowball-Norwegian/Snowball-Norwegian-1.0.ebuild
deleted file mode 100644
index d0c5e81d5c6c..000000000000
--- a/dev-perl/Snowball-Norwegian/Snowball-Norwegian-1.0.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/Snowball-Norwegian/Snowball-Norwegian-1.0.ebuild,v 1.13 2007/07/10 23:33:30 mr_bones_ Exp $
-
-inherit perl-module multilib
-
-DESCRIPTION="Porters stemming algorithm for Norwegian"
-HOMEPAGE="http://search.cpan.org/~asksh/"
-SRC_URI="mirror://cpan/authors/id/A/AS/ASKSH/${P}.tar.gz"
-
-LICENSE="Artistic"
-SLOT="0"
-KEYWORDS="amd64 ia64 ~ppc sparc x86"
-IUSE=""
-
-SRC_TEST="do"
-
-DEPEND="dev-lang/perl"
-
-src_install() {
- perl-module_src_install
- local version
- eval `perl '-V:version'`
- perl_version=${version}
- local myarch
- eval `perl '-V:archname'`
- myarch=${archname}
-
- if [ -f ${D}/usr/$(get_libdir)/perl5/vendor_perl/${perl_version}/Lingua/Stem/Snowball/stemmer.pl ]; then
- mv \
- ${D}/usr/$(get_libdir)/perl5/vendor_perl/${perl_version}/Lingua/Stem/Snowball/stemmer.pl \
- ${D}/usr/$(get_libdir)/perl5/vendor_perl/${perl_version}/Lingua/Stem/Snowball/no-stemmer.pl
- fi
-}
-
-pkg_postinst() {
- perl-module_pkg_postinst
- elog "The stemmer.pl that ships with this distribution has been renamed to"
- elog "no-stemmer.pl to avoid collisions with other Lingua::Stem packages."
-}
diff --git a/dev-perl/Snowball-Norwegian/Snowball-Norwegian-1.2.ebuild b/dev-perl/Snowball-Norwegian/Snowball-Norwegian-1.2.ebuild
index b336c32f027a..ff9307dfeaa4 100644
--- a/dev-perl/Snowball-Norwegian/Snowball-Norwegian-1.2.ebuild
+++ b/dev-perl/Snowball-Norwegian/Snowball-Norwegian-1.2.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/Snowball-Norwegian/Snowball-Norwegian-1.2.ebuild,v 1.6 2007/11/10 14:31:50 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/Snowball-Norwegian/Snowball-Norwegian-1.2.ebuild,v 1.7 2008/04/30 15:15:58 tove Exp $
inherit perl-module multilib
@@ -15,7 +15,9 @@ IUSE=""
SRC_TEST="do"
-DEPEND="dev-lang/perl"
+RDEPEND="dev-lang/perl"
+DEPEND="${RDEPEND}
+ dev-perl/module-build"
src_install() {
perl-module_src_install
@@ -26,10 +28,10 @@ src_install() {
eval `perl '-V:archname'`
myarch=${archname}
- if [ -f ${D}/usr/$(get_libdir)/perl5/vendor_perl/${perl_version}/Lingua/Stem/Snowball/stemmer.pl ]; then
+ if [ -f "${D}"/usr/$(get_libdir)/perl5/vendor_perl/${perl_version}/Lingua/Stem/Snowball/stemmer.pl ]; then
mv \
- ${D}/usr/$(get_libdir)/perl5/vendor_perl/${perl_version}/Lingua/Stem/Snowball/stemmer.pl \
- ${D}/usr/$(get_libdir)/perl5/vendor_perl/${perl_version}/Lingua/Stem/Snowball/no-stemmer.pl
+ "${D}"/usr/$(get_libdir)/perl5/vendor_perl/${perl_version}/Lingua/Stem/Snowball/stemmer.pl \
+ "${D}"/usr/$(get_libdir)/perl5/vendor_perl/${perl_version}/Lingua/Stem/Snowball/no-stemmer.pl
fi
}