diff options
author | Saleem Abdulrasool <compnerd@gentoo.org> | 2005-12-10 18:18:27 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@gentoo.org> | 2005-12-10 18:18:27 +0000 |
commit | 501b10087cad74575009db10397ba39ff9832570 (patch) | |
tree | 7c109f5b7c799dc0b69b7a88c0eb902508cb2bd7 /dev-java/antlr | |
parent | Stable on alpha, bug 112842. (diff) | |
download | gentoo-2-501b10087cad74575009db10397ba39ff9832570.tar.gz gentoo-2-501b10087cad74575009db10397ba39ff9832570.tar.bz2 gentoo-2-501b10087cad74575009db10397ba39ff9832570.zip |
revbump for antlr with fixes to resolve bug #80862
(Portage version: 2.0.53)
Diffstat (limited to 'dev-java/antlr')
-rw-r--r-- | dev-java/antlr/ChangeLog | 9 | ||||
-rw-r--r-- | dev-java/antlr/Manifest | 19 | ||||
-rw-r--r-- | dev-java/antlr/antlr-2.7.5-r1.ebuild | 107 | ||||
-rw-r--r-- | dev-java/antlr/files/antlr.pc.in | 9 | ||||
-rw-r--r-- | dev-java/antlr/files/digest-antlr-2.7.5-r1 | 1 |
5 files changed, 131 insertions, 14 deletions
diff --git a/dev-java/antlr/ChangeLog b/dev-java/antlr/ChangeLog index ff3d1270b90b..52b74fbf54ab 100644 --- a/dev-java/antlr/ChangeLog +++ b/dev-java/antlr/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-java/antlr # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/antlr/ChangeLog,v 1.28 2005/07/09 15:58:08 axxo Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/antlr/ChangeLog,v 1.29 2005/12/10 18:18:27 compnerd Exp $ + +*antlr-2.7.5-r1 (10 Dec 2005) + + 10 Dec 2005; Saleem Abdulrasool <compnerd@gentoo.org> +files/antlr.pc.in, + +antlr-2.7.5-r1.ebuild: + Adding new revision of ANTLR 2.7.5 which resolves bug #80862. Adds a block on + pccts. 09 Jul 2005; Thomas Matthijs <axxo@gentoo.org> antlr-2.7.3.ebuild, antlr-2.7.4.ebuild, antlr-2.7.5.ebuild: diff --git a/dev-java/antlr/Manifest b/dev-java/antlr/Manifest index 4b2937779f7e..25ac0afb4db7 100644 --- a/dev-java/antlr/Manifest +++ b/dev-java/antlr/Manifest @@ -1,18 +1,11 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - +MD5 b72d7cefe51360e7039a92590f0b3e90 ChangeLog 4446 MD5 d34defbac0b825bb89496e1c71b9f38d antlr-2.7.3.ebuild 835 -MD5 b9ee6727a92d87fd550721b205ecaaf9 antlr-2.7.5.ebuild 1016 MD5 ee19998d8ed1a41fb4402d1d4aeecd9e antlr-2.7.4.ebuild 1019 -MD5 8f34eb7ea3ae78b999cf34059df5a5c2 ChangeLog 4222 -MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157 +MD5 ade0f38347517960776f61379c1fc496 antlr-2.7.5-r1.ebuild 2484 +MD5 b9ee6727a92d87fd550721b205ecaaf9 antlr-2.7.5.ebuild 1016 +MD5 f48a40b0b28f1cb3e973c726c883f501 files/antlr.pc.in 155 MD5 021b7855447990ffc37500ffb64fb834 files/digest-antlr-2.7.3 64 MD5 a2da49e52406fae792c6d38bdf980d0f files/digest-antlr-2.7.4 64 MD5 f40028cdafa23c0b364b0ef1287460ce files/digest-antlr-2.7.5 64 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.1 (GNU/Linux) - -iD8DBQFC3Uqj/rLF9B432nYRApB3AKDB/k93ZMDeKAh2PPWBexauTiN/WgCfV+9K -0adTJG4ZzBB0b2F2mCyPzJw= -=zbnd ------END PGP SIGNATURE----- +MD5 f40028cdafa23c0b364b0ef1287460ce files/digest-antlr-2.7.5-r1 64 +MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157 diff --git a/dev-java/antlr/antlr-2.7.5-r1.ebuild b/dev-java/antlr/antlr-2.7.5-r1.ebuild new file mode 100644 index 000000000000..251b8890e177 --- /dev/null +++ b/dev-java/antlr/antlr-2.7.5-r1.ebuild @@ -0,0 +1,107 @@ +# Copyright 1999-2005 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-r1.ebuild,v 1.1 2005/12/10 18:18:27 compnerd Exp $ + +inherit gnuconfig java-pkg 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 java mono nocxx python source" + +RDEPEND="java? ( >=virtual/jdk-1.2 dev-java/java-config ) + mono? ( dev-lang/mono dev-util/pkgconfig ) + python? ( dev-lang/python ) + source? ( app-arch/zip )" +DEPEND="${RDEPEND} + !dev-util/pccts + >=virtual/jdk-1.2 + >=sys-apps/sed-4 + sys-apps/findutils" + +src_compile() { + gnuconfig_update + + local myconf= + if use nocxx ; then + myconf="--disable-cxx" + else + myconf="--enable-cxx" + fi + + econf $(use_enable java) \ + $(use_enable python) \ + $(use_enable mono csharp) \ + $(use_enable debug) \ + $(use_enable examples) \ + ${myconf} \ + --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 + + cat > antlr.sh <<-EOF + #!/bin/sh + ANTLR_JAR=\$(java-config -p antlr) + \$(java-config -J) -cp \$ANTLR_JAR antlr.Tool \$* + EOF +} + +src_install() { + exeinto /usr/bin + doexe ${S}/scripts/antlr-config + newexe ${S}/antlr.sh antlr + + if ! use nocxx ; then + cd ${S}/lib/cpp + einstall || die "failed to install C++ files" + fi + + if use java ; then + 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/antlr.pc.in b/dev-java/antlr/files/antlr.pc.in new file mode 100644 index 000000000000..fb5480637a90 --- /dev/null +++ b/dev-java/antlr/files/antlr.pc.in @@ -0,0 +1,9 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ + + +Name: antlr +Description: ANother Tool for Language Recognition +Version: @VERSION@ +Libs: @libs@ diff --git a/dev-java/antlr/files/digest-antlr-2.7.5-r1 b/dev-java/antlr/files/digest-antlr-2.7.5-r1 new file mode 100644 index 000000000000..933fddaf1fc2 --- /dev/null +++ b/dev-java/antlr/files/digest-antlr-2.7.5-r1 @@ -0,0 +1 @@ +MD5 1ef201f29283179c8e5ab618529cac78 antlr-2.7.5.tar.gz 1636304 |