mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-11 07:22:22 +00:00
f3f4d1ddfd
Changes: https://botan.randombit.net/news.html#version-2-12-0-2019-10-07 Also bump PORTREVISION of dependent ports. PR: 241217 Submitted by: Ralf van der Enden <tremere@cainites.net> (maintainer) Approved by: tz (mentor) Differential Revision: https://reviews.freebsd.org/D22000
56 lines
1.5 KiB
Makefile
56 lines
1.5 KiB
Makefile
# Created by: Vsevolod Stakhov <vsevolod@highsecure.ru>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= qca
|
|
PORTVERSION= 2.2.1
|
|
PORTREVISION= 4
|
|
CATEGORIES= devel
|
|
MASTER_SITES= KDE/stable/qca/${PORTVERSION}
|
|
PKGNAMESUFFIX= -qt5
|
|
|
|
MAINTAINER= kde@FreeBSD.org
|
|
COMMENT= Cross-platform crypto API for Qt ${FLAVOR:C/qt//}
|
|
|
|
LICENSE= LGPL21
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
|
|
RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
|
|
|
|
USES= cmake compiler:c++11-lang qt:5 tar:xz
|
|
CMAKE_ARGS= -DBUILD_PLUGINS=none -DBUILD_TESTS=no \
|
|
-DPKGCONFIG_INSTALL_PREFIX=${PREFIX}/libdata/pkgconfig \
|
|
-DQCA_FEATURE_INSTALL_DIR=${QT_MKSPECDIR}/features \
|
|
-DQCA_MAN_INSTALL_DIR=${PREFIX}/man
|
|
CONFIGURE_ENV= QC_CERTSTORE_PATH=${LOCALBASE}/share/certs/ca-root-nss.crt
|
|
USE_LDCONFIG= yes
|
|
|
|
CMAKE_ARGS+= -DQCA_SUFFIX=qt5
|
|
USE_QT= core buildtools_build qmake_build
|
|
|
|
PLIST_SUB= SHLIB_VER=${PORTVERSION}
|
|
|
|
OPTIONS_DEFINE= BOTAN GNUPG OPENSSL SASL TEST
|
|
OPTIONS_DEFAULT=GNUPG OPENSSL
|
|
OPTIONS_SUB= yes
|
|
|
|
BOTAN_CMAKE_ON= -DWITH_botan_PLUGIN=yes
|
|
BOTAN_DESC= Build with Botan crypto library
|
|
BOTAN_LIB_DEPENDS= libbotan-2.so:security/botan2
|
|
BOTAN_USES= pkgconfig
|
|
|
|
GNUPG_CMAKE_ON= -DWITH_gnupg_PLUGIN=yes
|
|
GNUPG_RUN_DEPENDS= gpg2:security/gnupg
|
|
|
|
OPENSSL_CMAKE_ON= -DWITH_ossl_PLUGIN=yes
|
|
OPENSSL_USES= ssl
|
|
|
|
SASL_CMAKE_ON= -DWITH_cyrus-sasl_PLUGIN=yes
|
|
SASL_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2
|
|
|
|
TEST_CMAKE_BOOL= BUILD_TESTS
|
|
TEST_TEST_TARGET= test
|
|
TEST_USE= QT=network,testlib
|
|
|
|
.include <bsd.port.mk>
|