blob: d4172f5c68df01ad3dda2756662510e15374364d (
plain) (
blame)
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
|
PORTNAME= tesseract-data
PORTVERSION= 4.1.0
CATEGORIES= graphics
MAINTAINER= pkubaj@FreeBSD.org
COMMENT= Trained language data for the Tesseract OCR engine
WWW= https://github.com/tesseract-ocr/tessdata
LICENSE= APACHE20
USE_GITHUB= yes
GH_ACCOUNT= tesseract-ocr
GH_PROJECT= tessdata
NO_BUILD= yes
NO_ARCH= yes
DATADIR= ${PREFIX}/share/tessdata
PORTDATA= *
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
.for l in ${PORTDATA}
@${CP} ${WRKSRC}/*.traineddata ${STAGEDIR}${DATADIR}/
.endfor
@cd ${STAGEDIR}${DATADIR} ; ${CHMOD} ${BINMODE} ${PORTDATA}
.include <bsd.port.mk>
|