diff options
author | Jan Brinkmann <luckyduck@gentoo.org> | 2005-01-12 21:55:47 +0000 |
---|---|---|
committer | Jan Brinkmann <luckyduck@gentoo.org> | 2005-01-12 21:55:47 +0000 |
commit | 9d5de5b454d3c0f13ae03215a87431450607ca9e (patch) | |
tree | b01d6a102330084d152c96d3fe998b7c5c38d295 /app-misc/freemind/freemind-0.7.1-r1.ebuild | |
parent | Added mono (diff) | |
download | historical-9d5de5b454d3c0f13ae03215a87431450607ca9e.tar.gz historical-9d5de5b454d3c0f13ae03215a87431450607ca9e.tar.bz2 historical-9d5de5b454d3c0f13ae03215a87431450607ca9e.zip |
freemind now generates an menu entry. fixes bug #76900.
Diffstat (limited to 'app-misc/freemind/freemind-0.7.1-r1.ebuild')
-rw-r--r-- | app-misc/freemind/freemind-0.7.1-r1.ebuild | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/app-misc/freemind/freemind-0.7.1-r1.ebuild b/app-misc/freemind/freemind-0.7.1-r1.ebuild new file mode 100644 index 000000000000..452d9f3a3109 --- /dev/null +++ b/app-misc/freemind/freemind-0.7.1-r1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/freemind/freemind-0.7.1-r1.ebuild,v 1.1 2005/01/12 21:55:46 luckyduck Exp $ + +inherit java-pkg eutils + +DESCRIPTION="Mind-mapping software written in Java" +HOMEPAGE="http://freemind.sf.net" +SRC_URI="mirror://sourceforge/freemind/${PN}-src-${PV//./_}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86 sparc ppc amd64" +IUSE="doc jikes" +DEPEND="dev-java/ant + >=virtual/jdk-1.4* + jikes? ( dev-java/jikes )" +RDEPEND=">=virtual/jre-1.4" + +S=${WORKDIR}/${PN} + +src_compile() { + local antflags="jar browser" + use jikes && antflags="${antflags} -Dbuild.compiler=jikes" + use doc && antflags="${antflags} doc" + ant ${antflags} || die "Compiling failed!" +} + +src_install() { + cd ${WORKDIR}/bin/dist + + insinto /opt/${PN}/lib + doins lib/*.jar browser/*.jar + + echo "#!/bin/sh" > ${PN}.sh + echo "cd /opt/${PN}" >> ${PN}.sh + echo "'${JAVA_HOME}'/bin/java -jar lib/${PN}.jar" >> ${PN}.sh + + cp -R ${S}/doc ${D}/opt/${PN} + use doc && java-pkg_dohtml -r doc/ + + into /opt + newbin ${PN}.sh ${PN} + + mv ${S}/images/FreeMindWindowIcon.png ${S}/images/freemind.png + doicon ${S}/images/freemind.png + + make_desktop_entry freemind Freemind freemind.png Utility +} + |