diff options
author | Vlastimil Babka <caster@gentoo.org> | 2007-05-07 12:57:35 +0000 |
---|---|---|
committer | Vlastimil Babka <caster@gentoo.org> | 2007-05-07 12:57:35 +0000 |
commit | f7230b51ba199a7357e721561e289f68a9a2686e (patch) | |
tree | d8d38134ea59e16b101405bdafd91a7d31f74431 /app-misc/freemind | |
parent | Initial ebuild as dependency of freemind. Had to package CVS snapshot for that. (diff) | |
download | gentoo-2-f7230b51ba199a7357e721561e289f68a9a2686e.tar.gz gentoo-2-f7230b51ba199a7357e721561e289f68a9a2686e.tar.bz2 gentoo-2-f7230b51ba199a7357e721561e289f68a9a2686e.zip |
Version bump, bug #170892. Got rid of all bundled jar files - bug #89893.
(Portage version: 2.1.2.7)
Diffstat (limited to 'app-misc/freemind')
-rw-r--r-- | app-misc/freemind/ChangeLog | 8 | ||||
-rw-r--r-- | app-misc/freemind/files/digest-freemind-0.9.0_beta9 | 3 | ||||
-rw-r--r-- | app-misc/freemind/freemind-0.9.0_beta9.ebuild | 73 |
3 files changed, 83 insertions, 1 deletions
diff --git a/app-misc/freemind/ChangeLog b/app-misc/freemind/ChangeLog index 2cfd0a6de691..ea0a6ea7a63d 100644 --- a/app-misc/freemind/ChangeLog +++ b/app-misc/freemind/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-misc/freemind # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/freemind/ChangeLog,v 1.27 2007/04/11 12:37:04 betelgeuse Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/freemind/ChangeLog,v 1.28 2007/05/07 12:57:35 caster Exp $ + +*freemind-0.9.0_beta9 (07 May 2007) + + 07 May 2007; Vlastimil Babka <caster@gentoo.org> + +freemind-0.9.0_beta9.ebuild: + Version bump, bug #170892. Got rid of all bundled jar files - bug #89893. 11 Apr 2007; Petteri Räty <betelgeuse@gentoo.org> freemind-0.8.0-r3.ebuild: diff --git a/app-misc/freemind/files/digest-freemind-0.9.0_beta9 b/app-misc/freemind/files/digest-freemind-0.9.0_beta9 new file mode 100644 index 000000000000..4e22a02567c0 --- /dev/null +++ b/app-misc/freemind/files/digest-freemind-0.9.0_beta9 @@ -0,0 +1,3 @@ +MD5 c8f7cb8c1fbc0343a31d7ead1a0f8830 freemind-src-0.9.0_Beta_9.tar.gz 11861490 +RMD160 040a2f1e72d61cc5d3fea111cd14b59e68b86a51 freemind-src-0.9.0_Beta_9.tar.gz 11861490 +SHA256 ceb1f01d6e3a714712c0493f40d60e52394c192bdeb8c35f58ef214be31008be freemind-src-0.9.0_Beta_9.tar.gz 11861490 diff --git a/app-misc/freemind/freemind-0.9.0_beta9.ebuild b/app-misc/freemind/freemind-0.9.0_beta9.ebuild new file mode 100644 index 000000000000..6a744f3ba805 --- /dev/null +++ b/app-misc/freemind/freemind-0.9.0_beta9.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/freemind/freemind-0.9.0_beta9.ebuild,v 1.1 2007/05/07 12:57:35 caster Exp $ + +# will handle rewriting myself +JAVA_PKG_BSFIX="off" +WANT_ANT_TASKS="ant-nodeps ant-trax" +inherit java-pkg-2 java-ant-2 eutils + +MY_PV=${PV//beta/Beta_} + +DESCRIPTION="Mind-mapping software written in Java" +HOMEPAGE="http://${PN}.sf.net" +SRC_URI="mirror://sourceforge/${PN}/${PN}-src-${MY_PV}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="doc" +COMMON_DEP="dev-java/jgoodies-forms + dev-java/jibx + dev-java/simplyhtml + =dev-java/commons-lang-2.0* + dev-java/javahelp + dev-java/groovy + =dev-java/batik-1.6* + >=dev-java/fop-0.93" +DEPEND=">=virtual/jdk-1.4 + dev-java/jarbundler + dev-java/xsd2jibx + app-arch/unzip + ${COMMON_DEP}" +RDEPEND=">=virtual/jre-1.4 + ${COMMON_DEP}" + +S="${WORKDIR}/${PN}" + +src_unpack() { + unpack "${A}" + cd "${S}" + + local xml + for xml in $(find . -name 'build*.xml'); do + java-ant_rewrite-classpath ${xml} + java-ant_bsfix_one ${xml} + done + rm -v lib/*.jar lib/*.zip lib/*/*.jar plugins/*/*.jar plugins/*/*/*.jar +} + +src_compile() { + local jibxlibs="$(java-pkg_getjars --build-only --with-dependencies xsd2jibx)" + local gcp="$(java-pkg_getjars jgoodies-forms,jibx,commons-lang,javahelp,groovy-1,batik-1.6,fop,simplyhtml):lib/bindings.jar" + ANT_TASKS="${WANT_ANT_TASKS} jarbundler jibx xsd2jibx" eant -Djibxlibs="${jibxlibs}" \ + -Dgentoo.classpath="${gcp}" dist browser $(use_doc doc) +} + +src_install() { + cd "${WORKDIR}/bin/dist" + local dest="/usr/share/${PN}/" + + java-pkg_dojar lib/*.jar + + insinto "${dest}" + doins -r accessories browser/ doc/ plugins/ patterns.xml || die + + use doc && java-pkg_dojavadoc doc/javadoc + + java-pkg_dolauncher ${PN} --java_args "-Dfreemind.base.dir=${dest}" \ + --pwd "${dest}" --main freemind.main.FreeMindStarter + + newicon ${S}/images/FreeMindWindowIcon.png freemind.png + + make_desktop_entry freemind Freemind freemind.png Utility +} |