freebsd-ports/security/qtkeychain/Makefile
Felix Palmen ddae4e92d8 Mk/Uses: always use colon for build/run suffix
Most USES use a colon for build/run(/test) suffixes. Change kde.mk,
qt.mk and pyqt.mk to do the same, and update all ports using that.

Document in CHANGES.

PR:			266034
Exp-run by:		antoine
Approved by:		tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D36349
2022-09-11 12:20:14 +02:00

45 lines
1.1 KiB
Makefile

PORTNAME= qtkeychain
DISTVERSIONPREFIX= v
DISTVERSION= 0.13.2
PORTREVISION= 1
CATEGORIES= security
PKGNAMESUFFIX= -${FLAVOR}
MAINTAINER= arrowd@FreeBSD.org
COMMENT= Platform independent Qt API for storing passwords
WWW= https://github.com/frankosterfeld/qtkeychain
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING
FLAVORS= qt5 qt6
FLAVOR?= qt5
USES= cmake compiler:c++11-lang localbase:ldflags pkgconfig qt:${FLAVOR:S/qt//}
_WITH_QT6_qt5= OFF
_WITH_QT6_qt6= ON
CMAKE_ARGS= -DBUILD_WITH_QT6=${_WITH_QT6_${FLAVOR}} \
-DQT_MKSPECDIR_REL=${QT_MKSPECDIR_REL}
USE_GITHUB= yes
_USE_QT_qt5= core dbus buildtools:build qmake:build
_USE_QT_qt6= base
USE_QT= ${_USE_QT_${FLAVOR}}
GH_ACCOUNT= frankosterfeld
USE_LDCONFIG= yes
OPTIONS_SUB= yes
PLIST_SUB= VERSION=${PORTVERSION} \
QT_VER=${FLAVOR:S/qt//}
OPTIONS_DEFINE= LIBSECRET NLS
OPTIONS_DEFAULT= LIBSECRET NLS
LIBSECRET_DESC= Enable libsecret backend
LIBSECRET_LIB_DEPENDS= libsecret-1.so:security/libsecret
LIBSECRET_CMAKE_BOOL= LIBSECRET_SUPPORT
_QT_LINGUIST_qt5= linguisttools:build
_QT_LINGUIST_qt6= tools:build
NLS_USE= qt=${_QT_LINGUIST_${FLAVOR}}
NLS_CMAKE_BOOL= BUILD_TRANSLATIONS
.include <bsd.port.mk>