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 | 8574d08f3574d018e73fbe4b17a64e2f3d334f1b (patch) | |
tree | 70206a6203be68a79f74867bfd54189c284fc3bc /app-misc/freemind/freemind-0.7.1-r1.ebuild | |
parent | Added mono (diff) | |
download | gentoo-2-8574d08f3574d018e73fbe4b17a64e2f3d334f1b.tar.gz gentoo-2-8574d08f3574d018e73fbe4b17a64e2f3d334f1b.tar.bz2 gentoo-2-8574d08f3574d018e73fbe4b17a64e2f3d334f1b.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 +} + |