summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorsten Veller <tove@gentoo.org>2010-02-05 22:22:25 +0000
committerTorsten Veller <tove@gentoo.org>2010-02-05 22:22:25 +0000
commit37459769d139a088fdebb78ebef3b0a404d770f6 (patch)
treecf528f2b6c0c7d288e457902e412f16ce2a6ff24 /dev-perl/Snowball-Swedish/Snowball-Swedish-1.2.ebuild
parentRemove IPL-1 license, duplicate of IBM, bug 301180. (diff)
downloadgentoo-2-37459769d139a088fdebb78ebef3b0a404d770f6.tar.gz
gentoo-2-37459769d139a088fdebb78ebef3b0a404d770f6.tar.bz2
gentoo-2-37459769d139a088fdebb78ebef3b0a404d770f6.zip
Fix LICENSE (#301969). Maintenance
(Portage version: 2.2_rc62/cvs/Linux x86_64)
Diffstat (limited to 'dev-perl/Snowball-Swedish/Snowball-Swedish-1.2.ebuild')
-rw-r--r--dev-perl/Snowball-Swedish/Snowball-Swedish-1.2.ebuild38
1 files changed, 8 insertions, 30 deletions
diff --git a/dev-perl/Snowball-Swedish/Snowball-Swedish-1.2.ebuild b/dev-perl/Snowball-Swedish/Snowball-Swedish-1.2.ebuild
index 05d535802b43..01cc920378c5 100644
--- a/dev-perl/Snowball-Swedish/Snowball-Swedish-1.2.ebuild
+++ b/dev-perl/Snowball-Swedish/Snowball-Swedish-1.2.ebuild
@@ -1,42 +1,20 @@
-# Copyright 1999-2008 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/Snowball-Swedish/Snowball-Swedish-1.2.ebuild,v 1.8 2008/11/18 15:29:47 tove Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/Snowball-Swedish/Snowball-Swedish-1.2.ebuild,v 1.9 2010/02/05 22:22:25 tove Exp $
-inherit perl-module multilib
+EAPI=2
+
+MODULE_AUTHOR=ASKSH
+inherit perl-module
DESCRIPTION="Porters stemming algorithm for Swedish"
-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"
-
-RDEPEND="dev-lang/perl"
+RDEPEND=""
DEPEND="${RDEPEND}
virtual/perl-Module-Build"
-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/se-stemmer.pl
- fi
-}
-
-pkg_postinst() {
- perl-module_pkg_postinst
- elog "The stemmer.pl that ships with this distribution has been renamed to"
- elog "se-stemmer.pl to avoid collisions with other Lingua::Stem packages."
-}
+SRC_TEST="do"