summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Cakebread <pythonhead@gentoo.org>2004-08-13 21:15:02 +0000
committerRob Cakebread <pythonhead@gentoo.org>2004-08-13 21:15:02 +0000
commit54cc6d26c01243f216a52c0374a929907925ee9b (patch)
tree176e26f81c41c94d02b4af0b1362c371086386c6 /app-dicts/opendict
parentupdate SRC_URI to point to mirror://gentoo instead of spyderous's space (diff)
downloadhistorical-54cc6d26c01243f216a52c0374a929907925ee9b.tar.gz
historical-54cc6d26c01243f216a52c0374a929907925ee9b.tar.bz2
historical-54cc6d26c01243f216a52c0374a929907925ee9b.zip
Initial commit. Thanks <roma1390@uosis.mif.vu.lt> for the ebuild. bug #32120
Diffstat (limited to 'app-dicts/opendict')
-rw-r--r--app-dicts/opendict/ChangeLog7
-rw-r--r--app-dicts/opendict/Manifest4
-rw-r--r--app-dicts/opendict/files/digest-opendict-0.5.41
-rw-r--r--app-dicts/opendict/metadata.xml5
-rw-r--r--app-dicts/opendict/opendict-0.5.4.ebuild42
5 files changed, 59 insertions, 0 deletions
diff --git a/app-dicts/opendict/ChangeLog b/app-dicts/opendict/ChangeLog
new file mode 100644
index 000000000000..e4c4d2dcc1da
--- /dev/null
+++ b/app-dicts/opendict/ChangeLog
@@ -0,0 +1,7 @@
+# ChangeLog for app-dicts/opendict
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-dicts/opendict/ChangeLog,v 1.1 2004/08/13 21:15:02 pythonhead Exp $
+
+ 13 Aug 2004; Rob Cakebread <pythonhead@gentoo.org> :
+ Initial commit. Thanks <roma1390@uosis.mif.vu.lt> for the ebuild. bug #32120
+
diff --git a/app-dicts/opendict/Manifest b/app-dicts/opendict/Manifest
new file mode 100644
index 000000000000..5593d5cbcf57
--- /dev/null
+++ b/app-dicts/opendict/Manifest
@@ -0,0 +1,4 @@
+MD5 0bcbf4e3be139dff02768ad041e293ff opendict-0.5.4.ebuild 1262
+MD5 4fca175f747a090fd2b7b8ce22fbc06d metadata.xml 162
+MD5 fe03f5d6c07e611444b0cf9d30297b5d ChangeLog 348
+MD5 ee4c1ac428684b6ea366b2075a5b705e files/digest-opendict-0.5.4 66
diff --git a/app-dicts/opendict/files/digest-opendict-0.5.4 b/app-dicts/opendict/files/digest-opendict-0.5.4
new file mode 100644
index 000000000000..14dd2db76c30
--- /dev/null
+++ b/app-dicts/opendict/files/digest-opendict-0.5.4
@@ -0,0 +1 @@
+MD5 4aeae2325ff1a0fe37e5550e29ca4ec6 OpenDict-0.5.4.tar.gz 136927
diff --git a/app-dicts/opendict/metadata.xml b/app-dicts/opendict/metadata.xml
new file mode 100644
index 000000000000..f1dd0cd20500
--- /dev/null
+++ b/app-dicts/opendict/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>wxwindows</herd>
+</pkgmetadata>
diff --git a/app-dicts/opendict/opendict-0.5.4.ebuild b/app-dicts/opendict/opendict-0.5.4.ebuild
new file mode 100644
index 000000000000..362976cdc04f
--- /dev/null
+++ b/app-dicts/opendict/opendict-0.5.4.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-dicts/opendict/opendict-0.5.4.ebuild,v 1.1 2004/08/13 21:15:02 pythonhead Exp $
+
+inherit python
+
+DESCRIPTION="OpenDict is a free cross-platform dictionary program."
+HOMEPAGE="http://opendict.sourceforge.net/"
+SRC_URI="mirror://sourceforge/opendict/OpenDict-${PV}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+DEPEND=">=dev-python/wxpython-2.4.2.4
+ virtual/python"
+S=${WORKDIR}/OpenDict-${PV}
+
+src_unpack() {
+ python_version
+ unpack ${A}
+ cd ${S}
+ DHOME="/usr/lib/python${PYVER}/site-packages/opendict"
+ sed -i "s:/usr/share/opendict:${DHOME}:" lib/info.py || die "sed failed"
+ rm Makefile
+}
+
+src_install() {
+ python_version
+ DHOME="${D}/usr/lib/python${PYVER}/site-packages/opendict"
+ dodir /usr/share/locale/lt/LC_MESSAGES
+ dodir /usr/share/applications
+ mkdir -p ${DHOME}
+ cp -r lib/* ${DHOME}
+ cp -r pixmaps/ ${DHOME}
+ cp po/lt/opendict.mo ${D}/usr/share/locale/lt/LC_MESSAGES/
+ cp opendict.py ${DHOME}
+ cp copying.txt ${DHOME}
+ dosym ${DHOME}/opendict.py /usr/bin/opendict
+ cp misc/opendict.desktop ${D}/usr/share/applications/
+ dodoc BUGS ChangeLog README.txt TODO.txt doc/OpenDict_plugin_dev.txt
+}
+