|
Lines 3-8
Link Here
|
| 3 |
|
3 |
|
| 4 |
PORTNAME= tesseract |
4 |
PORTNAME= tesseract |
| 5 |
PORTVERSION= 3.04.01 |
5 |
PORTVERSION= 3.04.01 |
|
|
6 |
PORTREVISION= 1 |
| 6 |
CATEGORIES= graphics |
7 |
CATEGORIES= graphics |
| 7 |
|
8 |
|
| 8 |
MAINTAINER= pkubaj@anongoth.pl |
9 |
MAINTAINER= pkubaj@anongoth.pl |
|
Lines 28-33
Link Here
|
| 28 |
INSTALL_TARGET= install-strip |
29 |
INSTALL_TARGET= install-strip |
| 29 |
|
30 |
|
| 30 |
OPTIONS_DEFINE= DOCS EXAMPLES TOOLS |
31 |
OPTIONS_DEFINE= DOCS EXAMPLES TOOLS |
|
|
32 |
OPTIONS_DEFAULT=TOOLS |
| 31 |
OPTIONS_SUB= yes |
33 |
OPTIONS_SUB= yes |
| 32 |
TOOLS_DESC= Include training tools |
34 |
TOOLS_DESC= Include training tools |
| 33 |
TOOLS_LIB_DEPENDS=libicui18n.so:devel/icu \ |
35 |
TOOLS_LIB_DEPENDS=libicui18n.so:devel/icu \ |
|
Lines 35-44
Link Here
|
| 35 |
TOOLS_USES= pkgconfig |
37 |
TOOLS_USES= pkgconfig |
| 36 |
TOOLS_USE= GNOME=cairo,glib20,pango |
38 |
TOOLS_USE= GNOME=cairo,glib20,pango |
| 37 |
|
39 |
|
|
|
40 |
.include <bsd.port.options.mk> |
| 41 |
|
| 42 |
.if ${OSVERSION} < 1000000 |
| 43 |
TOOLS_USES+= compiler:c++11-lib |
| 44 |
.endif |
| 45 |
|
| 38 |
post-patch: |
46 |
post-patch: |
| 39 |
@${REINPLACE_CMD} -e 's|-O3 -DNDEBUG||' ${WRKSRC}/configure |
47 |
@${REINPLACE_CMD} -e 's|-O3 -DNDEBUG||' ${WRKSRC}/configure |
| 40 |
@${REINPLACE_CMD} -e \ |
48 |
@${REINPLACE_CMD} -e \ |
| 41 |
's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g' \ |
49 |
's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g' \ |
| 42 |
${WRKSRC}/Makefile.in |
50 |
${WRKSRC}/Makefile.in |
| 43 |
|
51 |
|
| 44 |
post-build-TOOLS-on: |
52 |
post-build-TOOLS-on: |