summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Matthijs <axxo@gentoo.org>2004-12-07 14:51:47 +0000
committerThomas Matthijs <axxo@gentoo.org>2004-12-07 14:51:47 +0000
commit4f81f20ada46a2b707dc6ea659e5a4ed3cfcf4af (patch)
tree6272f1e7c02e1692c9790b6c76292f960c2878ca /dev-java/nice/nice-0.9.9.ebuild
parentStable on sparc (diff)
downloadhistorical-4f81f20ada46a2b707dc6ea659e5a4ed3cfcf4af.tar.gz
historical-4f81f20ada46a2b707dc6ea659e5a4ed3cfcf4af.tar.bz2
historical-4f81f20ada46a2b707dc6ea659e5a4ed3cfcf4af.zip
fixes #73387
Diffstat (limited to 'dev-java/nice/nice-0.9.9.ebuild')
-rw-r--r--dev-java/nice/nice-0.9.9.ebuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/dev-java/nice/nice-0.9.9.ebuild b/dev-java/nice/nice-0.9.9.ebuild
index 4ff035920aed..eac8c4a448e1 100644
--- a/dev-java/nice/nice-0.9.9.ebuild
+++ b/dev-java/nice/nice-0.9.9.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/dev-java/nice/nice-0.9.9.ebuild,v 1.1 2004/11/14 13:22:19 axxo Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/nice/nice-0.9.9.ebuild,v 1.2 2004/12/07 14:51:47 axxo Exp $
inherit java-pkg eutils
@@ -23,6 +23,8 @@ src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/${P}.patch
+ cp bin/nicec bin/nicec-gentoo
+ sed -i 's/NICEC_JAR=.*/NICEC_JAR=`java-config -p nice`/' bin/nicec-gentoo || die "sed failed"
cd ${S}/external
java-pkg_jar-from javacc
@@ -39,8 +41,9 @@ src_compile() {
src_test() { :; }
src_install() {
- dobin bin/nicec || die "nicec is missing"
+ newbin bin/nicec-gentoo nicec || die "nicec is missing"
dosym nicec /usr/bin/niceunit
+ dosym nicedoc /usr/bin/niceunit
java-pkg_dojar share/java/nice.jar
doman man/*.1
dohtml man/nicec.html