summaryrefslogtreecommitdiff
path: root/security/qca-tls/Makefile
blob: 7f4599637aa162000d4a5bb9c944e8a6f093cbe2 (plain)
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
# $NetBSD: Makefile,v 1.11 2006/01/05 10:08:59 ghen Exp $

DISTNAME=	qca-tls-1.0
CATEGORIES=	security
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=psi/}
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	jdolecek@NetBSD.org
HOMEPAGE=	http://delta.affinix.com/qca/
COMMENT=	Cross-platform crypto API for QT - TLS plugin

USE_TOOLS+=	gmake
USE_LIBTOOL=	yes
HAS_CONFIGURE=	yes

CONFIGURE_ARGS+=        --with-openssl-inc=${SSLBASE}/include
CONFIGURE_ARGS+=        --with-openssl-lib=${SSLBASE}/lib

# XXX the -rpath filter is somewhat ugly, and this should be eventually
# fixed in NetBSD qmake template to not be necessary.
post-configure:
	cd ${WRKSRC} && ( ${SETENV} ${CONFIGURE_ENV}			\
		${QTDIR}/bin/qmake qca-tls.pro -o Makefile.orig;	\
		${SED} -e "s,-rpath .*,-rpath ${QTDIR}/lib," Makefile.orig > Makefile;	\
	)

do-install:
	${INSTALL_DATA_DIR} ${QTDIR}/plugins/crypto
	cd ${WRKSRC} && \
	libtool --mode=install ${INSTALL_LIB} libqca-tls.la ${QTDIR}/plugins/crypto

.include "../../security/openssl/buildlink3.mk"
.include "../../x11/qt3-libs/buildlink3.mk"
.include "../../x11/qt3-tools/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"