diff options
author | wiz <wiz> | 2005-10-16 20:20:41 +0000 |
---|---|---|
committer | wiz <wiz> | 2005-10-16 20:20:41 +0000 |
commit | b450696e840d28d6bc694784e358a6eb0e80b1f7 (patch) | |
tree | d694a7cda7dabc4a7bc6a0bf22d404595ce21027 /graphics/gocr | |
parent | bc1fdf251adf858c3f1514e17ef05833450567e4 (diff) | |
download | pkgsrc-b450696e840d28d6bc694784e358a6eb0e80b1f7.tar.gz |
Re-import textproc/gocr as graphics/gocr (better fit).
Diffstat (limited to 'graphics/gocr')
-rw-r--r-- | graphics/gocr/DESCR | 7 | ||||
-rw-r--r-- | graphics/gocr/Makefile | 14 | ||||
-rw-r--r-- | graphics/gocr/PLIST | 5 | ||||
-rw-r--r-- | graphics/gocr/distinfo | 7 | ||||
-rw-r--r-- | graphics/gocr/patches/patch-aa | 18 | ||||
-rw-r--r-- | graphics/gocr/patches/patch-ab | 12 |
6 files changed, 63 insertions, 0 deletions
diff --git a/graphics/gocr/DESCR b/graphics/gocr/DESCR new file mode 100644 index 00000000000..cea5f69adb9 --- /dev/null +++ b/graphics/gocr/DESCR @@ -0,0 +1,7 @@ +GOCR is an optical character recognition program, released under the GNU +General Public License. It reads images in many formats (pnm, pbm, pgm, ppm, +some pcx and tga image files (or PNM from stdin); if PNM-tools installed and +running linux-like system you can also use pnm.gz, pnm.bz2, png, jpg, tiff, +gif, bmp and others) and outputs a text file. You do not have to train the +program or store large font bases. Simply call gocr from the command line +and get your results. diff --git a/graphics/gocr/Makefile b/graphics/gocr/Makefile new file mode 100644 index 00000000000..fe79bba4471 --- /dev/null +++ b/graphics/gocr/Makefile @@ -0,0 +1,14 @@ +# $NetBSD: Makefile,v 1.1.1.1 2005/10/16 20:20:41 wiz Exp $ + +DISTNAME= gocr-0.37 +CATEGORIES= graphics +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=jocr/} + +MAINTAINER= tech-pkg@NetBSD.org +HOMEPAGE= http://sourceforge.net/projects/jocr +COMMENT= GOCR is a set of OCR tools + +GNU_CONFIGURE= yes +USE_TOOLS+= gmake + +.include "../../mk/bsd.pkg.mk" diff --git a/graphics/gocr/PLIST b/graphics/gocr/PLIST new file mode 100644 index 00000000000..211d96f0132 --- /dev/null +++ b/graphics/gocr/PLIST @@ -0,0 +1,5 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2005/10/16 20:20:41 wiz Exp $ +bin/gocr +include/gocr.h +lib/libPgm2asc.a +man/man1/gocr.1 diff --git a/graphics/gocr/distinfo b/graphics/gocr/distinfo new file mode 100644 index 00000000000..fc7871dd856 --- /dev/null +++ b/graphics/gocr/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1.1.1 2005/10/16 20:20:41 wiz Exp $ + +SHA1 (gocr-0.37.tar.gz) = 41fa2e3f1fc17d27f1f1610441cec4d5f4a6201e +RMD160 (gocr-0.37.tar.gz) = 99227ad91d497c7c88f8ca86a4fedc766bdaef0b +Size (gocr-0.37.tar.gz) = 672962 bytes +SHA1 (patch-aa) = 106daf9fb2bf37f9a11972244b3c4e292178dbe2 +SHA1 (patch-ab) = 56833576531ee62dc96ab6d65e029448eacb88ea diff --git a/graphics/gocr/patches/patch-aa b/graphics/gocr/patches/patch-aa new file mode 100644 index 00000000000..c2b6e32f2d7 --- /dev/null +++ b/graphics/gocr/patches/patch-aa @@ -0,0 +1,18 @@ +$NetBSD: patch-aa,v 1.1.1.1 2005/10/16 20:20:41 wiz Exp $ + +--- configure.orig 2002-08-12 17:18:53.000000000 +0200 ++++ configure +@@ -946,9 +946,11 @@ else + fi + + +-CPPFLAGS=-I/usr/X11R6/include ++#CPPFLAGS=-I/usr/X11R6/include ++CPPFLAGS= + #LDFLAGS="-L/usr/X11R6/lib -lpbm -lpgm -lppm -lpnm" +-LDFLAGS="-L/usr/X11R6/lib -L/usr/local/netpbm/lib" ++#LDFLAGS="-L/usr/X11R6/lib -L/usr/local/netpbm/lib" ++LDFLAGS= + + ## pnm can only be found, if LDFLAGS contains -lpgm -lpnm ... etc. + ## is there a better solution ? diff --git a/graphics/gocr/patches/patch-ab b/graphics/gocr/patches/patch-ab new file mode 100644 index 00000000000..ed16937fe86 --- /dev/null +++ b/graphics/gocr/patches/patch-ab @@ -0,0 +1,12 @@ +$NetBSD: patch-ab,v 1.1.1.1 2005/10/16 20:20:41 wiz Exp $ + +--- src/Makefile.in.orig 2003-12-09 13:41:53.060784000 +0000 ++++ src/Makefile.in 2003-12-09 13:42:15.130080000 +0000 +@@ -66,7 +66,6 @@ + # PHONY = don't look at file clean, -rm = start rm and ignore errors + .PHONY : clean proper install + install: all +- $(INSTALL) -d $(DESTDIR)$(bindir) $(DESTDIR)$(libdir) $(DESTDIR)$(includedir) + $(INSTALL) ../bin/$(PROGRAM) $(DESTDIR)$(bindir) + $(INSTALL) $(LIBPGMASCLIB) $(DESTDIR)$(libdir) + $(INSTALL) $(INCLUDEFILES) $(DESTDIR)$(includedir) |