freebsd-ports/graphics/kipiplugins/Makefile
Tobias C. Berner 707c6bf295 Change cmake default behaviour to outsource.
Ports that build out of source now simply can use "USES=cmake"
instead of "USES=cmake:outsource". Ports that fail to build
out of source now need to specify "USES=cmake:insource".

I tried to only set insource where explictely needed.

PR:		232038
Exp-run by:	antoine
2018-12-25 20:25:39 +00:00

45 lines
1.3 KiB
Makefile

# $FreeBSD$
PORTNAME= kipiplugins
DISTVERSION= 5.9.0
PORTREVISION= 3
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}
DISTINFO_FILE= ${.CURDIR:H:H}/graphics/digikam/distinfo
DESCR= ${.CURDIR:H:H}/graphics/digikam/pkg-descr
PLIST_SUB= SHLIB_VER=${DISTVERSION}
.include <bsd.port.mk>