diff options
author | Sergei Kolobov <sergei@FreeBSD.org> | 2003-11-20 21:30:40 +0000 |
---|---|---|
committer | Sergei Kolobov <sergei@FreeBSD.org> | 2003-11-20 21:30:40 +0000 |
commit | acc9ba9bb2d27546775b7e3f2322cb6b7d008314 (patch) | |
tree | 013c02e02b7924ac4f07966dca68e917b86ccee7 /graphics/ocrad/files/patch-configure | |
parent | Update net/dhcpdump to version 1.6: (diff) |
Add ocrad 0.5, OCR program implemented as filter.
GNU Ocrad is an OCR (Optical Character Recognition) program implemented
as a filter and based on a feature extraction method. It reads a bitmap
image in pbm format and outputs text in ISO-8859-1 (Latin-1) charset.
Also includes a layout analyser able to separate the columns or blocks
of text normally found on printed pages.
It can be used as a stand-alone console application, or as a backend to
other programs.
PR: 59232
Submitted by: Ulrich Spoerlein <q@uni.de>
Notes
Notes:
svn path=/head/; revision=94543
Diffstat (limited to 'graphics/ocrad/files/patch-configure')
-rw-r--r-- | graphics/ocrad/files/patch-configure | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/graphics/ocrad/files/patch-configure b/graphics/ocrad/files/patch-configure new file mode 100644 index 000000000000..802fa316e8ee --- /dev/null +++ b/graphics/ocrad/files/patch-configure @@ -0,0 +1,29 @@ +--- configure.orig Mon Aug 25 00:07:09 2003 ++++ configure Wed Nov 12 22:50:24 2003 +@@ -13,7 +13,7 @@ + while true ; do + + # Break out if there are no more args +- if [ $# == 0 ]; then break ; fi ++ if [ $# = 0 ]; then break ; fi + + # Get the first arg, and shuffle + option=$1 +@@ -48,7 +48,7 @@ + + # Find the source files, if location was not specified. + srcdirtext= +-if [ x${srcdir} == x ]; then ++if [ x${srcdir} = x ]; then + srcdirtext="or . or .." ; srcdir=. + if [ ! -r ${srcdir}/${srctrigger} ] ; then srcdir=.. ; fi + if [ ! -r ${srcdir}/${srctrigger} ] ; then +@@ -65,7 +65,7 @@ + fi + + # Set srcdir to . if that's what it is. +-if [ $(pwd) == $(cd ${srcdir} ; pwd) ] ; then srcdir=. ; fi ++if [ $(pwd) = $(cd ${srcdir} ; pwd) ] ; then srcdir=. ; fi + + # write variables to config file. + rm -f Makefile |