summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2010-01-12 18:04:22 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2010-01-12 18:04:22 +0000
commit657031f27c35374a84f9840eefd023f5fc9b44b1 (patch)
tree5748c633de4c30b84a8cf5f85db11b9526a90809 /media-gfx/ktikz/ktikz-0.9.ebuild
parentmedia-gfx/ipe: Migrate to qt4-r2 eclass (diff)
downloadsunrise-657031f27c35374a84f9840eefd023f5fc9b44b1.tar.gz
sunrise-657031f27c35374a84f9840eefd023f5fc9b44b1.tar.bz2
sunrise-657031f27c35374a84f9840eefd023f5fc9b44b1.zip
media-gfx/ktikz: Migrate to qt4-r2 eclass
svn path=/sunrise/; revision=9860
Diffstat (limited to 'media-gfx/ktikz/ktikz-0.9.ebuild')
-rw-r--r--media-gfx/ktikz/ktikz-0.9.ebuild11
1 files changed, 5 insertions, 6 deletions
diff --git a/media-gfx/ktikz/ktikz-0.9.ebuild b/media-gfx/ktikz/ktikz-0.9.ebuild
index 6b686592e..81681d543 100644
--- a/media-gfx/ktikz/ktikz-0.9.ebuild
+++ b/media-gfx/ktikz/ktikz-0.9.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
-inherit eutils qt4
+inherit eutils qt4-r2
DESCRIPTION="A QT4-based editor for the TikZ language"
HOMEPAGE="http://www.hackenberger.at/blog/ktikz-editor-for-the-tikz-language"
@@ -21,6 +21,8 @@ DEPEND="x11-libs/qt-gui:4
dev-tex/pgf"
RDEPEND="${DEPEND}"
+DOCS="Changelog TODO"
+
src_prepare() {
# don't install desktop icon (and cause sandbox violation)
sed -i -e '72,79d' src/src.pro || die "sed failed"
@@ -34,10 +36,7 @@ src_configure() {
}
src_install() {
- emake INSTALL_ROOT="${D}" install || die "emake install failed"
-
- dodoc Changelog TODO || die "Cannot install documentation"
-
+ qt4-r2_src_install
newicon src/images/${PN}-128.png ${PN}.png || die "Cannot install icon"
make_desktop_entry ${PN} KtikZ ${PN} Graphics \
|| die "Cannot create desktop entry"