diff options
author | James Le Cuirot <chewi@gentoo.org> | 2016-04-27 23:20:43 +0100 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2016-04-27 23:22:14 +0100 |
commit | 0210dc884496a12afa3ac17e2a385a9378474695 (patch) | |
tree | ded61a96bede6e6a958f5c1cb1c555883ed38875 /dev-java/edtftpj | |
parent | app-admin/puppetserver: bup for bug 581372 (diff) | |
download | gentoo-0210dc884496a12afa3ac17e2a385a9378474695.tar.gz gentoo-0210dc884496a12afa3ac17e2a385a9378474695.tar.bz2 gentoo-0210dc884496a12afa3ac17e2a385a9378474695.zip |
dev-java/edtftpj: Version bump to 2.4.0, fixes bug #581244
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-java/edtftpj')
-rw-r--r-- | dev-java/edtftpj/Manifest | 1 | ||||
-rw-r--r-- | dev-java/edtftpj/edtftpj-2.4.0.ebuild | 49 |
2 files changed, 50 insertions, 0 deletions
diff --git a/dev-java/edtftpj/Manifest b/dev-java/edtftpj/Manifest index f66085af62c1..664d9f2da9e3 100644 --- a/dev-java/edtftpj/Manifest +++ b/dev-java/edtftpj/Manifest @@ -1 +1,2 @@ DIST edtftpj-2.0.4.zip 1314543 SHA256 e24e1b883254ed28312412ddabb07fab0d9022fcedb78901c804b94c659c3666 SHA512 6af25752e794ece897fe0758dd373f583c7960b5ffe01eefe2947bcd0ab73619876c6ae2557f5ce3e039839a6b41581d29be6c2fee568ddc2bb668216ae04e3e WHIRLPOOL 93b1c380ed61feeae50f1e975c9485802a54de9ddc362b396ff0db70f844138c0198b4a5e94592a1a50c38058911457e6a882a39a1a15560697535422d39ef5e +DIST edtftpj-2.4.0.zip 1592179 SHA256 17c92da78b43e2471f7dc9e4125ed7c79b45bbf8143c6be08f8d75d995d3904a SHA512 bbcbb35805bd84e76fe15f9b07fb984782cd5838b94ee90af336991f0dfdb9b06028a35614a9accf16eb55151f09501cec5fac41030f847a32a679f9404808b0 WHIRLPOOL ed96745f77401df8aed90f9d01e750fd75cf7563d349dca15b432b7367e9a806f9c4612a413d8f3372d6a962d55c298e42e51b1ce74cd2f9c10bb3ecce56c35a diff --git a/dev-java/edtftpj/edtftpj-2.4.0.ebuild b/dev-java/edtftpj/edtftpj-2.4.0.ebuild new file mode 100644 index 000000000000..ecfe0df6f5de --- /dev/null +++ b/dev-java/edtftpj/edtftpj-2.4.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +JAVA_PKG_IUSE="doc 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://enterprisedt.com/products/edtftpnet" +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples" + +DEPEND=">=virtual/jdk-1.7 + app-arch/unzip" + +RDEPEND=">=virtual/jre-1.7" + +EANT_DOC_TARGET="javadocs" +EANT_BUILD_XML="src/build.xml" + +java_prepare() { + java-pkg_clean + + # Tests are geared for Windows and sit in the main sources. + rm -rv src/com/enterprisedt/net/ftp/test || die + + # Delete Windows .bat files. + find -name "*.bat" -delete || die + + # Adjust doc URLs to match our layout. + find examples -name "*.html" -exec sed -i 's:/doc/manual/:/manual/:g' {} + || die +} + +src_install() { + java-pkg_dojar lib/${PN}.jar + + use doc && java-pkg_dojavadoc build/doc/api + use source && java-pkg_dosrc src/* + + docinto html + use doc && dodoc -r doc/manual + use examples && dodoc -r examples +} |