# Created by: Hiroto Kagotani # $FreeBSD: head/japanese/nhocr/Makefile 412347 2016-04-01 14:08:37Z mat $ PORTNAME= nhocr PORTVERSION= 0.21 CATEGORIES= japanese graphics MASTER_SITES= GOOGLE_CODE MAINTAINER= hiroto.kagotani@gmail.com COMMENT= OCR engine for Japanese language LICENSE= APACHE20 BUILD_DEPENDS= ${LOCALBASE}/lib/libsip.a:graphics/O2-tools LIB_DEPENDS= libfreetype.so:print/freetype2 GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-O2tools=${LOCALBASE} --datadir=${DATADIR} post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/share/ocropus/scripts ${INSTALL_DATA} ${WRKSRC}/ocropus/rec-nhocr-0.3.lua ${STAGEDIR}${PREFIX}/share/ocropus/scripts/rec-nhocr.lua .include