diff options
author | Joshua Nichols <nichoj@gentoo.org> | 2006-07-23 16:08:43 +0000 |
---|---|---|
committer | Joshua Nichols <nichoj@gentoo.org> | 2006-07-23 16:08:43 +0000 |
commit | 9bf647a891ace57188c89c49f9433a40b04deb4f (patch) | |
tree | 95ab51d8c361b42912387e7b96a3f6ab118ccf57 /dev-java/antlr | |
parent | Clean up unnecessary versions (diff) | |
download | historical-9bf647a891ace57188c89c49f9433a40b04deb4f.tar.gz historical-9bf647a891ace57188c89c49f9433a40b04deb4f.tar.bz2 historical-9bf647a891ace57188c89c49f9433a40b04deb4f.zip |
Revision bump to use new Java system.
Package-Manager: portage-2.1.1_pre2-r4
Diffstat (limited to 'dev-java/antlr')
-rw-r--r-- | dev-java/antlr/ChangeLog | 7 | ||||
-rw-r--r-- | dev-java/antlr/Manifest | 17 | ||||
-rw-r--r-- | dev-java/antlr/antlr-2.7.5-r3.ebuild | 109 | ||||
-rw-r--r-- | dev-java/antlr/files/digest-antlr-2.7.5-r3 | 3 |
4 files changed, 130 insertions, 6 deletions
diff --git a/dev-java/antlr/ChangeLog b/dev-java/antlr/ChangeLog index f972f335a67d..41289e79a988 100644 --- a/dev-java/antlr/ChangeLog +++ b/dev-java/antlr/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-java/antlr # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/antlr/ChangeLog,v 1.40 2006/05/24 21:05:51 hansmi Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/antlr/ChangeLog,v 1.41 2006/07/23 16:08:43 nichoj Exp $ + +*antlr-2.7.5-r3 (21 Jul 2006) + + 21 Jul 2006; Joshua Nichols <jnichols@gentoo.org> +antlr-2.7.5-r3.ebuild: + Revision bump to use new Java system. 24 May 2006; Michael Hanselmann <hansmi@gentoo.org> antlr-2.7.5-r2.ebuild: Stable on ppc. diff --git a/dev-java/antlr/Manifest b/dev-java/antlr/Manifest index 066a1fadac75..d04ad527305e 100644 --- a/dev-java/antlr/Manifest +++ b/dev-java/antlr/Manifest @@ -4,7 +4,7 @@ RMD160 9e65e2d813b035fceba2893da2b14e21b579ff22 files/antlr.pc.in 155 SHA256 31bf717831c33e3088958712f2c6629427a505ee0a48030e65b4f733e0bf277f files/antlr.pc.in 155 DIST antlr-2.7.3.tar.gz 1347836 RMD160 5aa529deb661944c07cae99f41e2e1d1d16d50dc SHA256 c270f36e9fb7b56ffee0a6b0163151ad8a89c6899f0d9470521f1ed41671a830 DIST antlr-2.7.4.tar.gz 1351581 RMD160 23c9c2eb56a769b777402649b7b8679df86be943 SHA256 df903d542f8d2536d91eb9377afe745f23b3ee0b5ab407686403664b78699df2 -DIST antlr-2.7.5.tar.gz 1636304 RMD160 3fc0e8d32c6e281cce5e39153ddfbbe9cc0aff02 SHA256 744d8f3a8206fbc45a5558d92163d5ef7e5e0cc0700283bb6a617fb1201629f9 +DIST antlr-2.7.5.tar.gz 1636304 RMD160 3fc0e8d32c6e281cce5e39153ddfbbe9cc0aff02 SHA1 dca9cf037306a470f97fee365af2eced0d8cf249 SHA256 744d8f3a8206fbc45a5558d92163d5ef7e5e0cc0700283bb6a617fb1201629f9 EBUILD antlr-2.7.3.ebuild 835 RMD160 19ed360554303e927be682f3a87075e60e094ac3 SHA1 58f4240f437b0acd06dd96118af2eddb423732e6 SHA256 5775edf3c3e3440ee20537745fab0bc2715a2333088afeba6b1240e4a7f5af97 MD5 d34defbac0b825bb89496e1c71b9f38d antlr-2.7.3.ebuild 835 RMD160 19ed360554303e927be682f3a87075e60e094ac3 antlr-2.7.3.ebuild 835 @@ -17,10 +17,14 @@ EBUILD antlr-2.7.5-r2.ebuild 2755 RMD160 bde51d27a1c80093f48b48a4b033314b2d5d0f4 MD5 2eb55354ce4cb8e13181f6dab8f9ff0c antlr-2.7.5-r2.ebuild 2755 RMD160 bde51d27a1c80093f48b48a4b033314b2d5d0f4d antlr-2.7.5-r2.ebuild 2755 SHA256 b2da99575005a4e734f5fbcd03b1dd611c533e8db77ec57de46e69c50cd68497 antlr-2.7.5-r2.ebuild 2755 -MISC ChangeLog 5892 RMD160 ec314dfb36b941bb206812c1ac482713a7fddb81 SHA1 73e61501f97a3be42d5fe913a850ea96364351f2 SHA256 bf96f8aaf7923f7d188f32e03efa1ee44144c9bb8fe5725b5477dc0dd747cd9e -MD5 289bad85d5658463894d93c08939b06c ChangeLog 5892 -RMD160 ec314dfb36b941bb206812c1ac482713a7fddb81 ChangeLog 5892 -SHA256 bf96f8aaf7923f7d188f32e03efa1ee44144c9bb8fe5725b5477dc0dd747cd9e ChangeLog 5892 +EBUILD antlr-2.7.5-r3.ebuild 2638 RMD160 a58cf8e084448fc5f718f907922e6afa9b6eea03 SHA1 0884f594de8db1641165fe9528d6b4916da9c592 SHA256 dbe8e1246188ee0753d77d3e033772ad8642debb7481b4559682a25a989155ab +MD5 a15e55bbc211f242f65bfa9deda52353 antlr-2.7.5-r3.ebuild 2638 +RMD160 a58cf8e084448fc5f718f907922e6afa9b6eea03 antlr-2.7.5-r3.ebuild 2638 +SHA256 dbe8e1246188ee0753d77d3e033772ad8642debb7481b4559682a25a989155ab antlr-2.7.5-r3.ebuild 2638 +MISC ChangeLog 6040 RMD160 ce94e9765aee80014a9e7b370725b7d387c4d69e SHA1 70520eb32ebed429b60c21783f67a3c2a7cca816 SHA256 3272663608f1142b58e5ae37a58a119f89f6a15e940997e013d26672ff747e1e +MD5 82300528ea67ce7abfc57a1c5ae7405d ChangeLog 6040 +RMD160 ce94e9765aee80014a9e7b370725b7d387c4d69e ChangeLog 6040 +SHA256 3272663608f1142b58e5ae37a58a119f89f6a15e940997e013d26672ff747e1e ChangeLog 6040 MISC metadata.xml 157 RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 SHA1 c37a6b9922aef61b5b3387655bccb6e3b16e0e26 SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9 MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157 RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 metadata.xml 157 @@ -34,3 +38,6 @@ SHA256 cb40df7c596c7eb068ece729efed3b44f9ca16921117acf335a194d6c66e9a0f files/di MD5 693e5263a136acc11d7beb195033eaf9 files/digest-antlr-2.7.5-r2 238 RMD160 01d58c2066cee04163b6abe5e8329cda73197b6b files/digest-antlr-2.7.5-r2 238 SHA256 ee53b3dc00814487100225cdc1bb3b3592ae4476663f907fab9e09989f823304 files/digest-antlr-2.7.5-r2 238 +MD5 693e5263a136acc11d7beb195033eaf9 files/digest-antlr-2.7.5-r3 238 +RMD160 01d58c2066cee04163b6abe5e8329cda73197b6b files/digest-antlr-2.7.5-r3 238 +SHA256 ee53b3dc00814487100225cdc1bb3b3592ae4476663f907fab9e09989f823304 files/digest-antlr-2.7.5-r3 238 diff --git a/dev-java/antlr/antlr-2.7.5-r3.ebuild b/dev-java/antlr/antlr-2.7.5-r3.ebuild new file mode 100644 index 000000000000..338714f1a105 --- /dev/null +++ b/dev-java/antlr/antlr-2.7.5-r3.ebuild @@ -0,0 +1,109 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/antlr/antlr-2.7.5-r3.ebuild,v 1.1 2006/07/23 16:08:43 nichoj Exp $ + +inherit gnuconfig java-pkg-2 mono distutils multilib + +DESCRIPTION="A parser generator for C++, C#, Java, and Python" +HOMEPAGE="http://www.antlr.org/" +SRC_URI="http://www.antlr.org/download/${P}.tar.gz" + +LICENSE="ANTLR" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~x86" +IUSE="doc debug examples mono nocxx nojava python script source" + +RDEPEND=">=virtual/jdk-1.2 + dev-java/java-config + mono? ( dev-lang/mono dev-util/pkgconfig ) + python? ( dev-lang/python )" +DEPEND="${RDEPEND} + script? ( !dev-util/pccts ) + >=sys-apps/sed-4 + sys-apps/findutils + source? ( app-arch/zip )" + +src_compile() { + gnuconfig_update + + export JAVAC=javac + + export JAVACFLAGS="+ ${JAVACFLAGS}" + + econf $(use_enable !nojava java) \ + $(use_enable python) \ + $(use_enable mono csharp) \ + $(use_enable debug) \ + $(use_enable examples) \ + $(use_enable !nocxx cxx) \ + --enable-verbose || die "configure failed" + + emake || die "compile failed" + + sed -e "s|@prefix@|/usr/|" \ + -e 's|@exec_prefix@|${prefix}|' \ + -e "s|@libdir@|\$\{exec_prefix\}/$(get_libdir)/antlr|" \ + -e 's|@libs@|-r:\$\{libdir\}/antlr.astframe.dll -r:\$\{libdir\}/antlr.runtime.dll|' \ + -e "s|@VERSION@|${PV}|" \ + ${FILESDIR}/antlr.pc.in > ${S}/antlr.pc + + if ! use nojava && use script ; then + cat > antlr.sh <<-EOF + #!/bin/sh + ANTLR_JAR=\$(java-config -p antlr) + \$(java-config -J) -cp \$ANTLR_JAR antlr.Tool \$* + EOF + fi +} + +src_install() { + exeinto /usr/bin + doexe ${S}/scripts/antlr-config + + if ! use nocxx ; then + cd ${S}/lib/cpp + einstall || die "failed to install C++ files" + fi + + if ! use nojava ; then + exeinto /usr/bin + use script && newexe ${S}/antlr.sh antlr + + java-pkg_dojar ${S}/antlr/antlr.jar + + use source && java-pkg_dosrc ${S}/antlr + use doc && java-pkg_dohtml -r doc/* + fi + + if use mono ; then + cd ${S}/lib + + dodir /usr/$(get_libdir)/antlr/ + insinto /usr/$(get_libdir)/antlr/ + + doins antlr.astframe.dll + doins antlr.runtime.dll + + insinto /usr/$(get_libdir)/pkgconfig + doins ${S}/antlr.pc + fi + + if use python ; then + cd ${S}/lib/python + distutils_src_install + fi + + if use examples ; then + find ${S}/examples -iname Makefile\* -exec rm \{\} \; + + dodir /usr/share/doc/${PF}/examples + insinto /usr/share/doc/${PF}/examples + + ! use cxx && doins -r ${S}/examples/cpp + use java && doins -r ${S}/examples/java + use mono && doins -r ${S}/examples/csharp + use python && doins -r ${S}/examples/python + fi + + newdoc ${S}/README.txt README +} diff --git a/dev-java/antlr/files/digest-antlr-2.7.5-r3 b/dev-java/antlr/files/digest-antlr-2.7.5-r3 new file mode 100644 index 000000000000..2199ab9cb02a --- /dev/null +++ b/dev-java/antlr/files/digest-antlr-2.7.5-r3 @@ -0,0 +1,3 @@ +MD5 1ef201f29283179c8e5ab618529cac78 antlr-2.7.5.tar.gz 1636304 +RMD160 3fc0e8d32c6e281cce5e39153ddfbbe9cc0aff02 antlr-2.7.5.tar.gz 1636304 +SHA256 744d8f3a8206fbc45a5558d92163d5ef7e5e0cc0700283bb6a617fb1201629f9 antlr-2.7.5.tar.gz 1636304 |