summaryrefslogtreecommitdiff
path: root/security/qca-tls/Makefile
blob: 072ccf26db0df9cbaa34f453c069651788d8705f (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
36
# $NetBSD: Makefile,v 1.14 2006/03/02 22:01:18 wiz Exp $

DISTNAME=	qca-tls-1.0
PKGREVISION=	2
CATEGORIES=	security
MASTER_SITES=	http://delta.affinix.com/download/qca/
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"