1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00

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
This commit is contained in:
Raphael Kubo da Costa 2016-01-15 14:36:33 +00:00
parent 73f7f4accc
commit 3ceb423aa2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=406160
2 changed files with 7 additions and 17 deletions

View File

@ -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>

View File

@ -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