summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2011-01-15 12:25:40 +0000
committerMiroslav Šulc <fordfrog@gentoo.org>2011-01-15 12:25:40 +0000
commite27ad88e3b53710e12907b348ba61f22da449683 (patch)
tree76aef147b6dcebac8fb2163b7e2037ce3e121907 /dev-java
parentarm stable, bug #348509 (diff)
downloadgentoo-2-e27ad88e3b53710e12907b348ba61f22da449683.tar.gz
gentoo-2-e27ad88e3b53710e12907b348ba61f22da449683.tar.bz2
gentoo-2-e27ad88e3b53710e12907b348ba61f22da449683.zip
maven: version bump
(Portage version: 2.1.9.31/cvs/Linux x86_64)
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/maven-bin/ChangeLog9
-rw-r--r--dev-java/maven-bin/maven-bin-3.0.2.ebuild49
2 files changed, 56 insertions, 2 deletions
diff --git a/dev-java/maven-bin/ChangeLog b/dev-java/maven-bin/ChangeLog
index 8a665542979b..6f7f6fef509d 100644
--- a/dev-java/maven-bin/ChangeLog
+++ b/dev-java/maven-bin/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-java/maven-bin
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/maven-bin/ChangeLog,v 1.64 2010/10/29 18:47:08 caster Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/maven-bin/ChangeLog,v 1.65 2011/01/15 12:25:40 fordfrog Exp $
+
+*maven-bin-3.0.2 (15 Jan 2011)
+
+ 15 Jan 2011; Miroslav Šulc <fordfrog@gentoo.org> +maven-bin-3.0.2.ebuild:
+ version bump
29 Oct 2010; Vlastimil Babka <caster@gentoo.org> -maven-bin-2.0.8.ebuild,
-maven-bin-2.0.9.ebuild, -maven-bin-2.0.10-r1.ebuild,
diff --git a/dev-java/maven-bin/maven-bin-3.0.2.ebuild b/dev-java/maven-bin/maven-bin-3.0.2.ebuild
new file mode 100644
index 000000000000..ace580226496
--- /dev/null
+++ b/dev-java/maven-bin/maven-bin-3.0.2.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/maven-bin/maven-bin-3.0.2.ebuild,v 1.1 2011/01/15 12:25:40 fordfrog Exp $
+
+inherit java-pkg-2
+
+MY_PN=apache-${PN%%-bin}
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Project Management and Comprehension Tool for Java"
+SRC_URI="mirror://apache/maven/binaries/${MY_P}-bin.tar.gz"
+HOMEPAGE="http://maven.apache.org/"
+LICENSE="Apache-2.0"
+SLOT="3.0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+RDEPEND=">=virtual/jdk-1.5
+ app-admin/eselect-maven"
+
+IUSE=""
+
+S="${WORKDIR}/${MY_P}"
+
+MAVEN=${PN}-${SLOT}
+MAVEN_SHARE="/usr/share/${MAVEN}"
+
+src_unpack() {
+ unpack ${A}
+
+ rm -v "${S}"/bin/*.bat || die
+ chmod 644 "${S}"/boot/*.jar "${S}"/lib/*.jar "${S}"/conf/settings.xml || die
+}
+
+# TODO we should use jars from packages, instead of what is bundled
+src_install() {
+ dodir "${MAVEN_SHARE}"
+ cp -Rp bin boot conf lib "${D}/${MAVEN_SHARE}" || die "failed to copy"
+
+ java-pkg_regjar "${D}/${MAVEN_SHARE}"/lib/*.jar
+
+ dodoc NOTICE.txt README.txt || die
+
+ dodir /usr/bin
+ dosym "${MAVEN_SHARE}/bin/mvn" /usr/bin/mvn-${SLOT}
+
+ # bug #342901
+ echo "CONFIG_PROTECT=\"${MAVEN_SHARE}/conf\"" > "${T}/25${MAVEN}" || die
+ doenvd "${T}/25${MAVEN}"
+}