Lines 3-9
Link Here
|
3 |
|
3 |
|
4 |
PORTNAME= tesseract |
4 |
PORTNAME= tesseract |
5 |
PORTVERSION= 4.0.0 |
5 |
PORTVERSION= 4.0.0 |
6 |
PORTREVISION= 1 |
6 |
PORTREVISION= 2 |
7 |
CATEGORIES= graphics |
7 |
CATEGORIES= graphics |
8 |
|
8 |
|
9 |
MAINTAINER= pkubaj@anongoth.pl |
9 |
MAINTAINER= pkubaj@anongoth.pl |
Lines 11-21
Link Here
|
11 |
|
11 |
|
12 |
LICENSE= APACHE20 |
12 |
LICENSE= APACHE20 |
13 |
|
13 |
|
|
|
14 |
BUILD_DEPENDS= asciidoc:textproc/asciidoc \ |
15 |
xsltproc:textproc/libxslt \ |
16 |
${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:textproc/docbook-xsl |
14 |
LIB_DEPENDS= liblept.so:graphics/leptonica |
17 |
LIB_DEPENDS= liblept.so:graphics/leptonica |
15 |
RUN_DEPENDS= tesseract-data>=0:graphics/tesseract-data |
18 |
RUN_DEPENDS= tesseract-data>=0:graphics/tesseract-data |
16 |
|
19 |
|
17 |
USES= autoreconf compiler:c++11-lang gnome localbase libtool pathfix \ |
20 |
USES= autoreconf compiler:c++11-lang gmake gnome localbase \ |
18 |
pkgconfig shebangfix |
21 |
libtool pathfix pkgconfig shebangfix |
19 |
GNU_CONFIGURE= yes |
22 |
GNU_CONFIGURE= yes |
20 |
USE_LDCONFIG= yes |
23 |
USE_LDCONFIG= yes |
21 |
|
24 |
|
Lines 42-47
Link Here
|
42 |
|
45 |
|
43 |
post-patch: |
46 |
post-patch: |
44 |
@${REINPLACE_CMD} -e 's|-O3 -DNDEBUG||' ${WRKSRC}/configure.ac |
47 |
@${REINPLACE_CMD} -e 's|-O3 -DNDEBUG||' ${WRKSRC}/configure.ac |
|
|
48 |
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/doc/Makefile.am |
45 |
|
49 |
|
46 |
post-build-TOOLS-on: |
50 |
post-build-TOOLS-on: |
47 |
@cd ${WRKSRC} && ${MAKE} training |
51 |
@cd ${WRKSRC} && ${MAKE} training |