summaryrefslogtreecommitdiff
path: root/japanese/nhocr/Makefile
blob: 8d6bda9ebebbb49f9d594607a347a2e37fe31694 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Created by: Hiroto Kagotani <hiroto.kagotani@gmail.com>
# $FreeBSD$

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

BROKEN=		Unfetchable (google code has gone away)
DEPRECATED=	Unfetchable for more than six months (google code has gone away)
EXPIRATION_DATE=	2017-04-30

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 <bsd.port.mk>