2012-11-03 13:18:37 +00:00
|
|
|
# Created by: Boris Samorodov <bsam@FreeBSD.org>
|
2009-09-14 16:29:47 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= yagf
|
2012-11-03 13:18:37 +00:00
|
|
|
PORTVERSION= 0.9.2
|
2013-05-24 18:11:46 +00:00
|
|
|
PORTREVISION= 2
|
2009-09-14 16:29:47 +00:00
|
|
|
CATEGORIES= graphics
|
|
|
|
MASTER_SITES= http://symmetrica.net/cuneiform-linux/
|
|
|
|
|
|
|
|
MAINTAINER= bsam@FreeBSD.org
|
2012-12-15 09:50:39 +00:00
|
|
|
COMMENT= Graphical interface for an OCR program (cuneiform and tesseract)
|
2009-09-14 16:29:47 +00:00
|
|
|
|
2013-05-24 18:11:46 +00:00
|
|
|
LICENSE= GPLv3
|
|
|
|
|
2013-11-22 08:16:48 +00:00
|
|
|
LIB_DEPENDS= libaspell.so:${PORTSDIR}/textproc/aspell
|
2009-09-14 16:29:47 +00:00
|
|
|
|
|
|
|
ONLY_FOR_ARCHS= i386 amd64
|
|
|
|
|
2012-12-15 09:50:39 +00:00
|
|
|
OPTIONS_MULTI= OCRENGINE
|
|
|
|
OPTIONS_MULTI_OCRENGINE=CUNEIFORM TESSERACT
|
|
|
|
CUNEIFORM_DESC= Cuneiform OCR engine
|
|
|
|
TESSERACT_DESC= Tesseract OCR engine
|
|
|
|
|
|
|
|
OPTIONS_DEFAULT= CUNEIFORM
|
|
|
|
|
2013-05-07 12:52:15 +00:00
|
|
|
USES= cmake desktop-file-utils pkgconfig
|
2009-09-14 16:29:47 +00:00
|
|
|
USE_LDCONFIG= yes
|
|
|
|
INSTALLS_ICONS= yes
|
2012-06-06 06:44:37 +00:00
|
|
|
USE_QT4= corelib gui imageformats linguist_build \
|
2009-09-16 08:48:00 +00:00
|
|
|
moc_build qmake_build rcc_build uic_build
|
2009-09-14 16:29:47 +00:00
|
|
|
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
|
|
|
2012-12-15 09:50:39 +00:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
.if ${PORT_OPTIONS:MCUNEIFORM}
|
|
|
|
RUN_DEPENDS+= cuneiform:${PORTSDIR}/graphics/cuneiform
|
|
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MTESSERACT}
|
|
|
|
RUN_DEPENDS+= tesseract:${PORTSDIR}/graphics/tesseract
|
|
|
|
.endif
|
|
|
|
|
2011-11-14 03:26:46 +00:00
|
|
|
.include <bsd.port.mk>
|