Lines 2-16
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= yagf |
4 |
PORTNAME= yagf |
5 |
PORTVERSION= 0.9.3.2 |
5 |
PORTVERSION= 0.9.5 |
6 |
CATEGORIES= graphics |
6 |
CATEGORIES= graphics |
7 |
MASTER_SITES= http://symmetrica.net/cuneiform-linux/ |
7 |
MASTER_SITES= SF/yagf-ocr |
8 |
|
8 |
|
9 |
MAINTAINER= bsam@FreeBSD.org |
9 |
MAINTAINER= bsam@FreeBSD.org |
10 |
COMMENT= Graphical interface for an OCR program (cuneiform and tesseract) |
10 |
COMMENT= Graphical interface for an OCR program (cuneiform and tesseract) |
11 |
|
11 |
|
12 |
BROKEN= unfetchable |
|
|
13 |
LICENSE= GPLv3 |
12 |
LICENSE= GPLv3 |
|
|
13 |
LICENSE_FILE= ${WRKSRC}/COPYING |
14 |
|
14 |
|
15 |
LIB_DEPENDS= libaspell.so:${PORTSDIR}/textproc/aspell |
15 |
LIB_DEPENDS= libaspell.so:${PORTSDIR}/textproc/aspell |
16 |
|
16 |
|
Lines 19-25
Link Here
|
19 |
OPTIONS_MULTI= OCRENGINE |
19 |
OPTIONS_MULTI= OCRENGINE |
20 |
OPTIONS_MULTI_OCRENGINE=CUNEIFORM TESSERACT |
20 |
OPTIONS_MULTI_OCRENGINE=CUNEIFORM TESSERACT |
21 |
CUNEIFORM_DESC= Cuneiform OCR engine |
21 |
CUNEIFORM_DESC= Cuneiform OCR engine |
|
|
22 |
CUNEIFORM_RUN_DEPENDS= cuneiform:${PORTSDIR}/graphics/cuneiform |
22 |
TESSERACT_DESC= Tesseract OCR engine |
23 |
TESSERACT_DESC= Tesseract OCR engine |
|
|
24 |
TESSERACT_RUN_DEPENDS= tesseract:${PORTSDIR}/graphics/tesseract |
23 |
|
25 |
|
24 |
OPTIONS_DEFAULT= CUNEIFORM |
26 |
OPTIONS_DEFAULT= CUNEIFORM |
25 |
|
27 |
|
Lines 29-48
Link Here
|
29 |
USE_QT4= corelib gui imageformats linguist_build \ |
31 |
USE_QT4= corelib gui imageformats linguist_build \ |
30 |
moc_build qmake_build rcc_build uic_build |
32 |
moc_build qmake_build rcc_build uic_build |
31 |
|
33 |
|
32 |
CPPFLAGS+= -I${LOCALBASE}/include |
|
|
33 |
CFLAGS+= -I${LOCALBASE}/include |
34 |
|
35 |
PLIST_FILES= bin/yagf lib/yagf/libxspreload.so share/applications/YAGF.desktop\ |
34 |
PLIST_FILES= bin/yagf lib/yagf/libxspreload.so share/applications/YAGF.desktop\ |
36 |
share/icons/hicolor/96x96/apps/yagf.png share/pixmaps/yagf.png |
35 |
share/icons/hicolor/96x96/apps/yagf.png share/pixmaps/yagf.png |
37 |
PORTDATA= * |
36 |
PORTDATA= * |
38 |
|
37 |
|
39 |
.include <bsd.port.options.mk> |
|
|
40 |
|
41 |
.if ${PORT_OPTIONS:MCUNEIFORM} |
42 |
RUN_DEPENDS+= cuneiform:${PORTSDIR}/graphics/cuneiform |
43 |
.endif |
44 |
.if ${PORT_OPTIONS:MTESSERACT} |
45 |
RUN_DEPENDS+= tesseract:${PORTSDIR}/graphics/tesseract |
46 |
.endif |
47 |
|
48 |
.include <bsd.port.mk> |
38 |
.include <bsd.port.mk> |