freebsd-ports/devel/qca/Makefile
Raphael Kubo da Costa 58af21807e Add upstream patch to remove comma from the last item in an enum.
This fixes the build of at least finance/skrooge on 8.4 and 9.3:
In file included from /usr/local/include/QtCrypto/qca.h:38,
                 from /usr/local/include/QtCrypto/QtCrypto:1,
                 from /wrkdirs/usr/ports/finance/skrooge/work/skrooge-1.10.0/skgbasemodeler/skgservices.cpp:41:
/usr/local/include/QtCrypto/qca_basic.h:598: error: comma at end of enumerator list
2015-01-17 15:06:01 +00:00

38 lines
1.2 KiB
Makefile

# Created by: Vsevolod Stakhov <vsevolod@highsecure.ru>
# $FreeBSD$
PORTNAME= qca
PORTVERSION= 2.1.0
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://delta.affinix.com/download/qca/2.0/
MAINTAINER= kde@FreeBSD.org
COMMENT= Cross-platform crypto API for Qt
BUILD_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss
RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss
USES= cmake:outsource
CMAKE_ARGS= -DBUILD_PLUGINS=none -DBUILD_TESTS=no -DQT4_BUILD=yes \
-DPKGCONFIG_INSTALL_PREFIX=${PREFIX}/libdata/pkgconfig \
-DQCA_FEATURE_INSTALL_DIR=${QT_MKSPECDIR}/features \
-DQCA_MAN_INSTALL_DIR=${MANPREFIX}/man
CMAKE_ENV= QC_CERTSTORE_PATH=${LOCALBASE}/share/certs/ca-root-nss.crt
USE_LDCONFIG= yes
USE_QT4= corelib moc_build qmake_build rcc_build
OPTIONS_DEFINE= GNUPG OPENSSL SASL
OPTIONS_DEFAULT=GNUPG OPENSSL
OPTIONS_SUB= yes
GNUPG_CMAKE_ON= -DWITH_gnupg_PLUGIN=yes
GNUPG_RUN_DEPENDS= gpg2:${PORTSDIR}/security/gnupg
OPENSSL_CMAKE_ON= -DWITH_ossl_PLUGIN=yes
OPENSSL_USE= OPENSSL=yes
SASL_CMAKE_ON= -DWITH_cyrus-sasl_PLUGIN=yes
SASL_LIB_DEPENDS= libsasl2.so:${PORTSDIR}/security/cyrus-sasl2
.include <bsd.port.mk>