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: |