diff options
author | Alistair Bush <ali_bush@gentoo.org> | 2009-04-15 11:20:50 +0000 |
---|---|---|
committer | Alistair Bush <ali_bush@gentoo.org> | 2009-04-15 11:20:50 +0000 |
commit | 8f2f0e532acacc63f48623e2f96cf38f88ac9c00 (patch) | |
tree | d525ef8ad61df4d15094ce5560894826428f6bb5 /dev-util/jay | |
parent | Document ESVN_MIRROR variable for kde eclasses. Requested on irc. (diff) | |
download | gentoo-2-8f2f0e532acacc63f48623e2f96cf38f88ac9c00.tar.gz gentoo-2-8f2f0e532acacc63f48623e2f96cf38f88ac9c00.tar.bz2 gentoo-2-8f2f0e532acacc63f48623e2f96cf38f88ac9c00.zip |
Moved dev-util/jay from java-overlay
(Portage version: 2.1.6.11/cvs/Linux x86_64)
Diffstat (limited to 'dev-util/jay')
-rw-r--r-- | dev-util/jay/ChangeLog | 24 | ||||
-rw-r--r-- | dev-util/jay/jay-1.1.1-r2.ebuild | 48 | ||||
-rw-r--r-- | dev-util/jay/metadata.xml | 6 |
3 files changed, 78 insertions, 0 deletions
diff --git a/dev-util/jay/ChangeLog b/dev-util/jay/ChangeLog new file mode 100644 index 000000000000..febcf62135a9 --- /dev/null +++ b/dev-util/jay/ChangeLog @@ -0,0 +1,24 @@ +# ChangeLog for dev-util/jay +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/jay/ChangeLog,v 1.1 2009/04/15 11:20:50 ali_bush Exp $ + +*jay-1.1.1-r2 (15 Apr 2009) + + 15 Apr 2009; Alistair Bush <ali_bush@gentoo.org> +metadata.xml, + +jay-1.1.1-r2.ebuild: + Move jay from java-overlay + + 13 Apr 2009; James Le Cuirot <chewi@aura-online.co.uk> -jay-1.1.1-r1.ebuild, + +jay-1.1.1-r2.ebuild: + I forgot about LDFLAGS. Fixes bug #265993. + + 12 Apr 2009; James Le Cuirot <chewi@aura-online.co.uk> -jay-1.1.1.ebuild, + +jay-1.1.1-r1.ebuild: + Use java_prepare. Fix makefiles to respect CC, CFLAGS and JAVACFLAGS. + +*jay-1.1.1 (22 Mar 2009) + + 22 Mar 2009; James Le Cuirot <chewi@aura-online.co.uk> +jay-1.1.1.ebuild: + Initial import. Only builds jay binary and yydebug.jar, not jay.jar or any of + the C# stuff, for the sake of my sanity. + diff --git a/dev-util/jay/jay-1.1.1-r2.ebuild b/dev-util/jay/jay-1.1.1-r2.ebuild new file mode 100644 index 000000000000..30375e13336c --- /dev/null +++ b/dev-util/jay/jay-1.1.1-r2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/jay/jay-1.1.1-r2.ebuild,v 1.1 2009/04/15 11:20:50 ali_bush Exp $ + +EAPI="2" +inherit java-pkg-2 toolchain-funcs + +DESCRIPTION="A LALR(1) parser generator: Berkeley yacc retargeted to C# and Java" +HOMEPAGE="http://www.cs.rit.edu/~ats/projects/lp/doc/jay/package-summary.html" +SRC_URI="http://www.cs.rit.edu/~ats/projects/lp/doc/jay/doc-files/src.zip -> ${P}.zip" +LICENSE="as-is" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=virtual/jre-1.4 + !<=dev-lang/mono-2.4" +DEPEND=">=virtual/jdk-1.4" + +S="${WORKDIR}/jay" + +RESTRICT="test" + +java_prepare() { + # Fix up ugly makefiles. + sed -i -r \ + -e "s:^CC\s*=.*:CC = `tc-getCC`:" \ + -e 's/^jay:.* \$e /\0$(LDFLAGS) /' \ + -e '/^CFLAGS\s*=/d' \ + src/makefile || die + + sed -i -r \ + -e 's:^v4\s*=.*:v4 = ${JAVA_HOME}/bin:' \ + -e 's:JAVAC\s*=.*:\0 ${JAVACFLAGS}:' \ + yydebug/makefile || die +} + +src_compile() { + emake -C src jay || die "failed to build jay executable" + emake -C yydebug yydebug.jar || die "failed to build yydebug.jar" +} + +src_install() { + dobin src/jay || die + doman jay.1 || die + dodoc README || die + java-pkg_dojar yydebug/yydebug.jar +} diff --git a/dev-util/jay/metadata.xml b/dev-util/jay/metadata.xml new file mode 100644 index 000000000000..604e0a4238bb --- /dev/null +++ b/dev-util/jay/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>java</herd> +</pkgmetadata> + |