summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorsten Veller <tove@gentoo.org>2010-02-04 14:30:02 +0000
committerTorsten Veller <tove@gentoo.org>2010-02-04 14:30:02 +0000
commit303dadd2d4a2e762b1d641b2e375def9cbf260e9 (patch)
tree672e57ccf3c06c8a76ee22ce3f0d1fb1b67312a1 /dev-perl/Lingua-Stem-Snowball-Da
parentkeyworded ~x86-interix (diff)
downloadgentoo-2-303dadd2d4a2e762b1d641b2e375def9cbf260e9.tar.gz
gentoo-2-303dadd2d4a2e762b1d641b2e375def9cbf260e9.tar.bz2
gentoo-2-303dadd2d4a2e762b1d641b2e375def9cbf260e9.zip
Fix LICENSE (#301969). Maintenance
(Portage version: 2.2_rc62/cvs/Linux x86_64)
Diffstat (limited to 'dev-perl/Lingua-Stem-Snowball-Da')
-rw-r--r--dev-perl/Lingua-Stem-Snowball-Da/ChangeLog8
-rw-r--r--dev-perl/Lingua-Stem-Snowball-Da/Lingua-Stem-Snowball-Da-1.01-r1.ebuild27
2 files changed, 15 insertions, 20 deletions
diff --git a/dev-perl/Lingua-Stem-Snowball-Da/ChangeLog b/dev-perl/Lingua-Stem-Snowball-Da/ChangeLog
index 0af9ff0d9b83..695db4c790f0 100644
--- a/dev-perl/Lingua-Stem-Snowball-Da/ChangeLog
+++ b/dev-perl/Lingua-Stem-Snowball-Da/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-perl/Lingua-Stem-Snowball-Da
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/Lingua-Stem-Snowball-Da/ChangeLog,v 1.12 2007/04/18 16:40:29 ian Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/Lingua-Stem-Snowball-Da/ChangeLog,v 1.13 2010/02/04 14:30:02 tove Exp $
+
+ 04 Feb 2010; Torsten Veller <tove@gentoo.org>
+ Lingua-Stem-Snowball-Da-1.01-r1.ebuild:
+ Fix LICENSE (#301969). Maintenance
18 Apr 2007; Christian Hartmann <ian@gentoo.org>
-Lingua-Stem-Snowball-Da-1.01.ebuild,
diff --git a/dev-perl/Lingua-Stem-Snowball-Da/Lingua-Stem-Snowball-Da-1.01-r1.ebuild b/dev-perl/Lingua-Stem-Snowball-Da/Lingua-Stem-Snowball-Da-1.01-r1.ebuild
index 4e2fa8e0a216..a82bb7754940 100644
--- a/dev-perl/Lingua-Stem-Snowball-Da/Lingua-Stem-Snowball-Da-1.01-r1.ebuild
+++ b/dev-perl/Lingua-Stem-Snowball-Da/Lingua-Stem-Snowball-Da-1.01-r1.ebuild
@@ -1,35 +1,26 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/Lingua-Stem-Snowball-Da/Lingua-Stem-Snowball-Da-1.01-r1.ebuild,v 1.3 2007/07/10 23:33:30 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/Lingua-Stem-Snowball-Da/Lingua-Stem-Snowball-Da-1.01-r1.ebuild,v 1.4 2010/02/04 14:30:02 tove Exp $
+EAPI=2
+
+MODULE_AUTHOR=CINE
inherit perl-module multilib
DESCRIPTION="Porters stemming algorithm for Denmark"
-HOMEPAGE="http://search.cpan.org/~cine/"
-SRC_URI="mirror://cpan/authors/id/C/CI/CINE/${P}.tar.gz"
-LICENSE="Artistic"
+LICENSE="GPL-2"
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/da-stemmer.pl
+
+ if [[ -f ${D}/${VENDOR_LIB}/Lingua/Stem/Snowball/stemmer.pl ]] ; then
+ mv "${D}"/${VENDOR_LIB}/Lingua/Stem/Snowball/{,da-}stemmer.pl || die
fi
}