aboutsummaryrefslogtreecommitdiff
path: root/security/qtkeychain/Makefile
blob: 5ef9d65f3cb0d0f66e1241879c62e2917f91b5d6 (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
# $FreeBSD$

PORTNAME=	qtkeychain
DISTVERSIONPREFIX=	v
DISTVERSION=	0.9.0
CATEGORIES=	security
PKGNAMESUFFIX=	-${FLAVOR}

MAINTAINER=	arrowd@FreeBSD.org
COMMENT=	Platform independent Qt API for storing passwords

LICENSE=	BSD2CLAUSE
LICENSE_FILE=	${WRKSRC}/COPYING

FLAVORS=	qt4 qt5
FLAVOR?=	${FLAVORS:[1]}

USES=		cmake
USE_GITHUB=	yes
GH_ACCOUNT=	frankosterfeld
USE_LDCONFIG=	yes
USE_KDE=	ecm
PLIST_SUB+=	VERSION=${PORTVERSION}

.  if ${FLAVOR} == qt4
USES+=		qt:4
CMAKE_ON=	BUILD_WITH_QT4
USE_QT=		corelib dbus linguisttools_build moc_build rcc_build qmake_build
PLIST_SUB+=	PLIST_QT_PREFIX_UPCASE=Qt PLIST_QT_PREFIX=qt
PLIST=		${PKGDIR}/pkg-plist.${FLAVOR}
.  else
USES+=		qt:5
USE_QT=		core dbus linguisttools_build buildtools_build qmake_build
PLIST_SUB+=	PLIST_QT_PREFIX_UPCASE=Qt5 PLIST_QT_PREFIX=qt5
PLIST=		${PKGDIR}/pkg-plist.${FLAVOR}
.  endif


.include <bsd.port.mk>