summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2005-12-20 20:39:20 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2005-12-20 20:39:20 +0000
commit3b6c736ba90919e7aff23d7e75ef3021cbe798e1 (patch)
treec023050925888a09e3883b882831b8f919aee8de /dev-java/edtftpj
parentStable on amd64, bug 115851. (diff)
downloadgentoo-2-3b6c736ba90919e7aff23d7e75ef3021cbe798e1.tar.gz
gentoo-2-3b6c736ba90919e7aff23d7e75ef3021cbe798e1.tar.bz2
gentoo-2-3b6c736ba90919e7aff23d7e75ef3021cbe798e1.zip
Version bump. Added examples and source use flags.
(Portage version: 2.1_pre1)
Diffstat (limited to 'dev-java/edtftpj')
-rw-r--r--dev-java/edtftpj/ChangeLog7
-rw-r--r--dev-java/edtftpj/Manifest4
-rw-r--r--dev-java/edtftpj/edtftpj-1.5.2.ebuild51
-rw-r--r--dev-java/edtftpj/files/digest-edtftpj-1.5.21
4 files changed, 61 insertions, 2 deletions
diff --git a/dev-java/edtftpj/ChangeLog b/dev-java/edtftpj/ChangeLog
index e9d787e73b50..c65195907988 100644
--- a/dev-java/edtftpj/ChangeLog
+++ b/dev-java/edtftpj/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-java/edtftpj
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/edtftpj/ChangeLog,v 1.11 2005/11/13 20:57:53 hansmi Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/edtftpj/ChangeLog,v 1.12 2005/12/20 20:39:20 betelgeuse Exp $
+
+*edtftpj-1.5.2 (20 Dec 2005)
+
+ 20 Dec 2005; Petteri Räty <betelgeuse@gentoo.org> +edtftpj-1.5.2.ebuild:
+ Version bump. Added examples and source use flags.
13 Nov 2005; Michael Hanselmann <hansmi@gentoo.org> edtftpj-1.4.8.ebuild:
Stable on ppc.
diff --git a/dev-java/edtftpj/Manifest b/dev-java/edtftpj/Manifest
index 5cc59798f28b..95b2c4f970cc 100644
--- a/dev-java/edtftpj/Manifest
+++ b/dev-java/edtftpj/Manifest
@@ -1,6 +1,8 @@
-MD5 ee458b8158a17648d6debe1c93222f4b ChangeLog 1638
+MD5 1a00d65ed7544a3c09e6e799a9a807a2 ChangeLog 1798
MD5 3cca881d633e63dabc56eaa24b221222 edtftpj-1.4.4.ebuild 966
MD5 5706a7eb09c9f12917b800408395ed79 edtftpj-1.4.8.ebuild 969
+MD5 9779c4ea7fdd58fdc78c70827979e91c edtftpj-1.5.2.ebuild 1328
MD5 d6e676f3fa3581928382abcfee6bb21c files/digest-edtftpj-1.4.4 65
MD5 cb155b6ce8db7d425b440c13212f13b8 files/digest-edtftpj-1.4.8 65
+MD5 7066a7774c78390aecbcdf3c07c04f33 files/digest-edtftpj-1.5.2 65
MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157
diff --git a/dev-java/edtftpj/edtftpj-1.5.2.ebuild b/dev-java/edtftpj/edtftpj-1.5.2.ebuild
new file mode 100644
index 000000000000..452c351fd880
--- /dev/null
+++ b/dev-java/edtftpj/edtftpj-1.5.2.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/edtftpj/edtftpj-1.5.2.ebuild,v 1.1 2005/12/20 20:39:20 betelgeuse Exp $
+
+inherit java-pkg
+
+DESCRIPTION="FTP client library written in Java"
+SRC_URI="http://www.enterprisedt.com/products/edtftpj/download/${P}.tar.gz"
+HOMEPAGE="http://www.enterprisedt.com"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="doc examples jikes source"
+
+RDEPEND=">=virtual/jre-1.4
+ dev-java/junit"
+
+DEPEND=">=virtual/jdk-1.4
+ dev-java/ant-core
+ ${RDEPEND}
+ jikes? ( dev-java/jikes )
+ source? ( app-arch/zip )"
+
+src_unpack() {
+ unpack "${A}"
+ find "${S}" -name "*.jar" | xargs rm -fr
+ rm "${S}/doc/LICENSE.TXT" || die "Failed to remove LICENSE.TXT"
+}
+
+src_compile() {
+ cd ${S}/src
+ local antflags="jar -Dftp.classpath=$(java-pkg_getjars junit)"
+ use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
+ use doc && antflags="${antflags} javadocs"
+ ant ${antflags} || die "compilation failed"
+}
+
+src_install() {
+ use doc && java-pkg_dohtml -r build/doc/api
+ use source && java-pkg_dosrc src/com
+
+ if use examples; then
+ insinto /usr/share/doc/${PF}/examples
+ doins demo/*.{java,txt} || die "Failed to install examples."
+ fi
+
+ dodoc doc/*.TXT doc/*.pdf
+
+ java-pkg_dojar lib/*.jar
+}
diff --git a/dev-java/edtftpj/files/digest-edtftpj-1.5.2 b/dev-java/edtftpj/files/digest-edtftpj-1.5.2
new file mode 100644
index 000000000000..3ff8cd17d22f
--- /dev/null
+++ b/dev-java/edtftpj/files/digest-edtftpj-1.5.2
@@ -0,0 +1 @@
+MD5 1e6bd7e2ebf054f168a6d00ae37995b5 edtftpj-1.5.2.tar.gz 713160