summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gardiner <obz@gentoo.org>2004-02-10 14:32:14 +0000
committerMike Gardiner <obz@gentoo.org>2004-02-10 14:32:14 +0000
commitcfc416404bd5b1afba9c1e429f04591312adcb20 (patch)
tree8d4b7b02665e25c4dd301fa38b27ff89f8ef03eb /app-text/gocr
parentFixing directory location on mirrors. (diff)
downloadgentoo-2-cfc416404bd5b1afba9c1e429f04591312adcb20.tar.gz
gentoo-2-cfc416404bd5b1afba9c1e429f04591312adcb20.tar.bz2
gentoo-2-cfc416404bd5b1afba9c1e429f04591312adcb20.zip
Included examples in the USE='doc' case, thanks to pYrania, see bug #40617
Diffstat (limited to 'app-text/gocr')
-rw-r--r--app-text/gocr/ChangeLog8
-rw-r--r--app-text/gocr/gocr-0.3.6-r2.ebuild7
-rw-r--r--app-text/gocr/gocr-0.37.ebuild13
3 files changed, 15 insertions, 13 deletions
diff --git a/app-text/gocr/ChangeLog b/app-text/gocr/ChangeLog
index ffbee2b5ee5d..685b99a8b626 100644
--- a/app-text/gocr/ChangeLog
+++ b/app-text/gocr/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-text/gocr
-# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/gocr/ChangeLog,v 1.12 2003/12/09 17:36:47 lanius Exp $
+# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/gocr/ChangeLog,v 1.13 2004/02/10 14:32:14 obz Exp $
+
+ 10 Feb 2004; Mike Gardiner <obz@gentoo.org> gocr-0.3.6-r2.ebuild,
+ gocr-0.37.ebuild:
+ Included examples in the USE='doc' case, thanks to pYrania, see bug #40617
09 Dec 2003; Heinrich Wendel <lanius@gentoo.org> gocr-0.3.6-r2.ebuild:
changed app-text/ghostscript to virtual/ghostscript
diff --git a/app-text/gocr/gocr-0.3.6-r2.ebuild b/app-text/gocr/gocr-0.3.6-r2.ebuild
index d9e62d6e078a..c03bf10011c1 100644
--- a/app-text/gocr/gocr-0.3.6-r2.ebuild
+++ b/app-text/gocr/gocr-0.3.6-r2.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/gocr/gocr-0.3.6-r2.ebuild,v 1.14 2003/12/09 17:36:47 lanius Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/gocr/gocr-0.3.6-r2.ebuild,v 1.15 2004/02/10 14:32:14 obz Exp $
DESCRIPTION="Converts PNM to ASCII"
SRC_URI="mirror://sourceforge/jocr/${P}.tar.gz"
@@ -15,8 +15,7 @@ RDEPEND="=media-libs/netpbm-9.12*"
DEPEND="${RDEPEND}
app-text/tetex
virtual/ghostscript
- tetex? ( >=tetex-1.0.7-r10
- >=transfig-3.2.3d-r1 )"
+ tetex? ( >=media-gfx/transfig-3.2.3d-r1 )"
src_unpack() {
unpack ${A}
diff --git a/app-text/gocr/gocr-0.37.ebuild b/app-text/gocr/gocr-0.37.ebuild
index ad1ecf1ff14b..163bbc574ac2 100644
--- a/app-text/gocr/gocr-0.37.ebuild
+++ b/app-text/gocr/gocr-0.37.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/gocr/gocr-0.37.ebuild,v 1.1 2003/09/16 05:25:41 obz Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/gocr/gocr-0.37.ebuild,v 1.2 2004/02/10 14:32:14 obz Exp $
DESCRIPTION="An OCR (Optical Character Recognition) reader"
HOMEPAGE="http://jocr.sourceforge.net"
@@ -31,7 +31,7 @@ src_compile() {
local mymakes="src man"
use gtk && mymakes="${mymakes} frontend"
- use doc && mymakes="${mymakes} doc"
+ use doc && mymakes="${mymakes} doc examples"
econf || die
make ${mymakes} || die
@@ -42,11 +42,10 @@ src_install() {
make DESTDIR="${D}" prefix="/usr" exec_prefix="/usr" install || die
# install the gtk frontend
- use gtk \
- && dobin ${S}/frontend/gnome/src/gtk-ocr
- # and install the documentation examples
+ use gtk && dobin ${S}/frontend/gnome/src/gtk-ocr
+ # and install the documentation and examples
if [ `use doc` ] ; then
- DOCS="${DOCS} doc/gocr.html doc/{examples,unicode}.txt"
+ DOCS="${DOCS} doc/gocr.html doc/examples.txt doc/unicode.txt"
insinto /usr/share/doc/${P}/examples
doins ${S}/examples/*.{fig,tex,pcx}
fi