aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/gocr/Makefile34
-rw-r--r--graphics/gocr/distinfo1
-rw-r--r--graphics/gocr/pkg-descr12
-rw-r--r--graphics/gocr/pkg-plist7
5 files changed, 55 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index 15b4639a0445..418b2a9ec882 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -107,6 +107,7 @@
SUBDIR += gnofract4d
SUBDIR += gnomecanvas
SUBDIR += gnomeiconedit
+ SUBDIR += gocr
SUBDIR += gozer
SUBDIR += gpaint
SUBDIR += gphoto2
diff --git a/graphics/gocr/Makefile b/graphics/gocr/Makefile
new file mode 100644
index 000000000000..4dd362178850
--- /dev/null
+++ b/graphics/gocr/Makefile
@@ -0,0 +1,34 @@
+# New ports collection makefile for: gocr
+# Date created: 03 June 2002
+# Whom: Kay Lehmann
+#
+# $FreeBSD$
+#
+
+PORTNAME= gocr
+PORTVERSION= 0.37
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= jocr
+
+MAINTAINER= kay_lehmann@web.de
+COMMENT= GOCR/JOCR is an OCR (Optical Character Recognition) program
+
+BUILD_DEPENDS= latex:${PORTSDIR}/print/teTeX
+
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+
+MAN1= gocr.1
+
+DOC_FILES= examples.txt gocr.html unicode.txt
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+.for file in ${DOC_FILES}
+ @${INSTALL_DATA} ${WRKSRC}/doc/${file} ${DOCSDIR}
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/graphics/gocr/distinfo b/graphics/gocr/distinfo
new file mode 100644
index 000000000000..f72a732797f8
--- /dev/null
+++ b/graphics/gocr/distinfo
@@ -0,0 +1 @@
+MD5 (gocr-0.37.tar.gz) = 824984b5d5c44b6e3c2a1a1d5fb6d48e
diff --git a/graphics/gocr/pkg-descr b/graphics/gocr/pkg-descr
new file mode 100644
index 000000000000..75e96118c58c
--- /dev/null
+++ b/graphics/gocr/pkg-descr
@@ -0,0 +1,12 @@
+GOCR/JOCR is an OCR (Optical Character Recognition) program, developed
+under the GNU Public License.
+
+GOCR can be used with different front-ends, which makes it very
+easy to port to different OSes and architectures. It can open many
+different image formats, and its quality have been improving in a
+daily basis.
+
+WWW: http://jocr.sourceforge.net/
+
+- Lehmann
+kay_lehmann@web.de
diff --git a/graphics/gocr/pkg-plist b/graphics/gocr/pkg-plist
new file mode 100644
index 000000000000..3fb4584160dc
--- /dev/null
+++ b/graphics/gocr/pkg-plist
@@ -0,0 +1,7 @@
+bin/gocr
+include/gocr.h
+lib/libPgm2asc.a
+share/doc/gocr/examples.txt
+share/doc/gocr/gocr.html
+share/doc/gocr/unicode.txt
+@dirrm share/doc/gocr