Sophie

Sophie

distrib > Mageia > 2 > x86_64 > media > core-release-src > by-pkgid > d5f6b507da878c934fbc847d6ce39b39 > files > 5

freemind-0.9.0-2.mga1.src.rpm

#!/bin/sh
#
# freemind script
# JPackage Project <http://www.jpackage.org/>

# Configuration
BASE_FLAGS="-Dfreemind.base.dir=/usr/share/freemind"
BASE_JARS="commons-lang forms freemind/freemind freemind/freemind-bindings gnu-regexp jibx/run SimplyHTML/simplyhtml xpp3 freemind/bindings"
BASE_OPTIONS=""
MAIN_CLASS=freemind.main.FreeMindStarter

# Source functions library
. /usr/share/java-utils/java-functions

# Source system prefs
if [ -f /etc/freemind.conf ] ; then
  . /etc/freemind.conf
fi

# Source user prefs
if [ -f $HOME/.freemindrc ] ; then
  . $HOME/.freemindrc
fi

# Set parameters
set_jvm
set_classpath $BASE_JARS
set_flags $BASE_FLAGS
set_options $BASE_OPTIONS

# Let's start
run "$@"