summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2015-08-06 15:34:10 +0000
committerPatrice Clement <monsieurp@gentoo.org>2015-08-06 15:34:10 +0000
commit3068a8762bf3d7618145ebb85ea95adb863d121f (patch)
tree2e90650a8c94aeb1da6ab5d4a68c45cbba95e410 /app-office
parentStable for x86, wrt bug #554282 (diff)
downloadgentoo-2-3068a8762bf3d7618145ebb85ea95adb863d121f.tar.gz
gentoo-2-3068a8762bf3d7618145ebb85ea95adb863d121f.tar.bz2
gentoo-2-3068a8762bf3d7618145ebb85ea95adb863d121f.zip
Remove java-virtuals/javamail and replace it with oracle-javamail. Fixed bug 553186.
Signed-off-by: Patrice Clement <monsieurp@gentoo.org> (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 93491BB8)
Diffstat (limited to 'app-office')
-rw-r--r--app-office/borg/ChangeLog8
-rw-r--r--app-office/borg/borg-1.7.4-r3.ebuild60
2 files changed, 67 insertions, 1 deletions
diff --git a/app-office/borg/ChangeLog b/app-office/borg/ChangeLog
index c0ded4c82fdc..f607787d1699 100644
--- a/app-office/borg/ChangeLog
+++ b/app-office/borg/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-office/borg
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/borg/ChangeLog,v 1.15 2015/06/09 11:55:07 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/borg/ChangeLog,v 1.16 2015/08/06 15:34:10 monsieurp Exp $
+
+*borg-1.7.4-r3 (06 Aug 2015)
+
+ 06 Aug 2015; Patrice Clement <monsieurp@gentoo.org> +borg-1.7.4-r3.ebuild:
+ Remove java-virtuals/javamail and replace it with oracle-javamail. Fixed bug
+ 553186.
09 Jun 2015; Justin Lecher <jlec@gentoo.org> metadata.xml:
Updating remote-id in metadata.xml
diff --git a/app-office/borg/borg-1.7.4-r3.ebuild b/app-office/borg/borg-1.7.4-r3.ebuild
new file mode 100644
index 000000000000..b6847e1684fa
--- /dev/null
+++ b/app-office/borg/borg-1.7.4-r3.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-office/borg/borg-1.7.4-r3.ebuild,v 1.1 2015/08/06 15:34:10 monsieurp Exp $
+
+EAPI=5
+
+JAVA_PKG_IUSE="doc source"
+
+inherit versionator java-pkg-2 java-ant-2
+
+MY_PN="${PN}_src"
+MY_PV="$(replace_all_version_separators _ )"
+
+DESCRIPTION="Calendar and task tracker, written in Java"
+HOMEPAGE="http://borg-calendar.sourceforge.net/"
+SRC_URI="mirror://sourceforge/borg-calendar/borg%201.7/BORG%20${PV}/${MY_PN}_${MY_PV}.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+CDEPEND="
+ dev-java/javahelp:0
+ dev-java/oracle-javamail:0"
+RDEPEND="${CDEPEND}
+ >=virtual/jre-1.6
+ dev-db/hsqldb:0
+ dev-java/jgoodies-looks:2.0"
+DEPEND="${CDEPEND}
+ >=virtual/jdk-1.6
+ app-arch/unzip"
+
+S="${WORKDIR}/${MY_PN}/BORGCalendar"
+
+java_prepare() {
+ # Upstream is dead and we already have dev-java/jcalendar
+ # but it's not the same thing.
+ find -name '*.jar' -! -name 'jcalendar.jar' \
+ -exec rm -v {} + || die
+}
+
+JAVA_ANT_REWRITE_CLASSPATH="yes"
+JAVA_ANT_CLASSPATH_TAGS+=" javadoc"
+
+EANT_BUILD_XML="ant/build.xml"
+EANT_BUILD_TARGET="borg-jar help-jar"
+EANT_GENTOO_CLASSPATH="javahelp oracle-javamail"
+
+src_install() {
+ java-pkg_dojar dist/${PN}.jar
+ java-pkg_dojar build/lib/${PN}help.jar
+ java-pkg_dojar lib/jcalendar.jar
+ java-pkg_register-dependency hsqldb,jgoodies-looks-2.0
+
+ java-pkg_dolauncher ${PN} --main net.sf.borg.control.Borg
+
+ use doc && java-pkg_dojavadoc docs
+ use doc && java-pkg_dosrc src/*
+}