commit: 27dc90cd12781d3021dde76358528b348bb3baef Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> AuthorDate: Thu May 20 10:12:48 2021 +0000 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> CommitDate: Thu May 20 10:12:48 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27dc90cd
dev-java/sun-jms: removed obsolete 1.1-r2 Closes: https://bugs.gentoo.org/786861 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org> dev-java/sun-jms/sun-jms-1.1-r2.ebuild | 61 ---------------------------------- 1 file changed, 61 deletions(-) diff --git a/dev-java/sun-jms/sun-jms-1.1-r2.ebuild b/dev-java/sun-jms/sun-jms-1.1-r2.ebuild deleted file mode 100644 index 610e73d5698..00000000000 --- a/dev-java/sun-jms/sun-jms-1.1-r2.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit java-pkg-2 - -DOWNLOAD_PAGE="http://download.oracle.com/otndocs/jcp/7542-jms-1.1-fr-doc-oth-JSpec/" -At="jms-${PV/./_}-fr-apidocs.zip" - -DESCRIPTION="The Java Message Service (JMS) API" -HOMEPAGE="http://java.sun.com/products/jms/" -SRC_URI="${At}" - -LICENSE="sun-bcla-jms" -SLOT=0 -KEYWORDS="amd64 arm64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris" -IUSE="doc" - -RDEPEND=">=virtual/jre-1.3" -DEPEND="app-arch/unzip - >=virtual/jdk-1.3" - -RESTRICT="bindist fetch" - -S="${WORKDIR}/${PN//sun-/}${PV}" - -pkg_nofetch() { - einfo - einfo " Due to license restrictions, we cannot fetch the" - einfo " distributables automagically." - einfo - einfo " 1. Visit ${DOWNLOAD_PAGE}" - einfo " 2. Accept the License Agreement" - einfo " 3. Download ${At}" - einfo " 4. Move the file to your DISTDIR directory" - einfo -} - -src_prepare() { - default - rm -v lib/*.jar || die -} - -src_compile() { - mkdir build || die - cd src/share || die - ejavac -nowarn -d "${S}"/build $(find . -name "*.java") || die - if use doc ; then - mkdir "${S}"/api || die - javadoc -d "${S}"/api -quiet javax.jms || die - fi - - cd "${S}" || die - jar cf jms.jar -C build . || die -} - -src_install() { - java-pkg_dojar jms.jar - use doc && java-pkg_dohtml -r api -}