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

PORTNAME=   qtkeychain
DISTVERSIONPREFIX=  v
DISTVERSION=    0.8.0
PORTREVISION=   1
CATEGORIES= security
PKGNAMESUFFIX=  -${FLAVOR}

MAINTAINER= 6yearold@gmail.com
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>