summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Imhof <tantive@gentoo.org>2005-08-11 20:15:51 +0000
committerMichael Imhof <tantive@gentoo.org>2005-08-11 20:15:51 +0000
commita5237715ac9c47d8d18be761b3baf804e2950cab (patch)
treec725216ec5ee8bb89ac37baee4b8e64632c6145e /app-office/taskjuggler
parentbumping to new debian release. (diff)
downloadgentoo-2-a5237715ac9c47d8d18be761b3baf804e2950cab.tar.gz
gentoo-2-a5237715ac9c47d8d18be761b3baf804e2950cab.tar.bz2
gentoo-2-a5237715ac9c47d8d18be761b3baf804e2950cab.zip
Initial import. Closes #35725.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'app-office/taskjuggler')
-rw-r--r--app-office/taskjuggler/ChangeLog9
-rw-r--r--app-office/taskjuggler/Manifest3
-rw-r--r--app-office/taskjuggler/files/digest-taskjuggler-2.1.11
-rw-r--r--app-office/taskjuggler/taskjuggler-2.1.1.ebuild73
4 files changed, 86 insertions, 0 deletions
diff --git a/app-office/taskjuggler/ChangeLog b/app-office/taskjuggler/ChangeLog
new file mode 100644
index 000000000000..8226b580ef08
--- /dev/null
+++ b/app-office/taskjuggler/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for app-office/taskjuggler
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-office/taskjuggler/ChangeLog,v 1.1 2005/08/11 20:15:51 tantive Exp $
+
+*taskjuggler-2.1.1 (11 Aug 2005)
+
+ 11 Aug 2005; Michael Imhof <tantive@gentoo.org> +taskjuggler-2.1.1.ebuild:
+ Initial import. Closes #35725.
+
diff --git a/app-office/taskjuggler/Manifest b/app-office/taskjuggler/Manifest
new file mode 100644
index 000000000000..9324825c6405
--- /dev/null
+++ b/app-office/taskjuggler/Manifest
@@ -0,0 +1,3 @@
+MD5 771147b26aef4e7a049b705c17b57684 taskjuggler-2.1.1.ebuild 1995
+MD5 f9cefcba3c47bdcc240f50c02e9b3c95 ChangeLog 268
+MD5 581699911e03fcfe610df0a2b1efeeb0 files/digest-taskjuggler-2.1.1 71
diff --git a/app-office/taskjuggler/files/digest-taskjuggler-2.1.1 b/app-office/taskjuggler/files/digest-taskjuggler-2.1.1
new file mode 100644
index 000000000000..ae382b3525f9
--- /dev/null
+++ b/app-office/taskjuggler/files/digest-taskjuggler-2.1.1
@@ -0,0 +1 @@
+MD5 07728f1fa2c1b1d45f23ae7800e819c2 taskjuggler-2.1.1.tar.bz2 1522209
diff --git a/app-office/taskjuggler/taskjuggler-2.1.1.ebuild b/app-office/taskjuggler/taskjuggler-2.1.1.ebuild
new file mode 100644
index 000000000000..e31bfc13c5fc
--- /dev/null
+++ b/app-office/taskjuggler/taskjuggler-2.1.1.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-office/taskjuggler/taskjuggler-2.1.1.ebuild,v 1.1 2005/08/11 20:15:51 tantive Exp $
+
+inherit eutils qt3
+
+DESCRIPTION="project management tool for Linux and UNIX system-based operating systems"
+SRC_URI="http://www.taskjuggler.org/download/${P}.tar.bz2"
+HOMEPAGE="http://taskjuggler.org"
+
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~amd64"
+
+IUSE="kde"
+SLOT="0"
+
+# Otherwise compilation will break for amd64 or when using -Os
+DEPEND=">=x11-libs/qt-3.3
+ kde? ( >=kde-base/kdelibs-3 )
+ app-text/openjade
+ dev-libs/libxslt
+ >=dev-perl/Class-MethodMaker-2.02
+ dev-perl/Date-Calc
+ dev-perl/PostScript-Simple
+ dev-perl/XML-Parser
+ net-print/poster"
+
+#src_unpack() {
+# unpack ${A}
+# epatch ${FILESDIR}/${P}-tjx2gantt.diff
+#}
+
+src_compile() {
+ # 'db2html' does not know '--xencoding utf8' and is called 'docbook2html' in gentoo
+ # also 'db2ps --pdf' should be 'docbook2pdf' and 'db2ps' should be 'docbook2ps'
+ # see http://lists.suse.com/archive/taskjuggler-devel/2005-Mar/0011.html
+ sed -i -e 's/--xencoding utf-8//g' docs/en/Makefile.*
+ sed -i -e 's/db2ps --pdf/docbook2pdf/g' docs/en/Makefile.*
+ sed -i -e 's/db2ps/docbook2ps/g' docs/en/Makefile.*
+
+ # Need to fake out QT or we'll get sandbox probles
+ # from http://www.gentoo.org/cgi-bin/viewcvs.cgi/dev-db/tora/tora-1.3.13.ebuild?r1=1.2&r2=1.3
+ REALHOME="$HOME"
+ mkdir -p $T/fakehome/.kde
+ mkdir -p $T/fakehome/.qt
+ export HOME="$T/fakehome"
+ addwrite "${QTDIR}/etc/settings"
+
+ local myconf
+ myconf="--with-kde-support"
+ use kde \
+ && myconf="${myconf}=yes" \
+ || myconf="${myconf}=no"
+
+ econf \
+ ${myconf} \
+ || die "configure failed"
+
+ # don't build docs, fails in docbook2html and docbook2pdf...
+ sed -i -e 's/ docs / /g' Makefile
+
+ emake || die "emake failed"
+}
+
+src_install() {
+# dodir /usr/share/apps/katepart/syntax
+# doins Contrib/kate/taskjuggler.xml || die
+ make install DESTDIR=${D} || die "install failed"
+ use kde && \
+ cd Contrib/kate && \
+ make install DESTDIR=${D} || die "install kate-addons failed"
+}
+