Index: Makefile =================================================================== --- Makefile (revision 496948) +++ Makefile (working copy) @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= tesseract -PORTVERSION= 3.05.02 -PORTREVISION= 5 +PORTVERSION= 4.0.0 CATEGORIES= graphics MAINTAINER= pkubaj@anongoth.pl @@ -14,7 +13,8 @@ LIB_DEPENDS= liblept.so:graphics/leptonica RUN_DEPENDS= tesseract-data>=0:graphics/tesseract-data -USES= autoreconf compiler:c++11-lang localbase libtool pathfix pkgconfig +USES= autoreconf compiler:c++11-lang gnome localbase libtool pathfix \ + pkgconfig shebangfix GNU_CONFIGURE= yes USE_LDCONFIG= yes @@ -26,10 +26,11 @@ DATADIR= ${PREFIX}/share/tessdata PORTDATA= * PORTDOCS= AUTHORS ChangeLog README.md -PORTEXAMPLES= eurotext.tif phototest.tif INSTALL_TARGET= install-strip +SHEBANG_FILES= src/training/language-specific.sh \ + src/training/tesstrain.sh -OPTIONS_DEFINE= DOCS EXAMPLES TOOLS +OPTIONS_DEFINE= DOCS TOOLS OPTIONS_DEFAULT=TOOLS OPTIONS_SUB= yes TOOLS_DESC= Include training tools @@ -48,11 +49,6 @@ @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} -post-install-EXAMPLES-on: - @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} - cd ${WRKSRC} && ${INSTALL_DATA} testing/eurotext.tif \ - testing/phototest.tif ${STAGEDIR}${EXAMPLESDIR} - post-install-TOOLS-on: @cd ${WRKSRC} && ${MAKE} DESTDIR=${STAGEDIR} training-install Index: distinfo =================================================================== --- distinfo (revision 496948) +++ distinfo (working copy) @@ -1,3 +1,3 @@ -TIMESTAMP = 1529694939 -SHA256 (tesseract-ocr-tesseract-3.05.02_GH0.tar.gz) = 494d64ffa7069498a97b909a0e65a35a213989e0184f1ea15332933a90d43445 -SIZE (tesseract-ocr-tesseract-3.05.02_GH0.tar.gz) = 3571750 +TIMESTAMP = 1544717557 +SHA256 (tesseract-ocr-tesseract-4.0.0_GH0.tar.gz) = a1f5422ca49a32e5f35c54dee5112b11b99928fc9f4ee6695cdc6768d69f61dd +SIZE (tesseract-ocr-tesseract-4.0.0_GH0.tar.gz) = 1961372 Index: pkg-plist =================================================================== --- pkg-plist (revision 496948) +++ pkg-plist (working copy) @@ -1,31 +1,32 @@ %%TOOLS%%bin/ambiguous_words %%TOOLS%%bin/classifier_tester %%TOOLS%%bin/cntraining +%%TOOLS%%bin/combine_lang_model %%TOOLS%%bin/combine_tessdata %%TOOLS%%bin/dawg2wordlist +%%TOOLS%%bin/language-specific.sh +%%TOOLS%%bin/lstmtraining +%%TOOLS%%bin/lstmeval +%%TOOLS%%bin/merge_unicharsets %%TOOLS%%bin/mftraining %%TOOLS%%bin/set_unicharset_properties %%TOOLS%%bin/shapeclustering bin/tesseract +%%TOOLS%%bin/tesstrain.sh +%%TOOLS%%bin/tesstrain_utils.sh %%TOOLS%%bin/text2image %%TOOLS%%bin/unicharset_extractor %%TOOLS%%bin/wordlist2dawg include/tesseract/apitypes.h include/tesseract/baseapi.h -include/tesseract/basedir.h include/tesseract/capi.h -include/tesseract/errcode.h -include/tesseract/fileerr.h include/tesseract/genericvector.h include/tesseract/helpers.h include/tesseract/host.h include/tesseract/ltrresultiterator.h -include/tesseract/memry.h -include/tesseract/ndminx.h include/tesseract/ocrclass.h include/tesseract/osdetect.h include/tesseract/pageiterator.h -include/tesseract/params.h include/tesseract/platform.h include/tesseract/publictypes.h include/tesseract/renderer.h @@ -33,23 +34,11 @@ include/tesseract/serialis.h include/tesseract/strngs.h include/tesseract/tesscallback.h +include/tesseract/tess_version.h include/tesseract/thresholder.h include/tesseract/unichar.h -include/tesseract/unicharmap.h -include/tesseract/unicharset.h lib/libtesseract.a lib/libtesseract.so -lib/libtesseract.so.3 -lib/libtesseract.so.3.0.5 +lib/libtesseract.so.4 +lib/libtesseract.so.4.0.0 libdata/pkgconfig/tesseract.pc -man/man1/ambiguous_words.1.gz -man/man1/cntraining.1.gz -man/man1/combine_tessdata.1.gz -man/man1/dawg2wordlist.1.gz -man/man1/mftraining.1.gz -man/man1/shapeclustering.1.gz -man/man1/tesseract.1.gz -man/man1/unicharset_extractor.1.gz -man/man1/wordlist2dawg.1.gz -man/man5/unicharambigs.5.gz -man/man5/unicharset.5.gz