xref: /mports/graphics/tesseract-data/Makefile
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1PORTNAME=	tesseract-data
2PORTVERSION=	4.1.0
3CATEGORIES=	graphics
4
5MAINTAINER=	ports@MidnightBSD.org
6COMMENT=	Trained language data for the Tesseract OCR engine
7WWW=		https://github.com/tesseract-ocr/tessdata
8
9LICENSE=	Apache-2.0
10
11USE_GITHUB=	yes
12GH_ACCOUNT=	tesseract-ocr
13GH_PROJECT=	tessdata
14
15NO_BUILD=	yes
16NO_ARCH=	yes
17
18DATADIR=	${PREFIX}/share/tessdata
19PORTDATA=	*
20
21BROKEN_sparc64=		Fails to install: runaway process
22
23do-install:
24	@${MKDIR} ${DATADIR}
25.for l in ${PORTDATA}
26	@${CP} ${WRKSRC}/*.traineddata ${DATADIR}/
27.endfor
28	@cd ${DATADIR} ; ${CHMOD} ${BINMODE} ${PORTDATA}
29
30.include <bsd.port.mk>
31

served by {OpenGrok

Last Index Update: Sun Mar 22 17:06:33 EDT 2026