summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-perl/Snowball-Norwegian/Snowball-Norwegian-1.2.ebuild')
-rw-r--r--dev-perl/Snowball-Norwegian/Snowball-Norwegian-1.2.ebuild14
1 files changed, 8 insertions, 6 deletions
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
}