From 3ceb423aa229a7bb897314bfa40766f5956a4c61 Mon Sep 17 00:00:00 2001 From: Raphael Kubo da Costa Date: Fri, 15 Jan 2016 14:36:33 +0000 Subject: [PATCH] Update to 0.9.5 and unbreak. - Switch MASTER_SITES to the project's SourceForge page. It only contains 0.9.5 though. - Set LICENSE_FILE. - Switch to new style OPTIONS helpers. - Stop setting CFLAGS/CPPFLAGS, everything builds fine without those. PR: 205780 Approved by: maintainer timeout (bsam, 15 days) MFH: 2016Q1 --- graphics/yagf/Makefile | 20 +++++--------------- graphics/yagf/distinfo | 4 ++-- 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 - -.if ${PORT_OPTIONS:MCUNEIFORM} -RUN_DEPENDS+= cuneiform:${PORTSDIR}/graphics/cuneiform -.endif -.if ${PORT_OPTIONS:MTESSERACT} -RUN_DEPENDS+= tesseract:${PORTSDIR}/graphics/tesseract -.endif - .include 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