diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2005-03-04 17:44:43 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2005-03-04 17:44:43 +0000 |
commit | 9a75fcff3509fe23597630abf2c19433ce817892 (patch) | |
tree | 42aa06a4ab425a274cc0992a694fb4f37120ee3f /app-misc | |
download | betelgeuse-9a75fcff3509fe23597630abf2c19433ce817892.tar.gz betelgeuse-9a75fcff3509fe23597630abf2c19433ce817892.tar.bz2 betelgeuse-9a75fcff3509fe23597630abf2c19433ce817892.zip |
initial import
svn path=/; revision=1
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/freemind/Manifest | 2 | ||||
-rw-r--r-- | app-misc/freemind/files/digest-freemind-0.7.1-r2 | 1 | ||||
-rw-r--r-- | app-misc/freemind/freemind-0.7.1-r2.ebuild | 49 | ||||
-rw-r--r-- | app-misc/freemind/freemind.patch | 18 |
4 files changed, 70 insertions, 0 deletions
diff --git a/app-misc/freemind/Manifest b/app-misc/freemind/Manifest new file mode 100644 index 0000000..ad091fa --- /dev/null +++ b/app-misc/freemind/Manifest @@ -0,0 +1,2 @@ +MD5 d28fde66612ee042692b98176d8a276d freemind-0.7.1-r2.ebuild 1136 +MD5 615ccb469eb93e22c5e84358d55e6c0f files/digest-freemind-0.7.1-r2 70 diff --git a/app-misc/freemind/files/digest-freemind-0.7.1-r2 b/app-misc/freemind/files/digest-freemind-0.7.1-r2 new file mode 100644 index 0000000..5f4e856 --- /dev/null +++ b/app-misc/freemind/files/digest-freemind-0.7.1-r2 @@ -0,0 +1 @@ +MD5 45bab60d1c9de145661b82650ad09951 freemind-src-0_7_1.tar.gz 239660 diff --git a/app-misc/freemind/freemind-0.7.1-r2.ebuild b/app-misc/freemind/freemind-0.7.1-r2.ebuild new file mode 100644 index 0000000..a25dec0 --- /dev/null +++ b/app-misc/freemind/freemind-0.7.1-r2.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $ + +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 +} + diff --git a/app-misc/freemind/freemind.patch b/app-misc/freemind/freemind.patch new file mode 100644 index 0000000..a37bd40 --- /dev/null +++ b/app-misc/freemind/freemind.patch @@ -0,0 +1,18 @@ +3c3 +< # $Header: /var/cvsroot/gentoo-x86/app-misc/freemind/freemind-0.7.1.ebuild,v 1.13 2005/01/01 15:02:39 eradicator Exp $ +--- +> # $ +5c5 +< inherit java-pkg +--- +> inherit java-pkg eutils +25c25 +< ant ${antflags} +--- +> ant ${antflags} || die "Compiling failed!" +42a43,47 +> +> mv ${S}/images/FreeMindWindowIcon.png ${S}/images/freemind.png +> doicon ${S}/images/freemind.png +> +> make_desktop_entry freemind Freemind freemind.png Utility |