blob: d94dfc5ea17ca2c424249d07bce521d45d394a33 (
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
|
# New ports collection makefile for: ktts
# Date created: 2010-03-27
# Whom: Max Brazhnikov <makc@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= ktts
PORTVERSION= ${KDE4_VERSION}
CATEGORIES= accessibility kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= ${KDE4_BRANCH}/${PORTVERSION}/src
DISTNAME= kdeaccessibility-${PORTVERSION}
DIST_SUBDIR= KDE
MAINTAINER= kde@FreeBSD.org
COMMENT= KDE text-to-speech subsystem
LIB_DEPENDS+= speechd.3:${PORTSDIR}/accessibility/speech-dispatcher
USE_BZIP2= yes
USE_CMAKE= yes
USE_KDE4= kdeprefix kdelibs automoc4
USE_QT_VER= 4
QT_COMPONENTS= qmake_build moc_build uic_build rcc_build
USE_LDCONFIG= yes
MD5_FILE= ${PORTSDIR}/accessibility/kdeaccessibility4/distinfo
MAKE_JOBS_SAFE= yes
CMAKE_ARGS+= -DKDE4_KTTSD_ALSA:BOOL=OFF
BUILD_WRKSRC= ${WRKSRC}/kttsd
INSTALL_WRKSRC= ${BUILD_WRKSRC}
post-patch:
${REINPLACE_CMD} -e 's|speechd|$$$\{SPEECHD_LIBRARY}|g' \
${PATCH_WRKSRC}/kttsd/kcmkttsmgr/CMakeLists.txt \
${PATCH_WRKSRC}/kttsd/kttsd/CMakeLists.txt
post-install:
cd ${WRKSRC}/doc/kttsd && ${MAKE} install
${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
|