summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2011-01-19 01:58:27 +0000
committerMiroslav Šulc <fordfrog@gentoo.org>2011-01-19 01:58:27 +0000
commitf9a4d2154435cb19b8e416869ec79062db1c9f10 (patch)
tree5658803b11487a532674df8588ceeda529347eb2 /dev-java
parentfix kernel_is call (diff)
downloadgentoo-2-f9a4d2154435cb19b8e416869ec79062db1c9f10.tar.gz
gentoo-2-f9a4d2154435cb19b8e416869ec79062db1c9f10.tar.bz2
gentoo-2-f9a4d2154435cb19b8e416869ec79062db1c9f10.zip
dev-java/maven-bin: resurrected version 1.0.2
(Portage version: 2.1.9.33/cvs/Linux x86_64)
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/maven-bin/ChangeLog10
-rw-r--r--dev-java/maven-bin/maven-bin-1.0.2.ebuild43
-rw-r--r--dev-java/maven-bin/maven-bin-1.1-r1.ebuild (renamed from dev-java/maven-bin/maven-bin-1.1.ebuild)12
3 files changed, 58 insertions, 7 deletions
diff --git a/dev-java/maven-bin/ChangeLog b/dev-java/maven-bin/ChangeLog
index 6f7f6fef509d..6fe77dc7a830 100644
--- a/dev-java/maven-bin/ChangeLog
+++ b/dev-java/maven-bin/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for dev-java/maven-bin
# 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 $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/maven-bin/ChangeLog,v 1.66 2011/01/19 01:58:27 fordfrog Exp $
+
+*maven-bin-1.1-r1 (19 Jan 2011)
+
+ 19 Jan 2011; Miroslav Šulc <fordfrog@gentoo.org> +maven-bin-1.0.2.ebuild,
+ -maven-bin-1.1.ebuild, +maven-bin-1.1-r1.ebuild:
+ Resurrected version 1.0.2, reslotted version 1.1 to slot 1.1, removed version
+ 1.1 that was in slot 1.0 and added information about reslotting to 1.0.2
+ ebuild
*maven-bin-3.0.2 (15 Jan 2011)
diff --git a/dev-java/maven-bin/maven-bin-1.0.2.ebuild b/dev-java/maven-bin/maven-bin-1.0.2.ebuild
new file mode 100644
index 000000000000..9ee3e20440f9
--- /dev/null
+++ b/dev-java/maven-bin/maven-bin-1.0.2.ebuild
@@ -0,0 +1,43 @@
+# 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-1.0.2.ebuild,v 1.7 2011/01/19 01:58:27 fordfrog Exp $
+
+MY_PN=${PN/-bin}
+MY_PV=${PV/_/-}
+MY_P=${MY_PN}-${MY_PV}
+DESCRIPTION="Project Management and Comprehension Tool for Java"
+SRC_URI="mirror://apache/maven/binaries/${MY_P}.tar.gz"
+HOMEPAGE="http://maven.apache.org/"
+LICENSE="Apache-2.0"
+SLOT="1.0"
+KEYWORDS="~amd64 ~ppc ~x86"
+DEPEND=">=virtual/jdk-1.5"
+RDEPEND=">=virtual/jdk-1.5"
+IUSE=""
+
+S="${WORKDIR}/${MY_P}"
+MAVEN=${PN}-${SLOT}
+MAVEN_HOME="/usr/share/${MAVEN}"
+MAVEN_BIN="${MAVEN_HOME}/bin"
+
+src_compile() { :; }
+
+src_install() {
+ dodir ${MAVEN_HOME}
+ insinto ${MAVEN_HOME}
+ doins -r bin lib *.xsd plugins
+
+ dodir ${MAVEN_BIN}
+ exeinto ${MAVEN_BIN}
+ doexe "${FILESDIR}/${MY_PN}"
+
+ dodir /usr/bin
+ dosym ${MAVEN_BIN}/${MY_PN} /usr/bin/${MY_PN} || die "dosym failed"
+}
+
+pkg_postinst() {
+ elog "If you had maven-bin-1.1 installed and it was downgraded to this"
+ elog "version, it is because maven-bin-1.1 has been reslotted to slot 1.1."
+ elog "If you want to install maven-bin-1.1 back, just issue:"
+ elog " emerge =maven-bin-1.1*"
+}
diff --git a/dev-java/maven-bin/maven-bin-1.1.ebuild b/dev-java/maven-bin/maven-bin-1.1-r1.ebuild
index 8cf4623e568f..6747e4e2b1b0 100644
--- a/dev-java/maven-bin/maven-bin-1.1.ebuild
+++ b/dev-java/maven-bin/maven-bin-1.1-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2008 Gentoo Foundation
+# 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-1.1.ebuild,v 1.5 2008/03/08 20:41:07 wltjr Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/maven-bin/maven-bin-1.1-r1.ebuild,v 1.1 2011/01/19 01:58:27 fordfrog Exp $
MY_PN=${PN/-bin}
MY_PV=${PV/_/-}
@@ -9,10 +9,10 @@ DESCRIPTION="Project Management and Comprehension Tool for Java"
SRC_URI="mirror://apache/maven/binaries/${MY_P}.tar.gz"
HOMEPAGE="http://maven.apache.org/"
LICENSE="Apache-2.0"
-SLOT="1.0"
-KEYWORDS="amd64 ppc x86"
-DEPEND=">=virtual/jdk-1.4"
-RDEPEND=">=virtual/jdk-1.4"
+SLOT="1.1"
+KEYWORDS="~amd64 ~ppc ~x86"
+DEPEND=">=virtual/jdk-1.5"
+RDEPEND=">=virtual/jdk-1.5"
IUSE=""
S="${WORKDIR}/${MY_P}"