diff options
Diffstat (limited to 'dev-perl/Lingua-Stem-Snowball-Da/Lingua-Stem-Snowball-Da-1.10.0-r1.ebuild')
-rw-r--r-- | dev-perl/Lingua-Stem-Snowball-Da/Lingua-Stem-Snowball-Da-1.10.0-r1.ebuild | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/dev-perl/Lingua-Stem-Snowball-Da/Lingua-Stem-Snowball-Da-1.10.0-r1.ebuild b/dev-perl/Lingua-Stem-Snowball-Da/Lingua-Stem-Snowball-Da-1.10.0-r1.ebuild new file mode 100644 index 000000000000..6ba83c235ca8 --- /dev/null +++ b/dev-perl/Lingua-Stem-Snowball-Da/Lingua-Stem-Snowball-Da-1.10.0-r1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +MODULE_AUTHOR=CINE +MODULE_VERSION=1.01 +inherit perl-module multilib + +DESCRIPTION="Porters stemming algorithm for Denmark" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ia64 ~ppc sparc x86" +IUSE="" + +SRC_TEST="do" + +src_install() { + perl-module_src_install + + if [[ -f ${D}/${VENDOR_LIB}/Lingua/Stem/Snowball/stemmer.pl ]] ; then + mv "${D}"/${VENDOR_LIB}/Lingua/Stem/Snowball/{,da-}stemmer.pl || die + fi +} + +pkg_postinst() { + elog "The stemmer.pl that ships with this distribution has been renamed to" + elog "da-stemmer.pl to avoid collisions with other Lingua::Stem packages." +} |