pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/gocr Re-import textproc/gocr as graphics/gocr...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3c10325f949e
branches:  trunk
changeset: 501104:3c10325f949e
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Oct 16 20:20:41 2005 +0000

description:
Re-import textproc/gocr as graphics/gocr (better fit).

diffstat:

 graphics/gocr/DESCR            |   7 +++++++
 graphics/gocr/Makefile         |  14 ++++++++++++++
 graphics/gocr/PLIST            |   5 +++++
 graphics/gocr/distinfo         |   7 +++++++
 graphics/gocr/patches/patch-aa |  18 ++++++++++++++++++
 graphics/gocr/patches/patch-ab |  12 ++++++++++++
 6 files changed, 63 insertions(+), 0 deletions(-)

diffs (87 lines):

diff -r 940bd8b668aa -r 3c10325f949e graphics/gocr/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/gocr/DESCR       Sun Oct 16 20:20:41 2005 +0000
@@ -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 -r 940bd8b668aa -r 3c10325f949e graphics/gocr/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/gocr/Makefile    Sun Oct 16 20:20:41 2005 +0000
@@ -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@localhost
+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 -r 940bd8b668aa -r 3c10325f949e graphics/gocr/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/gocr/PLIST       Sun Oct 16 20:20:41 2005 +0000
@@ -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 -r 940bd8b668aa -r 3c10325f949e graphics/gocr/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/gocr/distinfo    Sun Oct 16 20:20:41 2005 +0000
@@ -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 -r 940bd8b668aa -r 3c10325f949e graphics/gocr/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/gocr/patches/patch-aa    Sun Oct 16 20:20:41 2005 +0000
@@ -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 -r 940bd8b668aa -r 3c10325f949e graphics/gocr/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/gocr/patches/patch-ab    Sun Oct 16 20:20:41 2005 +0000
@@ -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)



Home | Main Index | Thread Index | Old Index