06d626133c
August 27 2007 - V2.01 Fixed UTF8 input problems with box file reader. Fixed various infinite loops and crashes in dawg code. Removed include of config_auto.h from host.h. Added automatic wctype encoding to unicharset_extractor. Fixed dawg table too full error. Removed svn files from tarball. Added new functions to tessdll. Increased maximum utf8 string in a classification result to 8.
31 lines
1 KiB
Makefile
31 lines
1 KiB
Makefile
# $NetBSD: Makefile,v 1.3 2007/11/29 16:42:08 wiz Exp $
|
|
#
|
|
|
|
DISTNAME= tesseract-2.01
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= http://tesseract-ocr.googlecode.com/files/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://code.google.com/p/tesseract-ocr/
|
|
COMMENT= Commercial quality open source OCR engine
|
|
|
|
PKG_DESTDIR_SUPPORT=user-destdir
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_LANGUAGES= c c++
|
|
|
|
post-build:
|
|
${SED} -e "s,@PREFIX@,${PREFIX}," ${FILESDIR}/tesseract.sh \
|
|
> ${WRKSRC}/tesseract.sh
|
|
|
|
post-install:
|
|
${INSTALL_LIB_DIR} ${DESTDIR}${PREFIX}/libexec
|
|
${MV} ${DESTDIR}${PREFIX}/bin/tesseract ${DESTDIR}${PREFIX}/libexec
|
|
${INSTALL_SCRIPT} ${WRKSRC}/tesseract.sh ${DESTDIR}${PREFIX}/bin/tesseract
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/tesseract
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/tesseract
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/tesseract
|
|
${INSTALL_DATA} ${WRKSRC}/phototest.tif ${DESTDIR}${PREFIX}/share/tesseract
|
|
|
|
.include "../../graphics/tiff/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|