summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Wijsman <tomwij@gentoo.org>2013-07-08 13:48:17 +0000
committerTom Wijsman <tomwij@gentoo.org>2013-07-08 13:48:17 +0000
commit1c94c6b014733cd41aa9ac826c6db342ff3d3567 (patch)
treeefa3ec982c496246b25b781327a726cc7d13299d /dev-java/edtftpj
parentRevbump to include security patches (bugs 462458, 469392, 467966) (diff)
downloadgentoo-2-1c94c6b014733cd41aa9ac826c6db342ff3d3567.tar.gz
gentoo-2-1c94c6b014733cd41aa9ac826c6db342ff3d3567.tar.bz2
gentoo-2-1c94c6b014733cd41aa9ac826c6db342ff3d3567.zip
Version bump to 2.0.4.
(Portage version: 2.1.12.11/cvs/Linux x86_64, signed Manifest commit with key 6D34E57D)
Diffstat (limited to 'dev-java/edtftpj')
-rw-r--r--dev-java/edtftpj/ChangeLog10
-rw-r--r--dev-java/edtftpj/edtftpj-2.0.4.ebuild44
2 files changed, 51 insertions, 3 deletions
diff --git a/dev-java/edtftpj/ChangeLog b/dev-java/edtftpj/ChangeLog
index 5c03f387e24a..a2290480142a 100644
--- a/dev-java/edtftpj/ChangeLog
+++ b/dev-java/edtftpj/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-java/edtftpj
-# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/edtftpj/ChangeLog,v 1.49 2009/02/04 12:24:53 betelgeuse Exp $
+# Copyright 2000-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/edtftpj/ChangeLog,v 1.50 2013/07/08 13:48:17 tomwij Exp $
+
+*edtftpj-2.0.4 (08 Jul 2013)
+
+ 08 Jul 2013; Tom Wijsman <TomWij@gentoo.org> +edtftpj-2.0.4.ebuild:
+ Version bump to 2.0.4.
04 Feb 2009; Petteri Räty <betelgeuse@gentoo.org> -edtftpj-1.5.6.ebuild,
-edtftpj-2.0.2.ebuild:
@@ -195,4 +200,3 @@
+edtftpj-1.3.2.ebuild:
Initial Import. Closes #49798
Thanks to Mike Javorski <mike_javorski@bigfoot.com> for the preliminary ebuild.
-
diff --git a/dev-java/edtftpj/edtftpj-2.0.4.ebuild b/dev-java/edtftpj/edtftpj-2.0.4.ebuild
new file mode 100644
index 000000000000..c38852e35bdc
--- /dev/null
+++ b/dev-java/edtftpj/edtftpj-2.0.4.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/edtftpj/edtftpj-2.0.4.ebuild,v 1.1 2013/07/08 13:48:17 tomwij Exp $
+
+EAPI="5"
+
+JAVA_PKG_IUSE="doc examples source"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="FTP client library written in Java"
+SRC_URI="http://www.enterprisedt.com/products/edtftpj/download/${P}.zip"
+HOMEPAGE="http://www.enterprisedt.com"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+RDEPEND=">=virtual/jre-1.4
+ =dev-java/junit-3.8*"
+
+DEPEND=">=virtual/jdk-1.4
+ app-arch/unzip
+ ${RDEPEND}"
+
+java_prepare() {
+ find . '(' -name '*.class' -o -name '*.jar' ')' -print -delete
+
+ rm doc/LICENSE.TXT || die "Failed to remove LICENSE.TXT"
+}
+
+src_compile() {
+ cd src || die
+
+ eant jar -Dftp.classpath=$(java-pkg_getjars junit) $(use_doc javadocs)
+}
+
+src_install() {
+ java-pkg_dojar lib/*.jar
+
+ use doc && java-pkg_dojavadoc build/doc/api
+ use source && java-pkg_dosrc src/com
+ use examples && java-pkg_doexamples examples
+}