aboutsummaryrefslogtreecommitdiff
path: root/security/qca-cyrus-sasl/Makefile
blob: e53dd05b74cca901ce39c77fe005f24fa62c1eae (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
# $FreeBSD$

PORTNAME=	qca-cyrus-sasl
DISTVERSION=	2.0.0-beta3
PORTREVISION=	2
CATEGORIES=	security
MASTER_SITES=	http://delta.affinix.com/download/qca/2.0/plugins/

MAINTAINER=	kde@FreeBSD.org
COMMENT=	QCA Cyrus SASL plugin

LIB_DEPENDS=	qca.2:${PORTSDIR}/devel/qca \
		sasl2:${PORTSDIR}/security/cyrus-sasl2

USE_BZIP2=	yes
USE_QT4=	corelib qmake_build moc_build
HAS_CONFIGURE=	yes
QT_NONSTANDARD=	yes
CONFIGURE_ARGS+=--plugins-path=${PREFIX}/${QT_PLUGINDIR_REL} \
		--with-sasl-inc=${LOCALBASE}/include \
		--with-sasl-lib=${LOCALBASE}/lib

.if !defined(WITH_DEBUG)
CONFIGURE_ARGS+=--release --no-separate-debug-info
PLIST_SUB+=	DEBUG="@comment "
.else
CONFIGURE_ARGS+=--debug
PLIST_SUB+=	DEBUG=""
.endif

NO_STAGE=	yes
post-install:
	${STRIP_CMD} ${PREFIX}/${QT_PLUGINDIR_REL}/crypto/libqca-cyrus-sasl.so

.include <bsd.port.mk>