summaryrefslogtreecommitdiff
path: root/dev-java/ant
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/ant')
-rw-r--r--dev-java/ant/Manifest1
-rw-r--r--dev-java/ant/ant-1.9.2-r1.ebuild59
2 files changed, 60 insertions, 0 deletions
diff --git a/dev-java/ant/Manifest b/dev-java/ant/Manifest
index 93ee081b1a5b..ef9362108cf9 100644
--- a/dev-java/ant/Manifest
+++ b/dev-java/ant/Manifest
@@ -1,2 +1,3 @@
+EBUILD ant-1.9.2-r1.ebuild 2029 BLAKE2B 7af5e2d5b8eacccb9d973339a2339ecc7ae2487f4e4efea060e15b84ba0b28da3ac1a41c7239aa46402c7dc5f73faa28114f0cb1cf2d5f00972377aa41059b9a SHA512 55265f062ea8ab091a3225c315cba3bae142106198d98b10d4e2c0d044fb20fc64c22619277338cad4e08bc5697fb467216a1c23b6f8d46b6db9a6fbcc32dc3f
EBUILD ant-1.9.2.ebuild 2102 BLAKE2B e024fddb5059511959821e2a1b56e5da26ac1a9d07708cc70ffb0425118294c7418d59d362ed56ebfb61166c8315f8f81006148a99beb2d5611e9e5f95dddab2 SHA512 e384f395421d69568246bdb370d7b3e40a06f4d96c727a090ce64997b20fec585680e36176507c132b74b44716d72559a781d8acb71c86dc749deafe48785bb9
MISC metadata.xml 1159 BLAKE2B 393c61676e20af2acd08d2ecee954ea68ddb794f3aaf52bb576f72049b8807b25b8122919254d41cc249c88b375283d459193fe2c05dda46ae344e6774674ca2 SHA512 daa64360ccca2ae691a7d47b980cc35eb0c4577fd99493b235c4931861edc60a0bce1c7da5d360fd58c3c426421a7bbf41a8d9b463783e212dbae91f32a06a49
diff --git a/dev-java/ant/ant-1.9.2-r1.ebuild b/dev-java/ant/ant-1.9.2-r1.ebuild
new file mode 100644
index 000000000000..9d4439ac9ad9
--- /dev/null
+++ b/dev-java/ant/ant-1.9.2-r1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit versionator
+
+DESCRIPTION="Java-based build tool similar to 'make' that uses XML configuration files"
+HOMEPAGE="http://ant.apache.org/"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+
+IUSE="X +antlr +bcel +bsf +commonslogging +commonsnet jai +javamail +jdepend jmf
+ +jsch +log4j +oro +regexp +resolver testutil"
+
+DEPEND="~dev-java/ant-core-${PV}"
+
+RDEPEND="${DEPEND}
+ ~dev-java/ant-core-${PV}
+ ~dev-java/ant-junit-${PV}
+ !dev-java/ant-optional
+ !dev-java/ant-tasks
+ ~dev-java/ant-apache-xalan2-${PV}
+ antlr? ( ~dev-java/ant-antlr-${PV} )
+ bcel? ( ~dev-java/ant-apache-bcel-${PV} )
+ bsf? ( ~dev-java/ant-apache-bsf-${PV} )
+ log4j? ( ~dev-java/ant-apache-log4j-${PV} )
+ oro? ( ~dev-java/ant-apache-oro-${PV} )
+ regexp? ( ~dev-java/ant-apache-regexp-${PV} )
+ resolver? ( ~dev-java/ant-apache-resolver-${PV} )
+ commonslogging? ( ~dev-java/ant-commons-logging-${PV} )
+ commonsnet? ( ~dev-java/ant-commons-net-${PV} )
+ jai? ( ~dev-java/ant-jai-${PV} )
+ javamail? ( ~dev-java/ant-javamail-${PV} )
+ jdepend? ( ~dev-java/ant-jdepend-${PV} )
+ jmf? ( ~dev-java/ant-jmf-${PV} )
+ jsch? ( ~dev-java/ant-jsch-${PV} )
+ testutil? ( ~dev-java/ant-testutil-${PV} )
+ X? ( ~dev-java/ant-swing-${PV} )
+"
+
+S="${WORKDIR}"
+
+src_compile() { :; }
+
+pkg_postinst() {
+ if [[ -n ${REPLACING_VERSIONS} ]]; then
+ # if we update from a version below 1.7.1
+ if ! version_is_at_least 1.7.1 ${REPLACING_VERSIONS}; then
+ elog "Since 1.7.1, the ant-tasks meta-ebuild has been removed and its USE"
+ elog "flags have been moved to dev-java/ant."
+ elog
+ elog "You may now freely set the USE flags of this package without breaking"
+ elog "building of Java packages, which depend on the exact ant tasks they need."
+ elog "The USE flags default to enabled (except X, jai and jmf) for convenience."
+ fi
+ fi
+}