summaryrefslogtreecommitdiff
path: root/graphics/kipiplugins/Makefile
blob: 2d7f1131191f99ca9cf93c02b70505b8e3520096 (plain)
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
# $FreeBSD$

PORTNAME=	kipiplugins
DISTVERSION=	5.9.0
PORTREVISION=	5
CATEGORIES=	graphics kde
MASTER_SITES=	KDE/stable/digikam
DIST_SUBDIR=	KDE/digikam/${PORTVERSION}

MAINTAINER=	kde@FreeBSD.org
COMMENT=	Plugins for digikam

USES=		cmake compiler:c++11-lib gettext kde:5 pkgconfig \
		qt:5 tar:xz
USE_KDE=	archive auth bookmarks codecs completion config configwidgets \
		coreaddons ecm i18n itemviews jobwidgets kio libkipi service \
		solid widgetsaddons windowsystem xmlgui
USE_QT=		core dbus gui network printsupport widgets xml xmlpatterns \
		buildtools_build qmake_build

CMAKE_ON=	DIGIKAMSC_COMPILE_KIPIPLUGINS
CMAKE_OFF=	DIGIKAMSC_COMPILE_DIGIKAM \
		DIGIKAMSC_COMPILE_DOC \
		DIGIKAMSC_COMPILE_PO

OPTIONS_DEFINE=		MEDIAWIKI KVKONTAKTE
OPTIONS_DEFAULT=	${OPTIONS_DEFINE}
OPTIONS_SUB=		yes

MEDIAWIKI_DESC=		MediaWiki Plugin
MEDIAWIKI_CMAKE_BOOL=	DIGIKAMSC_COMPILE_LIBMEDIAWIKI
MEDIAWIKI_LIB_DEPENDS=	libKF5MediaWiki.so:net/libmediawiki

KVKONTAKTE_DESC=	vk.com Plugin
KVKONTAKTE_CMAKE_BOOL=	DIGIKAMSC_COMPILE_LIBKVKONTAKTE
KVKONTAKTE_LIB_DEPENDS=	libKF5Vkontakte.so:net/libkvkontakte

DISTNAME=	digikam-${PORTVERSION}
DESCR=		${.CURDIR:H:H}/graphics/digikam/pkg-descr

PLIST_SUB=		SHLIB_VER=${DISTVERSION}

.include <bsd.port.mk>