summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOtavio Rodolfo Piske <angusyoung@gentoo.org>2004-09-22 20:08:41 +0000
committerOtavio Rodolfo Piske <angusyoung@gentoo.org>2004-09-22 20:08:41 +0000
commitf1a95ba7c544e5c95d76d53f878944338ed3d7a0 (patch)
tree7ce5faedb6e135e8f816d207dd5747294b8c61cf /app-dicts
parentAdded to ~ppc (diff)
downloadgentoo-2-f1a95ba7c544e5c95d76d53f878944338ed3d7a0.tar.gz
gentoo-2-f1a95ba7c544e5c95d76d53f878944338ed3d7a0.tar.bz2
gentoo-2-f1a95ba7c544e5c95d76d53f878944338ed3d7a0.zip
Added fetch restrictions to ebuild
Diffstat (limited to 'app-dicts')
-rw-r--r--app-dicts/babytrans-en/ChangeLog9
-rw-r--r--app-dicts/babytrans-en/Manifest4
-rw-r--r--app-dicts/babytrans-en/babytrans-en-0.1.ebuild30
-rw-r--r--app-dicts/babytrans-en/babytrans-en-0.2.ebuild31
-rw-r--r--app-dicts/babytrans-en/files/digest-babytrans-en-0.2 (renamed from app-dicts/babytrans-en/files/digest-babytrans-en-0.1)0
5 files changed, 42 insertions, 32 deletions
diff --git a/app-dicts/babytrans-en/ChangeLog b/app-dicts/babytrans-en/ChangeLog
index 8c6d8bd917e4..36ec0490cba3 100644
--- a/app-dicts/babytrans-en/ChangeLog
+++ b/app-dicts/babytrans-en/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-dicts/babytrans-en
# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-dicts/babytrans-en/ChangeLog,v 1.2 2004/09/16 19:51:11 angusyoung Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-dicts/babytrans-en/ChangeLog,v 1.3 2004/09/22 20:08:41 angusyoung Exp $
+
+*babytrans-en-0.2 (22 Sep 2004)
+
+ 22 Sep 2004; Otavio Piske <angusyoung@gentoo.org> -babytrans-en-0.1.ebuild,
+ +babytrans-en-0.2.ebuild:
+ Added fetch restrictions to this package until we define the correct license
+ restrictions that may or may not apply to this package
16 Sep 2004; Otavio Piske <angusyoung@gentoo.org> babytrans-en-0.1.ebuild:
Ebuild marked as ~x86 as it's still testing
diff --git a/app-dicts/babytrans-en/Manifest b/app-dicts/babytrans-en/Manifest
index 45c65f2007eb..f33187fab226 100644
--- a/app-dicts/babytrans-en/Manifest
+++ b/app-dicts/babytrans-en/Manifest
@@ -1,4 +1,6 @@
-MD5 9f343648bc096126d9dc338fc59ba830 babytrans-en-0.1.ebuild 796
+MD5 173227934fe0b6d58bc6893f1a4c2eb9 babytrans-en-0.1.ebuild 562
MD5 7a673496db8af273595688519a3908c6 ChangeLog 639
MD5 d378a890367f8f48c801b0ead6464e2f metadata.xml 264
+MD5 3edae8c718725bac2defc23610d38d7a babytrans-en-0.2.ebuild 1099
MD5 a48af789d4428bd21e40f8589cacb2a7 files/digest-babytrans-en-0.1 59
+MD5 a48af789d4428bd21e40f8589cacb2a7 files/digest-babytrans-en-0.2 59
diff --git a/app-dicts/babytrans-en/babytrans-en-0.1.ebuild b/app-dicts/babytrans-en/babytrans-en-0.1.ebuild
deleted file mode 100644
index 0f7512bffe6e..000000000000
--- a/app-dicts/babytrans-en/babytrans-en-0.1.ebuild
+++ /dev/null
@@ -1,30 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-dicts/babytrans-en/babytrans-en-0.1.ebuild,v 1.2 2004/09/16 19:51:11 angusyoung Exp $
-
-MY_P="english.dic.gz"
-MY_F="english.dic"
-DESCRIPTION="English dictionary for Babytrans"
-HOMEPAGE="ftp://ftp.ac-grenoble.fr/ge/languages/babylon_dict/"
-SRC_URI="ftp://ftp.ac-grenoble.fr/ge/languages/babylon_dict/${MY_P}"
-
-#I was not able to discover what is the license of this file.
-LICENSE="as-is"
-SLOT="0"
-KEYWORDS="~x86"
-IUSE=""
-
-DEPEND=""
-RDEPEND=""
-S=${WORKDIR}/${P}
-
-src_unpack() {
- local MY_A
- unpack ${A} || die "Unable to unpack file ${A}"
-}
-
-src_install() {
- cd ${WORKDIR}
- insinto /usr/share/babytrans
- doins ${MY_F} || die "Unable to install file"
-}
diff --git a/app-dicts/babytrans-en/babytrans-en-0.2.ebuild b/app-dicts/babytrans-en/babytrans-en-0.2.ebuild
new file mode 100644
index 000000000000..a9e2386bb64c
--- /dev/null
+++ b/app-dicts/babytrans-en/babytrans-en-0.2.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-dicts/babytrans-en/babytrans-en-0.2.ebuild,v 1.1 2004/09/22 20:08:41 angusyoung Exp $
+
+MY_P="english.dic.gz"
+MY_F="english.dic"
+DESCRIPTION="English dictionary for Babytrans"
+HOMEPAGE="ftp://ftp.ac-grenoble.fr/ge/languages/babylon_dict/"
+SRC_URI="${MY_P}"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+RESTRICT="fetch"
+
+pkg_nofetch() {
+ einfo "Due to license restrictions that may or may not apply to"
+ einfo "this package, it now has fetch restrictions turned on. This"
+ einfo "means that you must download ${MY_P} file manually from"
+ einfo "${HOMEPAGE} or copy then"
+ einfo "from a windows installation of babylon and put them in "
+ einfo "${DISTDIR}. Finally note that having a license of"
+ einfo "babylon is desired in order to use this package"
+}
+
+src_install() {
+ cd ${WORKDIR}
+ insinto /usr/share/babytrans
+ doins ${MY_F} || die "Unable to install file"
+}
diff --git a/app-dicts/babytrans-en/files/digest-babytrans-en-0.1 b/app-dicts/babytrans-en/files/digest-babytrans-en-0.2
index c8d235eb7604..c8d235eb7604 100644
--- a/app-dicts/babytrans-en/files/digest-babytrans-en-0.1
+++ b/app-dicts/babytrans-en/files/digest-babytrans-en-0.2