summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWulf Krueger <philantrop@gentoo.org>2008-03-29 02:08:46 +0000
committerWulf Krueger <philantrop@gentoo.org>2008-03-29 02:08:46 +0000
commit3fe642e76ab1da148d71c54467ae3322fd154323 (patch)
tree7ab1bc41fa1c5d946f4b26d20cd5e39ce1dab825 /eclass/freedict.eclass
parentAdded a patch to make aspell-dict.eclass ready for eclass-manpages. Thanks, m... (diff)
downloadhistorical-3fe642e76ab1da148d71c54467ae3322fd154323.tar.gz
historical-3fe642e76ab1da148d71c54467ae3322fd154323.tar.bz2
historical-3fe642e76ab1da148d71c54467ae3322fd154323.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.eclass28
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