1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00
freebsd-ports/security/qtkeychain-qt5/Makefile
Raphael Kubo da Costa dd632cbd35 Update to 0.8.0.
PR:		218772
Submitted by:	arrowd <6yearold@gmail.com> (maintainer)
2017-08-01 18:07:45 +00:00

35 lines
835 B
Makefile

# $FreeBSD$
PORTNAME= qtkeychain
PORTVERSION= 0.8.0
DISTVERSIONPREFIX= v
CATEGORIES= security
PKGNAMESUFFIX?= -qt5
MAINTAINER= 6yearold@gmail.com
COMMENT= Platform independent Qt API for storing passwords
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING
USE_GITHUB= yes
GH_ACCOUNT= frankosterfeld
USES= cmake
USE_LDCONFIG= yes
USE_KDE= ecm
PLIST_SUB+= VERSION=${PORTVERSION}
.if defined(PKGNAMESUFFIX) && ${PKGNAMESUFFIX} == "-qt4"
CMAKE_ARGS+= -DBUILD_WITH_QT4=YES
USE_QT4= corelib dbus linguisttools_build moc_build rcc_build qmake_build
PLIST= ${PKGDIR}/pkg-plist.qt4
PLIST_SUB+= PLIST_QT_PREFIX_UPCASE=Qt PLIST_QT_PREFIX=qt
.else
USE_QT5= core dbus linguisttools_build buildtools_build qmake_build
PLIST= ${PKGDIR}/pkg-plist.qt5
PLIST_SUB+= PLIST_QT_PREFIX_UPCASE=Qt5 PLIST_QT_PREFIX=qt5
.endif
.include <bsd.port.mk>