blob: 55f11c08361e68079bd7aeb3fd9057a4b4b5c2d9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/vym/vym-1.8.0.ebuild,v 1.1 2006/07/11 07:18:29 stuart Exp $
inherit eutils qt3
DESCRIPTION="View Your Mind -- a mindmap tool"
HOMEPAGE="http://www.insilmaril.de/vym/"
SRC_URI="mirror://sourceforge/vym/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
DEPEND="$(qt_min_version 3.3.3)
dev-lang/perl"
RDEPEND="${DEPEND}
|| ( ( x11-libs/libX11
x11-libs/libXext )
virtual/x11 )"
src_unpack() {
unpack ${A}
cd ${S}
# create the makefile
${QTDIR}/bin/qmake -o Makefile vym.pro
# strip out the binary stripping support
epatch ${FILESDIR}/50_Makefile-1.8.0.patch
}
src_compile() {
emake || die "emake failed"
# we don't build the pdf, because texi2pdf chokes on the .tex source
# atm
}
src_install() {
make INSTALL_ROOT=${D} install || die
return
dobin vym
dobin scripts/exportvym
dobin scripts/vym2html.sh
dobin scripts/vym2txt.sh
dodoc demos/liveform.vym
dodoc demos/time-management.vym
dodoc demos/todo.vym
insinto /usr/share/${PN}/styles
for x in `echo styles/*` ; do
doins $x
done
}
|