diff options
author | Ralph Sennhauser <sera@gentoo.org> | 2012-06-12 12:14:04 +0000 |
---|---|---|
committer | Ralph Sennhauser <sera@gentoo.org> | 2012-06-12 12:14:04 +0000 |
commit | 53ea2e443b24041c8cf43ec086557909745895be (patch) | |
tree | 8948e1f9a5f82b9901ddf40db355abf1c3998b53 /dev-java/maven-bin | |
parent | Fix bug #364923 with rev bump, thanks to Pinkbyte. Drop old. (diff) | |
download | gentoo-2-53ea2e443b24041c8cf43ec086557909745895be.tar.gz gentoo-2-53ea2e443b24041c8cf43ec086557909745895be.tar.bz2 gentoo-2-53ea2e443b24041c8cf43ec086557909745895be.zip |
Add app-admin/eselect-java as preferred provider of eselect maven.
(Portage version: 2.1.10.62/cvs/Linux x86_64)
Diffstat (limited to 'dev-java/maven-bin')
-rw-r--r-- | dev-java/maven-bin/ChangeLog | 12 | ||||
-rw-r--r-- | dev-java/maven-bin/maven-bin-1.1-r3.ebuild | 48 | ||||
-rw-r--r-- | dev-java/maven-bin/maven-bin-2.0.11-r2.ebuild | 57 | ||||
-rw-r--r-- | dev-java/maven-bin/maven-bin-2.2.1-r2.ebuild | 57 | ||||
-rw-r--r-- | dev-java/maven-bin/maven-bin-3.0.4-r1.ebuild | 58 |
5 files changed, 231 insertions, 1 deletions
diff --git a/dev-java/maven-bin/ChangeLog b/dev-java/maven-bin/ChangeLog index cbda649a25f8..d5f4b449475e 100644 --- a/dev-java/maven-bin/ChangeLog +++ b/dev-java/maven-bin/ChangeLog @@ -1,6 +1,16 @@ # ChangeLog for dev-java/maven-bin # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/maven-bin/ChangeLog,v 1.76 2012/01/26 16:42:40 fordfrog Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/maven-bin/ChangeLog,v 1.77 2012/06/12 12:14:04 sera Exp $ + +*maven-bin-3.0.4-r1 (12 Jun 2012) +*maven-bin-2.2.1-r2 (12 Jun 2012) +*maven-bin-2.0.11-r2 (12 Jun 2012) +*maven-bin-1.1-r3 (12 Jun 2012) + + 12 Jun 2012; Ralph Sennhauser <sera@gentoo.org> +maven-bin-1.1-r3.ebuild, + +maven-bin-2.0.11-r2.ebuild, +maven-bin-2.2.1-r2.ebuild, + +maven-bin-3.0.4-r1.ebuild: + Add app-admin/eselect-java as preferred provider of eselect maven. *maven-bin-3.0.4 (26 Jan 2012) diff --git a/dev-java/maven-bin/maven-bin-1.1-r3.ebuild b/dev-java/maven-bin/maven-bin-1.1-r3.ebuild new file mode 100644 index 000000000000..d13130519202 --- /dev/null +++ b/dev-java/maven-bin/maven-bin-1.1-r3.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2012 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-r3.ebuild,v 1.1 2012/06/12 12:14:04 sera Exp $ + +EAPI="4" + +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.1" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +DEPEND="|| ( app-admin/eselect-java app-admin/eselect-maven )" +RDEPEND=">=virtual/jdk-1.5 + ${DEPEND}" + +S="${WORKDIR}/${MY_P}" +MAVEN=${PN}-${SLOT} +MAVEN_HOME="/usr/share/${MAVEN}" +MAVEN_BIN="${MAVEN_HOME}/bin" + +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/mvn-${SLOT} +} + +pkg_postinst() { + eselect maven update mvn-${SLOT} +} + +pkg_postrm() { + eselect maven update +} diff --git a/dev-java/maven-bin/maven-bin-2.0.11-r2.ebuild b/dev-java/maven-bin/maven-bin-2.0.11-r2.ebuild new file mode 100644 index 000000000000..e54065bc27ec --- /dev/null +++ b/dev-java/maven-bin/maven-bin-2.0.11-r2.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/maven-bin/maven-bin-2.0.11-r2.ebuild,v 1.1 2012/06/12 12:14:04 sera Exp $ + +EAPI="4" + +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.bz2" +HOMEPAGE="http://maven.apache.org/" + +LICENSE="Apache-2.0" +SLOT="2.0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +DEPEND="|| ( app-admin/eselect-java app-admin/eselect-maven )" +RDEPEND=">=virtual/jdk-1.4 + ${DEPEND}" + +S="${WORKDIR}/${MY_P}" + +MAVEN=${PN}-${SLOT} +MAVEN_SHARE="/usr/share/${MAVEN}" + +java_prepare() { + rm -v "${S}"/bin/*.bat || die +} + +# TODO we should use jars from packages, instead of what is bundled +src_install() { + dodir "${MAVEN_SHARE}" + cp -Rp bin boot conf lib "${ED}/${MAVEN_SHARE}" || die "failed to copy" + + java-pkg_regjar "${ED}/${MAVEN_SHARE}"/lib/*.jar + + dodoc NOTICE.txt README.txt + + 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}" +} + +pkg_postinst() { + eselect maven update mvn-${SLOT} +} + +pkg_postrm() { + eselect maven update +} diff --git a/dev-java/maven-bin/maven-bin-2.2.1-r2.ebuild b/dev-java/maven-bin/maven-bin-2.2.1-r2.ebuild new file mode 100644 index 000000000000..a4d7c1bdaa03 --- /dev/null +++ b/dev-java/maven-bin/maven-bin-2.2.1-r2.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/maven-bin/maven-bin-2.2.1-r2.ebuild,v 1.1 2012/06/12 12:14:04 sera Exp $ + +EAPI="4" + +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.bz2" +HOMEPAGE="http://maven.apache.org/" + +LICENSE="Apache-2.0" +SLOT="2.2" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +DEPEND="|| ( app-admin/eselect-java app-admin/eselect-maven )" +RDEPEND=">=virtual/jdk-1.5 + ${DEPEND}" + +S="${WORKDIR}/${MY_P}" + +MAVEN=${PN}-${SLOT} +MAVEN_SHARE="/usr/share/${MAVEN}" + +java_prepare() { + rm -v "${S}"/bin/*.bat || die +} + +# TODO we should use jars from packages, instead of what is bundled +src_install() { + dodir "${MAVEN_SHARE}" + cp -Rp bin boot conf lib "${ED}/${MAVEN_SHARE}" || die "failed to copy" + + java-pkg_regjar "${ED}/${MAVEN_SHARE}"/lib/*.jar + + dodoc NOTICE.txt README.txt + + 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}" +} + +pkg_postinst() { + eselect maven update mvn-${SLOT} +} + +pkg_postrm() { + eselect maven update +} diff --git a/dev-java/maven-bin/maven-bin-3.0.4-r1.ebuild b/dev-java/maven-bin/maven-bin-3.0.4-r1.ebuild new file mode 100644 index 000000000000..6b432b5584b5 --- /dev/null +++ b/dev-java/maven-bin/maven-bin-3.0.4-r1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2012 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.4-r1.ebuild,v 1.1 2012/06/12 12:14:04 sera Exp $ + +EAPI="4" + +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" +IUSE="" + +DEPEND="|| ( app-admin/eselect-java app-admin/eselect-maven )" +RDEPEND=">=virtual/jdk-1.5 + ${DEPEND}" + +S="${WORKDIR}/${MY_P}" + +MAVEN=${PN}-${SLOT} +MAVEN_SHARE="/usr/share/${MAVEN}" + +java_prepare() { + 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 "${ED}/${MAVEN_SHARE}" || die "failed to copy" + + java-pkg_regjar "${ED}/${MAVEN_SHARE}"/lib/*.jar + + dodoc NOTICE.txt README.txt + + 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}" +} + +pkg_postinst() { + eselect maven update mvn-${SLOT} +} + +pkg_postrm() { + eselect maven update +} |