summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Matthijs <axxo@gentoo.org>2004-10-16 18:18:31 +0000
committerThomas Matthijs <axxo@gentoo.org>2004-10-16 18:18:31 +0000
commit7aaea8d4492579ac022b757bfbaa70d890ba2f33 (patch)
tree42e0a67dab0e9fc5c3ccb413a2a5b820af4225cb /net-misc/java-wakeonlan/java-wakeonlan-0.3.0.ebuild
parentcleanup (Manifest recommit) (diff)
downloadgentoo-2-7aaea8d4492579ac022b757bfbaa70d890ba2f33.tar.gz
gentoo-2-7aaea8d4492579ac022b757bfbaa70d890ba2f33.tar.bz2
gentoo-2-7aaea8d4492579ac022b757bfbaa70d890ba2f33.zip
use java-pkg_dohtml instead of dohtml to also install the package-list in case of api docs: #50740
Diffstat (limited to 'net-misc/java-wakeonlan/java-wakeonlan-0.3.0.ebuild')
-rw-r--r--net-misc/java-wakeonlan/java-wakeonlan-0.3.0.ebuild9
1 files changed, 3 insertions, 6 deletions
diff --git a/net-misc/java-wakeonlan/java-wakeonlan-0.3.0.ebuild b/net-misc/java-wakeonlan/java-wakeonlan-0.3.0.ebuild
index 0cebe3d1f70a..7de1e66736cb 100644
--- a/net-misc/java-wakeonlan/java-wakeonlan-0.3.0.ebuild
+++ b/net-misc/java-wakeonlan/java-wakeonlan-0.3.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/java-wakeonlan/java-wakeonlan-0.3.0.ebuild,v 1.4 2004/08/30 18:46:39 zx Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/java-wakeonlan/java-wakeonlan-0.3.0.ebuild,v 1.5 2004/10/16 18:18:31 axxo Exp $
inherit java-pkg
@@ -32,13 +32,10 @@ src_compile() {
src_install() {
java-pkg_dojar deploy/wakeonlan.jar
- local my_cp
- my_cp=`java-config --classpath=commons-logging,commons-cli,java-wakeonlan`
-
echo "#!/bin/sh" > ${PN}
- echo '${JAVA_HOME}'/bin/java -cp ${my_cp} wol.WakeOnLan '$*' >> ${PN}
+ echo '${JAVA_HOME}'/bin/java -cp '$(java-config -p commons-logging,commons-cli,java-wakeonlan)' wol.WakeOnLan '$*' >> ${PN}
dobin ${PN}
dodoc doc/README
- use doc && dohtml -r deploy/doc/javadoc/*
+ use doc && java-pkg_dohtml -r deploy/doc/javadoc/*
}