blob: ca397b38a8951a38a13515aa8132efb93447fcb3 (
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
|
# $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>
|