diff options
author | Jan Brinkmann <luckyduck@gentoo.org> | 2005-02-05 15:59:53 +0000 |
---|---|---|
committer | Jan Brinkmann <luckyduck@gentoo.org> | 2005-02-05 15:59:53 +0000 |
commit | 8d8d4e77d2062ab36a09abd251dd6951a0212e73 (patch) | |
tree | 954681f7adaa14ca2a9f6f11ea6c6e2f7f181bd9 /dev-java/antlr | |
parent | Mark stable on x86. (diff) | |
download | gentoo-2-8d8d4e77d2062ab36a09abd251dd6951a0212e73.tar.gz gentoo-2-8d8d4e77d2062ab36a09abd251dd6951a0212e73.tar.bz2 gentoo-2-8d8d4e77d2062ab36a09abd251dd6951a0212e73.zip |
added support for the doc and the examples useflag. fixes #80862
(Portage version: 2.0.51-r15)
Diffstat (limited to 'dev-java/antlr')
-rw-r--r-- | dev-java/antlr/ChangeLog | 5 | ||||
-rw-r--r-- | dev-java/antlr/antlr-2.7.4.ebuild | 18 |
2 files changed, 17 insertions, 6 deletions
diff --git a/dev-java/antlr/ChangeLog b/dev-java/antlr/ChangeLog index 532646d3c405..52aeb4b85374 100644 --- a/dev-java/antlr/ChangeLog +++ b/dev-java/antlr/ChangeLog @@ -1,6 +1,9 @@ # 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.25 2005/01/26 21:24:06 corsair Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/antlr/ChangeLog,v 1.26 2005/02/05 15:59:53 luckyduck Exp $ + + 05 Feb 2005; Jan Brinkmann <luckyduck@gentoo.org> antlr-2.7.4.ebuild: + added support for the doc and the examples useflag. fixes #80862 26 Jan 2005; Markus Rothe <corsair@gentoo.org> antlr-2.7.4.ebuild: Stable on ppc64 diff --git a/dev-java/antlr/antlr-2.7.4.ebuild b/dev-java/antlr/antlr-2.7.4.ebuild index e5f05cdd6cdf..8c2b861a20d0 100644 --- a/dev-java/antlr/antlr-2.7.4.ebuild +++ b/dev-java/antlr/antlr-2.7.4.ebuild @@ -1,6 +1,6 @@ # 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.4.ebuild,v 1.6 2005/01/26 21:24:06 corsair Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/antlr/antlr-2.7.4.ebuild,v 1.7 2005/02/05 15:59:53 luckyduck Exp $ inherit java-pkg gnuconfig @@ -11,7 +11,7 @@ DEPEND=">=virtual/jdk-1.2" SLOT="0" LICENSE="ANTLR" KEYWORDS="~x86 ~amd64 ppc64" -IUSE="" +IUSE="doc examples" src_compile() { gnuconfig_update @@ -20,12 +20,20 @@ src_compile() { } src_install () { - insinto /usr/share/antlr java-pkg_dojar *.jar + + insinto /usr/share/antlr doins extras/antlr-mode.el - java-pkg_dohtml -r doc/* - cp -R examples ${D}/usr/share/doc/${P}/ + + dobin scripts/antlr-config + + use doc && java-pkg_dohtml -r doc/* dodoc RIGHTS + + if use examples; then + dodir /usr/share/doc/${PF}/examples + cp -r examples/* ${D}/usr/share/doc/${PF}/examples + fi cd lib/cpp make DESTDIR=$D install } |