diff options
author | Thomas Matthijs <axxo@gentoo.org> | 2004-11-14 13:22:19 +0000 |
---|---|---|
committer | Thomas Matthijs <axxo@gentoo.org> | 2004-11-14 13:22:19 +0000 |
commit | 660b8e90c0b63d2e6216e6ebdb105f996d5eea25 (patch) | |
tree | 77027383689445b6edb972e0437ea568df063491 | |
parent | do a autoreconf ; #70334 (diff) | |
download | historical-660b8e90c0b63d2e6216e6ebdb105f996d5eea25.tar.gz historical-660b8e90c0b63d2e6216e6ebdb105f996d5eea25.tar.bz2 historical-660b8e90c0b63d2e6216e6ebdb105f996d5eea25.zip |
initial import, ebuild submitted by Jason R Briggs <jason@lateralnz.co>
-rw-r--r-- | dev-java/nice/ChangeLog | 10 | ||||
-rw-r--r-- | dev-java/nice/Manifest | 15 | ||||
-rw-r--r-- | dev-java/nice/files/digest-nice-0.9.9 | 1 | ||||
-rw-r--r-- | dev-java/nice/files/nice-0.9.9.patch | 20 | ||||
-rw-r--r-- | dev-java/nice/metadata.xml | 5 | ||||
-rw-r--r-- | dev-java/nice/nice-0.9.9.ebuild | 47 |
6 files changed, 98 insertions, 0 deletions
diff --git a/dev-java/nice/ChangeLog b/dev-java/nice/ChangeLog new file mode 100644 index 000000000000..c813a40944f3 --- /dev/null +++ b/dev-java/nice/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-java/nice +# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/nice/ChangeLog,v 1.1 2004/11/14 13:22:19 axxo Exp $ + +*nice-0.9.9 (14 Nov 2004) + + 14 Nov 2004; Thomas Matthijs <axxo@gentoo.org> +metadata.xml, + +files/nice-0.9.9.patch, +nice-0.9.9.ebuild: + initial import, ebuild submitted by Jason R Briggs <jason@lateralnz.co> + diff --git a/dev-java/nice/Manifest b/dev-java/nice/Manifest new file mode 100644 index 000000000000..3d5aa2f2d3f4 --- /dev/null +++ b/dev-java/nice/Manifest @@ -0,0 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 ac4ed211ee282f71de72e4ac38378f2b nice-0.9.9.ebuild 1090 +MD5 cd2d4e5b22168bd765d8493fc754bc06 ChangeLog 410 +MD5 123cf9440c1d4ac78f2caba1624765f9 metadata.xml 158 +MD5 e5ec5690efd96c71d7f1437a92d7daaa files/digest-nice-0.9.9 70 +MD5 1da45564d5fbf7c40edf23127ba00131 files/nice-0.9.9.patch 653 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.2.6 (GNU/Linux) + +iD8DBQFBl1wj/rLF9B432nYRArRYAKCpeLN0GO5RGZcIXL8fTFd2GYreswCgqwTc +6XCJg3Fm46pzotxf6yo3V5o= +=a6Fo +-----END PGP SIGNATURE----- diff --git a/dev-java/nice/files/digest-nice-0.9.9 b/dev-java/nice/files/digest-nice-0.9.9 new file mode 100644 index 000000000000..87b61392bec4 --- /dev/null +++ b/dev-java/nice/files/digest-nice-0.9.9 @@ -0,0 +1 @@ +MD5 801bb276c189c39c97fff5ca6b6f4d48 Nice-0.9.9-source.tar.gz 2184172 diff --git a/dev-java/nice/files/nice-0.9.9.patch b/dev-java/nice/files/nice-0.9.9.patch new file mode 100644 index 000000000000..ac91f7053a87 --- /dev/null +++ b/dev-java/nice/files/nice-0.9.9.patch @@ -0,0 +1,20 @@ +--- ./Makefile 2004-09-20 23:07:48.000000000 +1200 ++++ ./Makefile 2004-09-30 13:46:20.701409989 +1200 +@@ -1,6 +1,6 @@ + + # Target directory for 'make install' +-PREFIX= /usr/local ++PREFIX= ${DESTDIR}/usr + BINDIR= ${PREFIX}/bin + DOCDIR= ${PREFIX}/share/doc/nice + MANDIR= ${PREFIX}/share/man/man1 +--- bin/nicec 2004-11-14 14:06:26.000000000 +0100 ++++ bin/nicec 2004-11-14 14:08:43.370862376 +0100 +@@ -53,6 +53,7 @@ + if [ -z "$NICEC_JAR" ]; then + find_home "$scriptName" + NICEC_JAR=${APPHOME}/share/java/nice.jar ++ NICEC_JAR=`java-config -p nice` + fi + + # Having a trailing ":" at the end of CLASSPATH seems to act as ":." on some platforms diff --git a/dev-java/nice/metadata.xml b/dev-java/nice/metadata.xml new file mode 100644 index 000000000000..7303cef96964 --- /dev/null +++ b/dev-java/nice/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>java</herd> +</pkgmetadata> diff --git a/dev-java/nice/nice-0.9.9.ebuild b/dev-java/nice/nice-0.9.9.ebuild new file mode 100644 index 000000000000..4ff035920aed --- /dev/null +++ b/dev-java/nice/nice-0.9.9.ebuild @@ -0,0 +1,47 @@ +# 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 $ + +inherit java-pkg eutils + +DESCRIPTION="A programming language based on, and extending from, Java." + +HOMEPAGE="http://nice.sourceforge.net" +SRC_URI="mirror://sourceforge/nice/Nice-${PV}-source.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" +RDEPEND=">=virtual/jdk-1.3" +DEPEND=">=virtual/jre-1.3 + sys-apps/groff + >=dev-java/javacc-3.2" +NICE="nice-${PV}.orig" +S="${WORKDIR}/${NICE}" + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${P}.patch + + cd ${S}/external + java-pkg_jar-from javacc +} + +src_compile() { + make || die "failed to compile" + mkdir man + ./bin/nicec --man > man/nicec.1 + ./bin/niceunit --man > man/niceunit.1 + groff -mandoc -Thtml man/nicec.1 > man/nicec.html +} + +src_test() { :; } + +src_install() { + dobin bin/nicec || die "nicec is missing" + dosym nicec /usr/bin/niceunit + java-pkg_dojar share/java/nice.jar + doman man/*.1 + dohtml man/nicec.html +} |