Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Feb 2021 00:29:54 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r565470 - head/graphics/tesseract-data
Message-ID:  <202102170029.11H0TsJu035263@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Wed Feb 17 00:29:54 2021
New Revision: 565470
URL: https://svnweb.freebsd.org/changeset/ports/565470

Log:
  graphics/tesseract-data: update to 4.1.0
  
  Changelog: https://github.com/tesseract-ocr/tessdata/compare/4.0.0...4.1.0

Modified:
  head/graphics/tesseract-data/Makefile
  head/graphics/tesseract-data/distinfo

Modified: head/graphics/tesseract-data/Makefile
==============================================================================
--- head/graphics/tesseract-data/Makefile	Wed Feb 17 00:26:00 2021	(r565469)
+++ head/graphics/tesseract-data/Makefile	Wed Feb 17 00:29:54 2021	(r565470)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	tesseract-data
-PORTVERSION=	4.0.0
+PORTVERSION=	4.1.0
 CATEGORIES=	graphics
 
 MAINTAINER=	pkubaj@FreeBSD.org
@@ -18,23 +18,14 @@ NO_BUILD=	yes
 NO_ARCH=	yes
 
 DATADIR=	${PREFIX}/share/tessdata
-TESSERACT_LANGS?=afr amh ara asm aze aze_cyrl bel ben bod bos bul cat ceb ces \
-		chi_sim chi_tra chr cym dan dan_frak deu deu_frak dzo ell eng \
-		enm epo equ est eus fas fin fra frk frm gle glg grc guj hat heb \
-		hin hrv hun iku ind isl ita ita_old jav jpn kan kat kat_old kaz \
-		khm kir kor kur lao lat lav lit mal mar mkd mlt msa mya nep nld \
-		nor ori osd pan pol por pus ron rus san sin slk slk_frak slv spa \
-		spa_old sqi srp srp_latn swa swe syr tam tel tgk tgl tha tir tur \
-		uig ukr urd uzb uzb_cyrl vie yid
+PORTDATA=	*
 
-PORTDATA=	${TESSERACT_LANGS:O:u:S|$|.traineddata|}
-
 BROKEN_sparc64=		Fails to install: runaway process
 
 do-install:
 	@${MKDIR} ${STAGEDIR}${DATADIR}
 .for l in ${PORTDATA}
-	@${CP} ${WRKSRC}/${l} ${STAGEDIR}${DATADIR}/
+	@${CP} ${WRKSRC}/*.traineddata ${STAGEDIR}${DATADIR}/
 .endfor
 	@cd ${STAGEDIR}${DATADIR} ; ${CHMOD} ${BINMODE} ${PORTDATA}
 

Modified: head/graphics/tesseract-data/distinfo
==============================================================================
--- head/graphics/tesseract-data/distinfo	Wed Feb 17 00:26:00 2021	(r565469)
+++ head/graphics/tesseract-data/distinfo	Wed Feb 17 00:29:54 2021	(r565470)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1541176217
-SHA256 (tesseract-ocr-tessdata-4.0.0_GH0.tar.gz) = 38c637d3a1763f6c3d32e8f1d979f045668676ec5feb8ee1869ee77cedd31b08
-SIZE (tesseract-ocr-tessdata-4.0.0_GH0.tar.gz) = 669258747
+TIMESTAMP = 1613514169
+SHA256 (tesseract-ocr-tessdata-4.1.0_GH0.tar.gz) = 990fffb9b7a9b52dc9a2d053a9ef6852ca2b72bd8dfb22988b0b990a700fd3c7
+SIZE (tesseract-ocr-tessdata-4.1.0_GH0.tar.gz) = 668504362



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202102170029.11H0TsJu035263>