aboutsummaryrefslogtreecommitdiff
path: root/deskutils/kdeplasma-addons/Makefile
blob: 501c3a58f68cf46402a0924dce5bf69c900054b8 (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
45
46
47
48
49
# $FreeBSD$

PORTNAME=	kdeplasma-addons
PORTVERSION=	${KDE4_VERSION}
PORTREVISION=	3
CATEGORIES=	deskutils kde kde-kde4

MAINTAINER=	kde@FreeBSD.org
COMMENT=	Extra plasmoids for KDE SC 4

LIB_DEPENDS=	libqalculate.so:math/libqalculate \
		libqwt.so:x11-toolkits/qwt5 \
		libqca.so:devel/qca \
		libqoauth.so:net/qoauth \
		libqjson.so:devel/qjson
BUILD_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/eigen2.pc:math/eigen2

CONFLICTS_INSTALL=	plasma-applet-icontasks-0.[89].*

USES=		cmake:outsource kde:4 pkgconfig shared-mime-info tar:xz
USE_KDE=	kdelibs libkexiv2 pimlibs workspace \
		akonadi attica automoc4 qimageblitz soprano
USE_QT4=	corelib dbus declarative gui network script sql webkit \
		qmake_build moc_build rcc_build uic_build
USE_XORG=	x11 xrender xtst
USE_LDCONFIG=	yes

OPTIONS_DEFINE=	MARBLE SCIM IBUS
OPTIONS_DEFAULT=	MARBLE
OPTIONS_SUB=	yes

MARBLE_DESC=	Support for desktop globe wallpaper
MARBLE_USE=	KDE=marble
MARBLE_CMAKE_OFF=	-DWITH_Marble=off

IBUS_DESC=	Enable IBUS backend for input dialog
IBUS_LIB_DEPENDS=	libibus-1.0.so:textproc/ibus
IBUS_CMAKE_OFF=	-DBUILD_ibus=off

SCIM_DESC=	Enable SCIM backend for input dialog
SCIM_LIB_DEPENDS=	libscim-1.0.so:textproc/scim
SCIM_CMAKE_OFF=	-DBUILD_scim=off

post-patch:
# Respect prefix, don't update MIME when installing.
	${REINPLACE_CMD} -e '/^update_xdg_mimetypes/ d; /SharedMimeInfo/ d' \
		${WRKSRC}/applets/lancelot/parts/CMakeLists.txt

.include <bsd.port.mk>