summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOtavio Rodolfo Piske <angusyoung@gentoo.org>2005-05-27 18:59:37 +0000
committerOtavio Rodolfo Piske <angusyoung@gentoo.org>2005-05-27 18:59:37 +0000
commite6f5261d8a4ba361d77245d99a6615a8329629ed (patch)
tree963ef47f18014118e3908ed83e4cf0c51c9d0c02 /app-dicts/babytrans-en2en/babytrans-en2en-0.1.ebuild
parentEnglish to French dictionary ebuild for babytrans. Initial release. (diff)
downloadgentoo-2-e6f5261d8a4ba361d77245d99a6615a8329629ed.tar.gz
gentoo-2-e6f5261d8a4ba361d77245d99a6615a8329629ed.tar.bz2
gentoo-2-e6f5261d8a4ba361d77245d99a6615a8329629ed.zip
English to English dictionary for babytrans. Initial release.
(Portage version: 2.0.51.19)
Diffstat (limited to 'app-dicts/babytrans-en2en/babytrans-en2en-0.1.ebuild')
-rw-r--r--app-dicts/babytrans-en2en/babytrans-en2en-0.1.ebuild40
1 files changed, 40 insertions, 0 deletions
diff --git a/app-dicts/babytrans-en2en/babytrans-en2en-0.1.ebuild b/app-dicts/babytrans-en2en/babytrans-en2en-0.1.ebuild
new file mode 100644
index 000000000000..7c70242b4c28
--- /dev/null
+++ b/app-dicts/babytrans-en2en/babytrans-en2en-0.1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-dicts/babytrans-en2en/babytrans-en2en-0.1.ebuild,v 1.1 2005/05/27 18:59:37 angusyoung Exp $
+
+MY_P="EngtoEng.dic.gz"
+MY_F="Engtoeng.dic"
+DESCRIPTION="English to English dictionary for Babytrans"
+HOMEPAGE="ftp://ftp.ac-grenoble.fr/ge/languages/babylon_dict/"
+SRC_URI="${MY_P}"
+
+LICENSE="Babylon"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+RDEPEND="app-dicts/babytrans"
+RESTRICT="fetch"
+
+pkg_nofetch() {
+ einfo "Due to license restrictions that may apply to the file in"
+ einfo "this package, it has fetch restrictions turned on. This"
+ einfo "means that you must download ${MY_P} file manually from"
+ einfo "${HOMEPAGE} or copy it"
+ einfo "from a windows installation of babylon and put it in "
+ einfo "${DISTDIR}. Finally note that having a license of"
+ einfo "babylon is desired in order to use this package"
+}
+
+src_unpack() {
+ local MY_A
+ unpack ${A} || die "Unable to unpack file ${A}"
+ MY_A="EngtoEng.dic"
+ mv ${MY_A} ${MY_F} || die "Unable to rename file ${MY_A}"
+}
+
+src_install() {
+ cd ${WORKDIR}
+ insinto /usr/share/babytrans
+ doins ${MY_F} || die "Unable to install file ${MY_F}"
+}