summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Hill <dirtyepic@gentoo.org>2009-02-21 22:37:44 +0000
committerRyan Hill <dirtyepic@gentoo.org>2009-02-21 22:37:44 +0000
commit67cbe27133736d7da35ea951f923cf0ece709813 (patch)
treecbc86f72e1c13c63c1a50938a2b9e4a8c8710b66 /app-editors/editra/editra-0.4.65.ebuild
parentVersion bump. (diff)
downloadgentoo-2-67cbe27133736d7da35ea951f923cf0ece709813.tar.gz
gentoo-2-67cbe27133736d7da35ea951f923cf0ece709813.tar.bz2
gentoo-2-67cbe27133736d7da35ea951f923cf0ece709813.zip
Initial import, split off from dev-python/wxpython.
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'app-editors/editra/editra-0.4.65.ebuild')
-rw-r--r--app-editors/editra/editra-0.4.65.ebuild42
1 files changed, 42 insertions, 0 deletions
diff --git a/app-editors/editra/editra-0.4.65.ebuild b/app-editors/editra/editra-0.4.65.ebuild
new file mode 100644
index 000000000000..cefc52a82f3f
--- /dev/null
+++ b/app-editors/editra/editra-0.4.65.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-editors/editra/editra-0.4.65.ebuild,v 1.1 2009/02/21 22:37:44 dirtyepic Exp $
+
+EAPI=2
+
+inherit distutils eutils fdo-mime
+
+MY_PN=${PN/e/E}
+
+DESCRIPTION="Multi-platform text editor supporting over 50 programming languages."
+HOMEPAGE="http://editra.org"
+SRC_URI="http://editra.org/uploads/src/${PN/e/E}-${PV}.tar.gz"
+
+LICENSE="wxWinLL-3.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=">=dev-lang/python-2.4
+ >=dev-python/wxpython-2.8.9.2:2.8
+ dev-python/setuptools"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}"/${PN/e/E}-${PV}
+
+src_install() {
+ distutils_src_install
+ insinto /usr/share/pixmaps
+ doins "${S}"/pixmaps/editra.png
+ make_desktop_entry Editra Editra /usr/share/pixmaps/editra.png TextEditor
+}
+
+pkg_postinst() {
+ distutils_pkg_postinst
+ fdo-mime_desktop_database_update
+}
+
+pkg_postrm() {
+ distutils_pkg_postrm
+ fdo-mime_desktop_database_update
+}