diff options
Diffstat (limited to 'devel/smokekde/Makefile')
-rw-r--r-- | devel/smokekde/Makefile | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/devel/smokekde/Makefile b/devel/smokekde/Makefile new file mode 100644 index 0000000..ca397b3 --- /dev/null +++ b/devel/smokekde/Makefile @@ -0,0 +1,41 @@ +# $FreeBSD$ + +PORTNAME= smokekde +PORTVERSION= ${KDE4_VERSION} +CATEGORIES= devel kde +MASTER_SITES= ${MASTER_SITE_KDE} +MASTER_SITE_SUBDIR= ${KDE4_BRANCH}/${PORTVERSION}/src +DIST_SUBDIR= KDE + +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= dbus designer gui network opengl qt3support sql svg xml \ + qmake_build moc_build uic_build rcc_build +USE_XZ= yes +USE_CMAKE= yes +MAKE_JOBS_SAFE= yes +USE_LDCONFIG= yes + +OPTIONS_DEFINE= ATTICA +ATTICA_DESC= Bindings for libattica (may crash build) + +.include <bsd.port.options.mk> + +# 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 <bsd.port.mk> |