Gentoo Archives: gentoo-commits

From: "Miroslav Sulc (fordfrog)" <fordfrog@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-office/borg: ChangeLog borg-1.7.4.ebuild
Date: Tue, 18 Jan 2011 16:51:54
Message-Id: 20110118165144.3FE1A20054@flycatcher.gentoo.org
1 fordfrog 11/01/18 16:51:44
2
3 Modified: ChangeLog
4 Added: borg-1.7.4.ebuild
5 Log:
6 app-office/borg: version bump
7
8 (Portage version: 2.1.9.33/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.11 app-office/borg/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/borg/ChangeLog?rev=1.11&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/borg/ChangeLog?rev=1.11&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/borg/ChangeLog?r1=1.10&r2=1.11
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-office/borg/ChangeLog,v
20 retrieving revision 1.10
21 retrieving revision 1.11
22 diff -u -r1.10 -r1.11
23 --- ChangeLog 20 Oct 2007 11:51:11 -0000 1.10
24 +++ ChangeLog 18 Jan 2011 16:51:43 -0000 1.11
25 @@ -1,6 +1,11 @@
26 # ChangeLog for app-office/borg
27 -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-office/borg/ChangeLog,v 1.10 2007/10/20 11:51:11 ali_bush Exp $
29 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/app-office/borg/ChangeLog,v 1.11 2011/01/18 16:51:43 fordfrog Exp $
31 +
32 +*borg-1.7.4 (18 Jan 2011)
33 +
34 + 18 Jan 2011; Miroslav Ć ulc <fordfrog@g.o> +borg-1.7.4.ebuild:
35 + Version bump
36
37 20 Oct 2007; <alistair@g.o> borg-1.5.2.ebuild:
38 Adding ~amd64.
39
40
41
42 1.1 app-office/borg/borg-1.7.4.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/borg/borg-1.7.4.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/borg/borg-1.7.4.ebuild?rev=1.1&content-type=text/plain
46
47 Index: borg-1.7.4.ebuild
48 ===================================================================
49 # Copyright 1999-2011 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/app-office/borg/borg-1.7.4.ebuild,v 1.1 2011/01/18 16:51:44 fordfrog Exp $
52
53 EAPI="3"
54 inherit versionator java-pkg-2 java-ant-2
55
56 DESCRIPTION="Calendar and task tracker, written in Java"
57 HOMEPAGE="http://borg-calendar.sourceforge.net/"
58 MY_PN="${PN}_src"
59 MY_PV="$(replace_all_version_separators _ )"
60 SRC_URI="mirror://sourceforge/borg-calendar/${MY_PN}_${MY_PV}.zip"
61 LICENSE="GPL-2"
62 SLOT="0"
63 KEYWORDS="~amd64 ~ppc ~x86"
64 IUSE="doc"
65 COMMON_DEP="
66 dev-java/sun-javamail:0
67 dev-java/javahelp:0"
68 DEPEND=">=virtual/jdk-1.5
69 app-arch/unzip
70 ${COMMON_DEP}"
71 RDEPEND=">=virtual/jre-1.5
72 ${COMMON_DEP}
73 dev-db/hsqldb:0
74 dev-java/jgoodies-looks:2.0"
75
76 S="${WORKDIR}/${MY_PN}"
77 SUBDIR="${S}/BORGCalendar"
78
79 EANT_BUILD_XML="${SUBDIR}/ant/build.xml"
80 EANT_BUILD_TARGET="borg-jar help-jar $(use_doc javadoc)"
81
82 src_unpack() {
83 unpack ${A}
84 cd "${S}"
85
86 # Upstream is dead and we already have dev-java/jcalendar
87 # but it's not the same thing
88 mv "${SUBDIR}"/lib/jcalendar.jar "${T}"
89 find -name "*.jar" | xargs rm -fv
90
91 pushd "${SUBDIR}"/lib >/dev/null
92 java-pkg_jar-from javahelp
93 java-pkg_jar-from sun-javamail
94 mv "${T}/jcalendar.jar" . || die
95 popd >/dev/null
96 }
97
98 src_install() {
99 java-pkg_dojar "${SUBDIR}"/dist/${PN}.jar
100 java-pkg_dojar "${SUBDIR}"/build/lib/${PN}help.jar
101 java-pkg_dojar "${SUBDIR}"/lib/jcalendar.jar
102 java-pkg_register-dependency hsqldb,jgoodies-looks-2.0
103
104 java-pkg_dolauncher ${PN} --main net.sf.borg.control.Borg
105 }