diff options
author | 2004-08-04 10:15:12 +0000 | |
---|---|---|
committer | 2004-08-04 10:15:12 +0000 | |
commit | 1bf41588c6af1fc20bf329c53f2b31fd87e2e7a4 (patch) | |
tree | 59d65f975042d2b920da054c7b384eee00c4d90d /app-office/ganttproject/ganttproject-1.9.11.ebuild | |
parent | HOMEPAGE changed. (diff) | |
download | historical-1bf41588c6af1fc20bf329c53f2b31fd87e2e7a4.tar.gz historical-1bf41588c6af1fc20bf329c53f2b31fd87e2e7a4.tar.bz2 historical-1bf41588c6af1fc20bf329c53f2b31fd87e2e7a4.zip |
Initial import. Fixes #56358.
Diffstat (limited to 'app-office/ganttproject/ganttproject-1.9.11.ebuild')
-rw-r--r-- | app-office/ganttproject/ganttproject-1.9.11.ebuild | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/app-office/ganttproject/ganttproject-1.9.11.ebuild b/app-office/ganttproject/ganttproject-1.9.11.ebuild new file mode 100644 index 000000000000..cefa5278dc00 --- /dev/null +++ b/app-office/ganttproject/ganttproject-1.9.11.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-office/ganttproject/ganttproject-1.9.11.ebuild,v 1.1 2004/08/04 10:15:12 karltk Exp $ + +inherit java-pkg + +IUSE="doc gnome" + +DESCRIPTION="Project Management tool to create Gantt Charts" +SRC_URI="mirror://sourceforge/${PN}/${P}-src.zip" +HOMEPAGE="http://ganttproject.sourceforge.net/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64 ~ppc" + +DEPEND=">=virtual/jdk-1.4 + >=dev-java/ant-1.5.4" + +src_unpack() { + unpack ${A} + epatch ${FILESDIR}/build.xml.patch + epatch ${FILESDIR}/ganttcalendar.patch +} + +src_compile() { + ant || die "Failed building classes" + if use doc; then + ant javadocs || die "Failed building javadocs" + fi + echo "#! /bin/sh" > ganttproject + echo "export CLASSPATH=$(java-config -p ganttproject)" >> ganttproject + echo "java net.sourceforge.ganttproject.GanttProject $@" >> ganttproject +} + +src_install () { + java-pkg_dojar build/*.jar + java-pkg_dojar lib/optional/*.jar + exeinto /usr/bin + doexe ganttproject + dodoc AUTHORS COPYING README + if use doc; then + dohtml -r build/docs/api + fi + if use gnome; then + mkdir -p ${D}/usr/share/gnome/apps/Office/ + mkdir -p ${D}/usr/share/pixmaps + cp ${FILESDIR}/ganttproject.desktop ${D}/usr/share/gnome/apps/Office/ + cp data/resources/icons/ganttproject.png ${D}/usr/share/pixmaps + fi +} |