View | Details | Raw Unified | Return to bug 217587
Collapse All | Expand All

(-)Makefile (-5 / +5 lines)
Lines 2-9 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	tesseract
4
PORTNAME=	tesseract
5
PORTVERSION=	3.04.01
5
PORTVERSION=	3.05.00
6
PORTREVISION=	3
7
CATEGORIES=	graphics
6
CATEGORIES=	graphics
8
7
9
MAINTAINER=	pkubaj@anongoth.pl
8
MAINTAINER=	pkubaj@anongoth.pl
Lines 13-19 Link Here
13
12
14
LIB_DEPENDS=	liblept.so:graphics/leptonica
13
LIB_DEPENDS=	liblept.so:graphics/leptonica
15
14
16
USES=		localbase libtool pathfix
15
USES=		autoreconf localbase libtool pathfix
17
GNU_CONFIGURE=	yes
16
GNU_CONFIGURE=	yes
18
USE_LDCONFIG=	yes
17
USE_LDCONFIG=	yes
19
18
Lines 24-30 Link Here
24
23
25
DATADIR=	${PREFIX}/share/tessdata
24
DATADIR=	${PREFIX}/share/tessdata
26
PORTDATA=	*
25
PORTDATA=	*
27
PORTDOCS=	AUTHORS ChangeLog README.md ReleaseNotes
26
PORTDOCS=	AUTHORS ChangeLog README.md
28
PORTEXAMPLES=	eurotext.tif phototest.tif
27
PORTEXAMPLES=	eurotext.tif phototest.tif
29
INSTALL_TARGET=	install-strip
28
INSTALL_TARGET=	install-strip
30
29
Lines 37-43 Link Here
37
TOOLS_USES=	compiler:c++11-lib pkgconfig
36
TOOLS_USES=	compiler:c++11-lib pkgconfig
38
TOOLS_USE=	GNOME=cairo,glib20,pango
37
TOOLS_USE=	GNOME=cairo,glib20,pango
39
38
40
post-patch:
39
pre-configure:
40
	(cd ${WRKSRC} && ./autogen.sh)
41
	@${REINPLACE_CMD} -e 's|-O3 -DNDEBUG||' ${WRKSRC}/configure
41
	@${REINPLACE_CMD} -e 's|-O3 -DNDEBUG||' ${WRKSRC}/configure
42
42
43
post-build-TOOLS-on:
43
post-build-TOOLS-on:
(-)distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1470939746
1
TIMESTAMP = 1488548040
2
SHA256 (tesseract-ocr-tesseract-3.04.01_GH0.tar.gz) = 57f63e1b14ae04c3932a2683e4be4954a2849e17edd638ffe91bc5a2156adc6a
2
SHA256 (tesseract-ocr-tesseract-3.05.00_GH0.tar.gz) = 3fe83e06d0f73b39f6e92ed9fc7ccba3ef734877b76aa5ddaaa778fac095d996
3
SIZE (tesseract-ocr-tesseract-3.04.01_GH0.tar.gz) = 2269105
3
SIZE (tesseract-ocr-tesseract-3.05.00_GH0.tar.gz) = 3581853
(-)files/patch-ccstruct_matrix.h (-11 lines)
Lines 1-11 Link Here
1
--- ccstruct/matrix.h.orig	2016-08-11 18:32:41 UTC
2
+++ ccstruct/matrix.h
3
@@ -30,7 +30,7 @@
4
 
5
 class BLOB_CHOICE_LIST;
6
 
7
-#define NOT_CLASSIFIED reinterpret_cast<BLOB_CHOICE_LIST*>(NULL)
8
+#define NOT_CLASSIFIED reinterpret_cast<BLOB_CHOICE_LIST*>(0)
9
 
10
 // A generic class to hold a 2-D matrix with entries of type T, but can also
11
 // act as a base class for other implementations, such as a triangular or
(-)pkg-plist (-1 / +1 lines)
Lines 40-46 Link Here
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.3
43
lib/libtesseract.so.3.0.4
43
lib/libtesseract.so.3.0.5
44
libdata/pkgconfig/tesseract.pc
44
libdata/pkgconfig/tesseract.pc
45
man/man1/ambiguous_words.1.gz
45
man/man1/ambiguous_words.1.gz
46
man/man1/cntraining.1.gz
46
man/man1/cntraining.1.gz

Return to bug 217587