summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Brinkmann <luckyduck@gentoo.org>2005-02-05 15:59:53 +0000
committerJan Brinkmann <luckyduck@gentoo.org>2005-02-05 15:59:53 +0000
commit0821390c373e105a7fdeabed4a002ca668d4b47c (patch)
tree9f4650af78f72f6069e18c52e2c0f358b2334b62 /dev-java
parentMark stable on x86. (diff)
downloadhistorical-0821390c373e105a7fdeabed4a002ca668d4b47c.tar.gz
historical-0821390c373e105a7fdeabed4a002ca668d4b47c.tar.bz2
historical-0821390c373e105a7fdeabed4a002ca668d4b47c.zip
added support for the doc and the examples useflag. fixes #80862
Package-Manager: portage-2.0.51-r15
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/antlr/ChangeLog5
-rw-r--r--dev-java/antlr/Manifest4
-rw-r--r--dev-java/antlr/antlr-2.7.4.ebuild18
3 files changed, 19 insertions, 8 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/Manifest b/dev-java/antlr/Manifest
index a9bbe210a769..944150946776 100644
--- a/dev-java/antlr/Manifest
+++ b/dev-java/antlr/Manifest
@@ -1,6 +1,6 @@
-MD5 773b064d723f53af60a7159cacb127ac ChangeLog 3837
MD5 bf74bbba19c65dd58240bb8e98ce7cf2 antlr-2.7.3.ebuild 744
-MD5 5f869d0728ff830a8746aef2ecc4fd95 antlr-2.7.4.ebuild 767
+MD5 2935006f08d3819a64f6c530b2539104 antlr-2.7.4.ebuild 901
+MD5 df7e318a5d0b4d8ba53cc05345146ea7 ChangeLog 3979
MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157
MD5 021b7855447990ffc37500ffb64fb834 files/digest-antlr-2.7.3 64
MD5 a2da49e52406fae792c6d38bdf980d0f files/digest-antlr-2.7.4 64
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
}