summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Conrad Tilstra <tadpol@gentoo.org>2001-04-24 22:07:29 +0000
committerMichael Conrad Tilstra <tadpol@gentoo.org>2001-04-24 22:07:29 +0000
commit2a9a5f55a78b059da66f6350e15f0a91893461ed (patch)
tree3331684cf8cc234748e21192f693f5df64f3c4ab /app-text/dictd-wn
parentdyn_compile return value fix (diff)
downloadhistorical-2a9a5f55a78b059da66f6350e15f0a91893461ed.tar.gz
historical-2a9a5f55a78b059da66f6350e15f0a91893461ed.tar.bz2
historical-2a9a5f55a78b059da66f6350e15f0a91893461ed.zip
- dictionaray databases for dictd
Diffstat (limited to 'app-text/dictd-wn')
-rw-r--r--app-text/dictd-wn/dictd-wn-1.5.ebuild32
-rw-r--r--app-text/dictd-wn/files/digest-dictd-wn-1.51
2 files changed, 33 insertions, 0 deletions
diff --git a/app-text/dictd-wn/dictd-wn-1.5.ebuild b/app-text/dictd-wn/dictd-wn-1.5.ebuild
new file mode 100644
index 000000000000..6d38a38b56bf
--- /dev/null
+++ b/app-text/dictd-wn/dictd-wn-1.5.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2001 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Michael Conrad Tilstra <michael@gentoo.org> <tadpol@tadpol.org>
+# $Header: /var/cvsroot/gentoo-x86/app-text/dictd-wn/dictd-wn-1.5.ebuild,v 1.1 2001/04/24 22:07:29 michael Exp $
+
+#P=
+A=dict-wn-1.5-pre.tar.gz
+S=${WORKDIR}
+DESCRIPTION=""
+SRC_URI="ftp://ftp.dict.org/pub/dict/pre/${A}"
+HOMEPAGE="http://www.dict.org"
+
+DEPEND=">=app-text/dictd-1.5.5"
+
+src_install () {
+ dodir /usr/lib/dict
+ insinto /usr/lib/dict
+ doins wn.dict.dz
+ doins wn.index
+}
+
+pkg_postinst() {
+if [ -f /etc/dict/dictd.conf ]; then
+cat >> /etc/dict/dictd.conf << __EOF__
+database wn { data "/usr/lib/dict/wn.dict.dz"
+ index "/usr/lib/dict/wn.index" }
+__EOF__
+fi
+}
+
+
+# vim: ai et sw=4 ts=4
diff --git a/app-text/dictd-wn/files/digest-dictd-wn-1.5 b/app-text/dictd-wn/files/digest-dictd-wn-1.5
new file mode 100644
index 000000000000..fa291ed6a797
--- /dev/null
+++ b/app-text/dictd-wn/files/digest-dictd-wn-1.5
@@ -0,0 +1 @@
+MD5 1f6ae6284018044dbd9e3c5fae914f32 dict-wn-1.5-pre.tar.gz