summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/yagf/Makefile20
-rw-r--r--graphics/yagf/distinfo4
2 files changed, 7 insertions, 17 deletions
diff --git a/graphics/yagf/Makefile b/graphics/yagf/Makefile
index 716cb7f7405f..bab91dcf2b40 100644
--- a/graphics/yagf/Makefile
+++ b/graphics/yagf/Makefile
@@ -2,15 +2,15 @@
# $FreeBSD$
PORTNAME= yagf
-PORTVERSION= 0.9.3.2
+PORTVERSION= 0.9.5
CATEGORIES= graphics
-MASTER_SITES= http://symmetrica.net/cuneiform-linux/
+MASTER_SITES= SF/yagf-ocr
MAINTAINER= bsam@FreeBSD.org
COMMENT= Graphical interface for an OCR program (cuneiform and tesseract)
-BROKEN= unfetchable
LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libaspell.so:${PORTSDIR}/textproc/aspell
@@ -19,7 +19,9 @@ ONLY_FOR_ARCHS= i386 amd64
OPTIONS_MULTI= OCRENGINE
OPTIONS_MULTI_OCRENGINE=CUNEIFORM TESSERACT
CUNEIFORM_DESC= Cuneiform OCR engine
+CUNEIFORM_RUN_DEPENDS= cuneiform:${PORTSDIR}/graphics/cuneiform
TESSERACT_DESC= Tesseract OCR engine
+TESSERACT_RUN_DEPENDS= tesseract:${PORTSDIR}/graphics/tesseract
OPTIONS_DEFAULT= CUNEIFORM
@@ -29,20 +31,8 @@ INSTALLS_ICONS= yes
USE_QT4= corelib gui imageformats linguist_build \
moc_build qmake_build rcc_build uic_build
-CPPFLAGS+= -I${LOCALBASE}/include
-CFLAGS+= -I${LOCALBASE}/include
-
PLIST_FILES= bin/yagf lib/yagf/libxspreload.so share/applications/YAGF.desktop\
share/icons/hicolor/96x96/apps/yagf.png share/pixmaps/yagf.png
PORTDATA= *
-.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
-
.include <bsd.port.mk>
diff --git a/graphics/yagf/distinfo b/graphics/yagf/distinfo
index 9add88b301bf..6d3c8b9fd859 100644
--- a/graphics/yagf/distinfo
+++ b/graphics/yagf/distinfo
@@ -1,2 +1,2 @@
-SHA256 (yagf-0.9.3.2.tar.gz) = 32dd2a60ac04f9b08ec06a4e2974fde2fe3af60238b6a1a8de5a0a29b6ead231
-SIZE (yagf-0.9.3.2.tar.gz) = 766396
+SHA256 (yagf-0.9.5.tar.gz) = c0e9fe4b16d39378319fe37772403104a81c58084aa918e78347f56456ed5ebc
+SIZE (yagf-0.9.5.tar.gz) = 427018