freebsd-ports/japanese/nhocr/Makefile
Dmitry Marakasov e6004d57f2 OCR engine for Japanese language
WWW: http://code.google.com/p/nhocr

PR:		134720
Submitted by:	Hiroto Kagotani <hiroto.kagotani@gmail.com>
2009-05-31 22:34:54 +00:00

28 lines
708 B
Makefile

# New ports collection makefile for: nhocr
# Date created: 2009-05-20
# Whom: Hiroto Kagotani <hiroto.kagotani@gmail.com>
#
# $FreeBSD$
#
PORTNAME= nhocr
PORTVERSION= 0.16
CATEGORIES= japanese graphics
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
MAINTAINER= hiroto.kagotani@gmail.com
COMMENT= OCR engine for Japanese language
BUILD_DEPENDS= ${LOCALBASE}/lib/libsip.a:${PORTSDIR}/graphics/O2-tools
MAKE_JOBS_SAFE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-O2tools=${LOCALBASE} --datadir=${DATADIR}
post-install:
${MKDIR} ${PREFIX}/share/ocropus/scripts
${INSTALL_DATA} ${WRKSRC}/ocropus/rec-nhocr-0.3.lua ${PREFIX}/share/ocropus/scripts/rec-nhocr.lua
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>