You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
650 B
28 lines
650 B
# Copyright 1999-2021 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
DIST_AUTHOR=CINE
|
|
DIST_VERSION=1.01
|
|
inherit perl-module
|
|
|
|
DESCRIPTION="Porters stemming algorithm for Denmark"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 ~ia64 ~ppc sparc x86"
|
|
|
|
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."
|
|
}
|