blob: 49e9d76d98fcdfc49c30caa53fb5647bc4a96202 (
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
|
# 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
BUILD_DEPENDS= ${LOCALBASE}/share/xml/docbook/4.2/docbookx.dtd:${PORTSDIR}/textproc/docbook-xml
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
MAKE_JOBS_SAFE= yes
MAN1= kmag.1 \
kmousetool.1 \
kmouth.1
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 '/macro_optional_add_subdirectory.*jovie/d' \
${PATCH_WRKSRC}/CMakeLists.txt
${REINPLACE_CMD} -e '/add_subdirectory.*jovie/d' \
${PATCH_WRKSRC}/doc/CMakeLists.txt
.include <bsd.port.mk>
|