Gentoo Archives: gentoo-commits

From: "Alistair Bush (ali_bush)" <ali_bush@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-java/maven-bin: ChangeLog maven-bin-2.0.10.ebuild
Date: Wed, 04 Mar 2009 10:27:23
Message-Id: E1LeoJj-0001m8-3k@stork.gentoo.org
1 ali_bush 09/03/04 10:27:11
2
3 Modified: ChangeLog
4 Added: maven-bin-2.0.10.ebuild
5 Log:
6 Version Bump.
7 (Portage version: 2.1.6.7/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.54 dev-java/maven-bin/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/maven-bin/ChangeLog?rev=1.54&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/maven-bin/ChangeLog?rev=1.54&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/maven-bin/ChangeLog?r1=1.53&r2=1.54
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-java/maven-bin/ChangeLog,v
19 retrieving revision 1.53
20 retrieving revision 1.54
21 diff -u -r1.53 -r1.54
22 --- ChangeLog 25 Oct 2008 16:59:57 -0000 1.53
23 +++ ChangeLog 4 Mar 2009 10:27:11 -0000 1.54
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-java/maven-bin
26 -# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-java/maven-bin/ChangeLog,v 1.53 2008/10/25 16:59:57 nixnut Exp $
28 +# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/dev-java/maven-bin/ChangeLog,v 1.54 2009/03/04 10:27:11 ali_bush Exp $
30 +
31 +*maven-bin-2.0.10 (04 Mar 2009)
32 +
33 + 04 Mar 2009; Alistair Bush <ali_bush@g.o> +maven-bin-2.0.10.ebuild:
34 + Version Bump.
35
36 25 Oct 2008; nixnut <nixnut@g.o> maven-bin-2.0.9.ebuild:
37 Stable on ppc wrt bug 242982
38
39
40
41 1.1 dev-java/maven-bin/maven-bin-2.0.10.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/maven-bin/maven-bin-2.0.10.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/maven-bin/maven-bin-2.0.10.ebuild?rev=1.1&content-type=text/plain
45
46 Index: maven-bin-2.0.10.ebuild
47 ===================================================================
48 # Copyright 1999-2009 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-java/maven-bin/maven-bin-2.0.10.ebuild,v 1.1 2009/03/04 10:27:11 ali_bush Exp $
51
52 inherit java-pkg-2
53
54 MY_PN=apache-${PN%%-bin}
55 MY_P="${MY_PN}-${PV}"
56
57 DESCRIPTION="Project Management and Comprehension Tool for Java"
58 SRC_URI="mirror://apache/maven/binaries/${MY_P}-bin.tar.bz2"
59 HOMEPAGE="http://maven.apache.org/"
60 LICENSE="Apache-2.0"
61 SLOT="2.0"
62 KEYWORDS="~amd64 ~ppc ~x86"
63
64 RDEPEND=">=virtual/jdk-1.4"
65
66 IUSE=""
67
68 S="${WORKDIR}/${MY_P}"
69
70 MAVEN=${PN}-${SLOT}
71 MAVEN_SHARE="/usr/share/${MAVEN}"
72
73 src_unpack() {
74 unpack ${A}
75
76 rm -v "${S}"/bin/*.bat || die
77 }
78
79 # TODO we should use jars from packages, instead of what is bundled
80 src_install() {
81 dodir "${MAVEN_SHARE}"
82 cp -Rp bin boot conf lib "${D}/${MAVEN_SHARE}" || die "failed to copy"
83
84 java-pkg_regjar "${D}/${MAVEN_SHARE}"/lib/*.jar
85
86 dodoc NOTICE.txt README.txt || die
87
88 dodir /usr/bin
89 dosym "${MAVEN_SHARE}/bin/mvn" /usr/bin/mvn
90 }