# $FreeBSD$ PORTNAME= smokekde PORTVERSION= ${KDE4_VERSION} CATEGORIES= devel kde MASTER_SITES= ${MASTER_SITE_KDE} MASTER_SITE_SUBDIR= ${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= SMOKE bindings for KDE CONFLICTS= kdebindings-smoke-4.[0-6].* USE_KDE4= kate kdehier kdelibs kdeprefix okular pimlibs \ smokegen smokeqt akonadi automoc4 soprano USE_QT4= corelib dbus designer_build gui network opengl sql svg xml \ qmake_build moc_build uic_build rcc_build USE_XZ= yes USES= cmake:outsource MAKE_JOBS_SAFE= yes USE_LDCONFIG= yes OPTIONS_DEFINE= ATTICA ATTICA_DESC= Bindings for libattica (may crash build) .include # Attica bindings often cause the build to coredump. .if ${PORT_OPTIONS:MATTICA} PLIST_SUB+= ATTICA="" .else CMAKE_ARGS+= -DWITH_LibAttica:BOOL=FALSE PLIST_SUB+= ATTICA="@comment " .endif pre-configure: ${REINPLACE_CMD} -e '/kde-config.xml/ s|$${SMOKE_GEN_BIN}|smokegen|' \ ${WRKSRC}/kdecore/CMakeLists.txt .include