# $Id: Portfile,v 1.8 2006/04/21 06:21:25 mww Exp $

PortSystem 1.0

name			ocrad
version			0.15
categories		graphics
platforms		darwin
maintainers		mww@opendarwin.org
description		ocrad is an optical character recognition program
long_description	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 produces text in byte (8-bit) or UTF-8 \
				formats.

homepage		http://www.gnu.org/software/ocrad/ocrad.html
master_sites	gnu
checksums		sha1 f5b62d21b1efc863d46e42221cf0a6a48e078801
use_bzip2		yes

test.run		yes
test.cmd		../ocrad test.pbm > dp.txt && diff test.txt dp.txt
test.dir		${worksrcpath}/examples
test.target

destroot.target	install install-man

platform darwin 8 {
	build.args	CXX=/usr/bin/g++-4.0
}

