diff options
author | 2008-03-29 02:08:46 +0000 | |
---|---|---|
committer | 2008-03-29 02:08:46 +0000 | |
commit | e8506eed4fac66809828a21687b1c15d3bdfd076 (patch) | |
tree | 67ef90a3d4d711caea1fed4c33fbaa58c68e2aac /eclass/freedict.eclass | |
parent | Added a patch to make aspell-dict.eclass ready for eclass-manpages. Thanks, m... (diff) | |
download | gentoo-2-e8506eed4fac66809828a21687b1c15d3bdfd076.tar.gz gentoo-2-e8506eed4fac66809828a21687b1c15d3bdfd076.tar.bz2 gentoo-2-e8506eed4fac66809828a21687b1c15d3bdfd076.zip |
Added a patch to make freedict.eclass ready for eclass-manpages. Thanks, mren, for providing it on bug 211225.
Diffstat (limited to 'eclass/freedict.eclass')
-rw-r--r-- | eclass/freedict.eclass | 28 |
1 files changed, 23 insertions, 5 deletions
diff --git a/eclass/freedict.eclass b/eclass/freedict.eclass index a68d7e964303..5d1e1b2ce135 100644 --- a/eclass/freedict.eclass +++ b/eclass/freedict.eclass @@ -1,20 +1,35 @@ -# Copyright 1999-2004 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/freedict.eclass,v 1.17 2007/01/25 21:56:21 eroyf Exp $ - -# Author: Seemant Kulleen <seemant@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/eclass/freedict.eclass,v 1.18 2008/03/29 02:08:46 philantrop Exp $ + +# @ECLASS: freedict.eclass +# @MAINTAINER: +# app-dicts@gentoo.org +# +# Original author: Seemant Kulleen +# +# @BLURB: Ease the installation of freedict translation dictionaries +# @DESCRIPTION: # This eclass exists to ease the installation of freedict translation # dictionaries. The only variables which need to be defined in the actual # ebuilds are FORLANG and TOLANG for the source and target languages, # respectively. +# @ECLASS-VARIABLE: FORLANG +# @DESCRIPTION: +# Please see above for a description. + +# @ECLASS-VARIABLE: TOLANG +# @DESCRIPTION: +# Please see above for a description. + inherit eutils IUSE="" MY_P=${PN/freedict-/} -S=${WORKDIR} +S="${WORKDIR}" DESCRIPTION="Freedict for language translation from ${FORLANG} to ${TOLANG}" HOMEPAGE="http://www.freedict.de" SRC_URI="http://freedict.sourceforge.net/download/linux/${MY_P}.tar.gz" @@ -24,6 +39,9 @@ LICENSE="GPL-2" DEPEND="app-text/dictd" +# @FUNCTION: freedict_src_install +# @DESCRIPTION: +# The freedict src_install function, which is exported freedict_src_install() { insinto /usr/$(get_libdir)/dict doins ${MY_P}.dict.dz |