aboutsummaryrefslogtreecommitdiff
path: root/security/plasma5-kscreenlocker/Makefile
blob: 594cfb549a9a208d6b19afcc1d4567e7ab4da1a5 (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
PORTNAME=	kscreenlocker
DISTVERSION=	${KDE_PLASMA_VERSION}
PORTREVISION=	1
CATEGORIES=	security kde kde-plasma

MAINTAINER=	kde@FreeBSD.org
COMMENT=	Plasma5 secure lock screen architecture
WWW=		https://www.kde.org/plasma-desktop

BUILD_DEPENDS=	ck-list-sessions:sysutils/consolekit2
LIB_DEPENDS=	libwayland-client.so:graphics/wayland \
		libxcb-keysyms.so:x11/xcb-util-keysyms
RUN_DEPENDS=	ck-list-sessions:sysutils/consolekit2\
		dbus-send:devel/dbus \
		unix-selfauth-helper>=1.0:security/unix-selfauth-helper

USES=		cmake compiler:c++11-lib cpe gettext kde:5 pkgconfig qt:5 \
		shebangfix tar:xz xorg
USE_KDE=	auth codecs config configwidgets coreaddons crash emoticons \
		globalaccel i18n idletime init itemmodels kcmutils \
		kdeclarative kio layer-shell-qt libkscreen notifications \
		package plasma-framework service sonnet textwidgets wayland \
		widgetsaddons windowsystem xmlgui \
		ecm:build
USE_QT=		concurrent core dbus declarative gui network qdbus widgets \
		x11extras xml \
		buildtools:build qmake:build testlib:build
USE_XORG=	ice sm x11 xcb xcursor xext xi

SUB_FILES=	kde.pam

CPE_VENDOR=	kde

SHEBANG_FILES=	updaters/ksreenlocker_5_3_separate_autologin.pl

post-install:
	${MKDIR} ${STAGEDIR}${PREFIX}/etc/pam.d
	${INSTALL_DATA} ${WRKDIR}/kde.pam ${STAGEDIR}${PREFIX}/etc/pam.d/kde

.include <bsd.port.mk>