summaryrefslogtreecommitdiff
path: root/sysutils/plasma5-plasma-disks/Makefile
blob: 23d295a4b7d9c044cac39e8c5dc4d79200a27f9e (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
PORTNAME=	plasma-disks
DISTVERSION=	${KDE_PLASMA_VERSION}
CATEGORIES=	sysutils kde kde-plasma

MAINTAINER=	kde@FreeBSD.org
COMMENT=	Monitors S.M.A.R.T. capable devices for imminent failure
WWW=		https://invent.kde.org/plasma/plasma-disks

# XXX license
# https://invent.kde.org/plasma/plasma-disks/-/tree/master/LICENSES
LICENSE=	BSD3CLAUSE CC0-1.0 GPLv2 GPLv3 LGPL3 # FSF KDE-GPL KDE-LGPL
LICENSE_COMB=	multi
#LICENSE_NAME_KDE-GPL=	LicenseRef KDE Accepted GPL
#LICENSE_NAME_KDE-LGPL=	LicenseRef KDE Accepted LGPL
LICENSE_FILE_BSD3CLAUSE=	${WRKSRC}/LICENSES/BSD-3-Clause.txt
LICENSE_FILE_CC0-1.0=	${WRKSRC}/LICENSES/CC0-1.0.txt
LICENSE_FILE_GPLv2=	${WRKSRC}/LICENSES/GPL-2.0-only.txt
LICENSE_FILE_GPLv3=	${WRKSRC}/LICENSES/GPL-3.0-only.txt
LICENSE_FILE_LGPL3=	${WRKSRC}/LICENSES/LGPL-3.0-only.txt
#LICENSE_FILE_FSF=	${WRKSRC}/LICENSES/FSFAP.txt
#LICENSE_PERMS_KDE-GPL=	gpl3
#LICENSE_PERMS_KDE-LGPL= gpl3

RUN_DEPENDS=	smartmontools>0:sysutils/smartmontools

USES=		cmake compiler:c++11-lang kde:5 qt:5 tar:xz xorg

USE_KDE=	activities auth codecs config configwidgets coreaddons \
		dbusaddons ecm i18n kdeclarative kio ksysguard notifications \
		plasma-framework service solid widgetsaddons windowsystem
USE_QT=		concurrent core dbus declarative gui network quickcontrols \
		widgets xml \
		buildtools:build qmake:build
USE_XORG=	x11

post-patch:
	${REINPLACE_CMD} "s|LOCALBASE|${LOCALBASE}|" \
		${WRKSRC}/src/helper.cpp

.include <bsd.port.mk>