View | Details | Raw Unified | Return to bug 234285 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-10 / +6 lines)
Lines 2-9 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	tesseract
4
PORTNAME=	tesseract
5
PORTVERSION=	3.05.02
5
PORTVERSION=	4.0.0
6
PORTREVISION=	5
7
CATEGORIES=	graphics
6
CATEGORIES=	graphics
8
7
9
MAINTAINER=	pkubaj@anongoth.pl
8
MAINTAINER=	pkubaj@anongoth.pl
Lines 14-20 Link Here
14
LIB_DEPENDS=	liblept.so:graphics/leptonica
13
LIB_DEPENDS=	liblept.so:graphics/leptonica
15
RUN_DEPENDS=	tesseract-data>=0:graphics/tesseract-data
14
RUN_DEPENDS=	tesseract-data>=0:graphics/tesseract-data
16
15
17
USES=		autoreconf compiler:c++11-lang localbase libtool pathfix pkgconfig
16
USES=		autoreconf compiler:c++11-lang gnome localbase libtool pathfix \
17
		pkgconfig shebangfix
18
GNU_CONFIGURE=	yes
18
GNU_CONFIGURE=	yes
19
USE_LDCONFIG=	yes
19
USE_LDCONFIG=	yes
20
20
Lines 26-35 Link Here
26
DATADIR=	${PREFIX}/share/tessdata
26
DATADIR=	${PREFIX}/share/tessdata
27
PORTDATA=	*
27
PORTDATA=	*
28
PORTDOCS=	AUTHORS ChangeLog README.md
28
PORTDOCS=	AUTHORS ChangeLog README.md
29
PORTEXAMPLES=	eurotext.tif phototest.tif
30
INSTALL_TARGET=	install-strip
29
INSTALL_TARGET=	install-strip
30
SHEBANG_FILES=	src/training/language-specific.sh \
31
		src/training/tesstrain.sh
31
32
32
OPTIONS_DEFINE=	DOCS EXAMPLES TOOLS
33
OPTIONS_DEFINE=	DOCS TOOLS
33
OPTIONS_DEFAULT=TOOLS
34
OPTIONS_DEFAULT=TOOLS
34
OPTIONS_SUB=	yes
35
OPTIONS_SUB=	yes
35
TOOLS_DESC=	Include training tools
36
TOOLS_DESC=	Include training tools
Lines 48-58 Link Here
48
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
49
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
49
	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
50
	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
50
51
51
post-install-EXAMPLES-on:
52
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
53
	cd ${WRKSRC} && ${INSTALL_DATA} testing/eurotext.tif \
54
		testing/phototest.tif ${STAGEDIR}${EXAMPLESDIR}
55
56
post-install-TOOLS-on:
52
post-install-TOOLS-on:
57
	@cd ${WRKSRC} && ${MAKE} DESTDIR=${STAGEDIR} training-install
53
	@cd ${WRKSRC} && ${MAKE} DESTDIR=${STAGEDIR} training-install
58
54
(-)distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1529694939
1
TIMESTAMP = 1544717557
2
SHA256 (tesseract-ocr-tesseract-3.05.02_GH0.tar.gz) = 494d64ffa7069498a97b909a0e65a35a213989e0184f1ea15332933a90d43445
2
SHA256 (tesseract-ocr-tesseract-4.0.0_GH0.tar.gz) = a1f5422ca49a32e5f35c54dee5112b11b99928fc9f4ee6695cdc6768d69f61dd
3
SIZE (tesseract-ocr-tesseract-3.05.02_GH0.tar.gz) = 3571750
3
SIZE (tesseract-ocr-tesseract-4.0.0_GH0.tar.gz) = 1961372
(-)pkg-plist (-21 / +10 lines)
Lines 1-31 Link Here
1
%%TOOLS%%bin/ambiguous_words
1
%%TOOLS%%bin/ambiguous_words
2
%%TOOLS%%bin/classifier_tester
2
%%TOOLS%%bin/classifier_tester
3
%%TOOLS%%bin/cntraining
3
%%TOOLS%%bin/cntraining
4
%%TOOLS%%bin/combine_lang_model
4
%%TOOLS%%bin/combine_tessdata
5
%%TOOLS%%bin/combine_tessdata
5
%%TOOLS%%bin/dawg2wordlist
6
%%TOOLS%%bin/dawg2wordlist
7
%%TOOLS%%bin/language-specific.sh
8
%%TOOLS%%bin/lstmtraining
9
%%TOOLS%%bin/lstmeval
10
%%TOOLS%%bin/merge_unicharsets
6
%%TOOLS%%bin/mftraining
11
%%TOOLS%%bin/mftraining
7
%%TOOLS%%bin/set_unicharset_properties
12
%%TOOLS%%bin/set_unicharset_properties
8
%%TOOLS%%bin/shapeclustering
13
%%TOOLS%%bin/shapeclustering
9
bin/tesseract
14
bin/tesseract
15
%%TOOLS%%bin/tesstrain.sh
16
%%TOOLS%%bin/tesstrain_utils.sh
10
%%TOOLS%%bin/text2image
17
%%TOOLS%%bin/text2image
11
%%TOOLS%%bin/unicharset_extractor
18
%%TOOLS%%bin/unicharset_extractor
12
%%TOOLS%%bin/wordlist2dawg
19
%%TOOLS%%bin/wordlist2dawg
13
include/tesseract/apitypes.h
20
include/tesseract/apitypes.h
14
include/tesseract/baseapi.h
21
include/tesseract/baseapi.h
15
include/tesseract/basedir.h
16
include/tesseract/capi.h
22
include/tesseract/capi.h
17
include/tesseract/errcode.h
18
include/tesseract/fileerr.h
19
include/tesseract/genericvector.h
23
include/tesseract/genericvector.h
20
include/tesseract/helpers.h
24
include/tesseract/helpers.h
21
include/tesseract/host.h
25
include/tesseract/host.h
22
include/tesseract/ltrresultiterator.h
26
include/tesseract/ltrresultiterator.h
23
include/tesseract/memry.h
24
include/tesseract/ndminx.h
25
include/tesseract/ocrclass.h
27
include/tesseract/ocrclass.h
26
include/tesseract/osdetect.h
28
include/tesseract/osdetect.h
27
include/tesseract/pageiterator.h
29
include/tesseract/pageiterator.h
28
include/tesseract/params.h
29
include/tesseract/platform.h
30
include/tesseract/platform.h
30
include/tesseract/publictypes.h
31
include/tesseract/publictypes.h
31
include/tesseract/renderer.h
32
include/tesseract/renderer.h
Lines 33-55 Link Here
33
include/tesseract/serialis.h
34
include/tesseract/serialis.h
34
include/tesseract/strngs.h
35
include/tesseract/strngs.h
35
include/tesseract/tesscallback.h
36
include/tesseract/tesscallback.h
37
include/tesseract/tess_version.h
36
include/tesseract/thresholder.h
38
include/tesseract/thresholder.h
37
include/tesseract/unichar.h
39
include/tesseract/unichar.h
38
include/tesseract/unicharmap.h
39
include/tesseract/unicharset.h
40
lib/libtesseract.a
40
lib/libtesseract.a
41
lib/libtesseract.so
41
lib/libtesseract.so
42
lib/libtesseract.so.3
42
lib/libtesseract.so.4
43
lib/libtesseract.so.3.0.5
43
lib/libtesseract.so.4.0.0
44
libdata/pkgconfig/tesseract.pc
44
libdata/pkgconfig/tesseract.pc
45
man/man1/ambiguous_words.1.gz
46
man/man1/cntraining.1.gz
47
man/man1/combine_tessdata.1.gz
48
man/man1/dawg2wordlist.1.gz
49
man/man1/mftraining.1.gz
50
man/man1/shapeclustering.1.gz
51
man/man1/tesseract.1.gz
52
man/man1/unicharset_extractor.1.gz
53
man/man1/wordlist2dawg.1.gz
54
man/man5/unicharambigs.5.gz
55
man/man5/unicharset.5.gz

Return to bug 234285