# New ports collection makefile for: ktts # Date created: 2010-03-27 # Whom: Max Brazhnikov # # $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