summaryrefslogtreecommitdiff
path: root/graphics/yagf/Makefile
blob: d11fe1388447401c50d235579719e49f13c7a2e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Created by: Boris Samorodov <bsam@FreeBSD.org>
# $FreeBSD$

PORTNAME=	yagf
PORTVERSION=	0.9.5
PORTREVISION=	1
CATEGORIES=	graphics
MASTER_SITES=	SF/yagf-ocr

MAINTAINER=	bsam@FreeBSD.org
COMMENT=	Graphical interface for an OCR program (tesseract)

LICENSE=	GPLv3
LICENSE_FILE=	${WRKSRC}/COPYING

DEPRECATED=		Qt4 has been EOL since december 2015
EXPIRATION_DATE=	2019-03-15

ONLY_FOR_ARCHS=	amd64 i386

LIB_DEPENDS=	libaspell.so:textproc/aspell

OPTIONS_DEFINE=TESSERACT
TESSERACT_DESC=		Tesseract OCR engine
TESSERACT_RUN_DEPENDS=	tesseract:graphics/tesseract

USES=		cmake:insource desktop-file-utils pkgconfig qt:4
USE_LDCONFIG=	yes
INSTALLS_ICONS=	yes
USE_QT=		corelib gui imageformats linguist_build \
		moc_build qmake_build rcc_build uic_build

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.mk>