summaryrefslogtreecommitdiff
path: root/accessibility/kmag/Makefile
blob: 0200ebde6ff1832700640aa9ffd49fe9945e73d6 (plain) (blame)
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
38
39
40
41
42
43
44
45
46
47
# New ports collection Makefile for:	kdeaccessibility
# Date created:				2008-01-31
# Whom:					Martin Wilke <miwi@FreeBSD.org>
#
# $FreeBSD$

PORTNAME=	kdeaccessibility
PORTVERSION=	${KDE4_VERSION}
CATEGORIES=	accessibility kde
MASTER_SITES=	${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR=	${KDE4_BRANCH}/${PORTVERSION}/src
DIST_SUBDIR=	KDE

MAINTAINER=	kde@FreeBSD.org
COMMENT=	Accessibility applications for KDE4

LIB_DEPENDS=	speechd.5:${PORTSDIR}/accessibility/speech-dispatcher

LATEST_LINK=	${PORTNAME}4

USE_BZIP2=	yes
USE_KDE4=	kdelibs kdeprefix kdehier automoc4
KDE4_BUILDENV=	yes
USE_QT_VER=	4
QT_COMPONENTS=	opengl gui qmake_build moc_build rcc_build uic_build
USE_XORG=	xtst
MAKE_JOBS_SAFE=	yes

MAN1=	kmag.1 \
	kmousetool.1 \
	kmouth.1

CMAKE_ARGS+=	-DBUILD_jovie=OFF

OPTIONS=	KTTS "Enable KTTS speech service" off

.include <bsd.port.options.mk>

.if defined(WITH_KTTS)
RUN_DEPENDS+=	${KDE4_PREFIX}/bin/jovie:${PORTSDIR}/accessibility/ktts
.endif

post-patch:
	${REINPLACE_CMD} -e 's/speechd/$$$\{SPEECHD_LIBRARY}/g' \
		${PATCH_WRKSRC}/kaccessible/CMakeLists.txt

.include <bsd.port.mk>