freebsd-ports/graphics/ocrfeeder/Makefile
Pawel Pekala a5aabc0a3d OCRFeeder is a document layout analysis and optical character recognition
system.

Given the images it will automatically outline its contents, distinguish
between what's graphics and text and perform OCR over the latter. It generates
multiple formats being its main one ODT.

It features a complete GTK graphical user interface that allows the users to
correct any unrecognized characters, defined or correct bounding boxes, set
paragraph styles, clean the input images, import PDFs, save and load the
project, export everything to multiple formats, etc. OCRFeeder was developed
as the project of the Master's Thesis in Computer Science of Joaquim Rocha.

WWW: http://live.gnome.org/OCRFeeder

PR:		ports/159549
Submitted by:	Kuan-Chung Chiu <buganini@gmail.com>
Approved by:	miwi, wen (mentors implicit)
2011-09-30 20:40:58 +00:00

40 lines
1 KiB
Makefile

# New ports collection makefile for: ocrfeeder
# Date created: 5 August 2011
# Whom: buganini@gmail.com
#
# $FreeBSD$
#
PORTNAME= ocrfeeder
PORTVERSION= 0.7.6
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR=sources/ocrfeeder/0.7
MAINTAINER= buganini@gmail.com
COMMENT= Document layout analysis and optical character recognition
LICENSE= GPLv3
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}enchant>=0:${PORTSDIR}/textproc/py-enchant \
${PYTHON_PKGNAMEPREFIX}imaging>=0:${PORTSDIR}/graphics/py-imaging \
${PYTHON_PKGNAMEPREFIX}sane>=0:${PORTSDIR}/graphics/py-sane \
${PYTHON_PKGNAMEPREFIX}reportlab2>=0:${PORTSDIR}/print/py-reportlab2 \
${PYTHON_PKGNAMEPREFIX}goocanvas>=0:${PORTSDIR}/graphics/py-goocanvas
RUN_DEPENDS:= ${BUILD_DEPENDS} \
unpaper:${PORTSDIR}/graphics/unpaper
MAN1= ocrfeeder-cli.1 ocrfeeder.1
USE_XZ= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_PYTHON= yes
USE_GNOME= pygtk2 pygnomeextras
USE_GETTEXT= yes
USE_GHOSTSCRIPT=yes
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>