summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2007-04-29 10:57:43 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2007-04-29 10:57:43 +0000
commitd0c721c2e7266827bcc2d4628a904704e85bb1f8 (patch)
treee3154f5c50ece220b013433a61f19a6642b6f749 /net-misc/mindterm
parentUnmasking media-gfx/opcion. (diff)
downloadgentoo-2-d0c721c2e7266827bcc2d4628a904704e85bb1f8.tar.gz
gentoo-2-d0c721c2e7266827bcc2d4628a904704e85bb1f8.tar.bz2
gentoo-2-d0c721c2e7266827bcc2d4628a904704e85bb1f8.zip
Only ant-core is not enough, mindterm needs ant-nodeps. Use java-pkg_doexamples.
(Portage version: 2.1.2.5)
Diffstat (limited to 'net-misc/mindterm')
-rw-r--r--net-misc/mindterm/ChangeLog8
-rw-r--r--net-misc/mindterm/mindterm-3.0.1.ebuild18
2 files changed, 14 insertions, 12 deletions
diff --git a/net-misc/mindterm/ChangeLog b/net-misc/mindterm/ChangeLog
index 4893981ab974..874c8124f27f 100644
--- a/net-misc/mindterm/ChangeLog
+++ b/net-misc/mindterm/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-misc/mindterm
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/mindterm/ChangeLog,v 1.8 2007/02/22 02:32:40 peper Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/mindterm/ChangeLog,v 1.9 2007/04/29 10:57:43 betelgeuse Exp $
+
+ 29 Apr 2007; Petteri Räty <betelgeuse@gentoo.org> mindterm-3.0.1.ebuild:
+ Only ant-core is not enough, mindterm needs ant-nodeps. Use
+ java-pkg_doexamples.
22 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog:
Transition to Manifest2.
@@ -9,6 +13,8 @@
mindterm-3.0.1.ebuild:
Dropping sparc keywords, see #96229
+*mindterm-3.0.1 (01 Jul 2006)
+
01 Jul 2006; Joshua Nichols <nichoj@gentoo.org> +mindterm-3.0.1.ebuild:
Version bump (bug #134528) and updated to support new Java system.
diff --git a/net-misc/mindterm/mindterm-3.0.1.ebuild b/net-misc/mindterm/mindterm-3.0.1.ebuild
index bb319c56a1cf..929dd91aa928 100644
--- a/net-misc/mindterm/mindterm-3.0.1.ebuild
+++ b/net-misc/mindterm/mindterm-3.0.1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/mindterm/mindterm-3.0.1.ebuild,v 1.2 2006/10/05 14:47:24 gustavoz Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/mindterm/mindterm-3.0.1.ebuild,v 1.3 2007/04/29 10:57:43 betelgeuse Exp $
-inherit eutils java-pkg-2
+inherit eutils java-pkg-2 java-ant-2
DESCRIPTION="A Java SSH Client"
HOMEPAGE="http://www.appgate.com/products/80_MindTerm/"
@@ -15,11 +15,11 @@ IUSE="doc examples"
RDEPEND=">=virtual/jre-1.3"
DEPEND=">=virtual/jdk-1.3
app-arch/unzip
- dev-java/ant-core"
+ || ( dev-java/ant-nodeps dev-java/ant-tasks )"
S=${WORKDIR}/${P/-/_}
src_compile() {
- eant mindterm.jar lite $(use_doc doc)
+ ANT_TASKS="ant-nodeps" eant mindterm.jar lite $(use_doc doc)
}
src_install() {
@@ -27,12 +27,8 @@ src_install() {
java-pkg_dolauncher ${PN} --main com.mindbright.application.MindTerm
- dodoc README.txt
+ dodoc README.txt || die
use doc && java-pkg_dojavadoc javadoc
-
- if use examples; then
- dodir /usr/share/doc/${PF}/examples
- cp -r ${S}/examples/* ${D}/usr/share/doc/${PF}/examples
- fi
+ use examples && java-pkg_doexamples "${S}/examples/"
}