summaryrefslogtreecommitdiff
path: root/security/qca-tls/Makefile
blob: d87fdd20fc665639cb33686a2351ba700967a93c (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
37
38
39
# $NetBSD: Makefile,v 1.3 2004/12/19 09:29:16 jdolecek Exp $

DISTNAME=	qca-tls-1.0
PKGREVISION=	# empty
CATEGORIES=	security
MASTER_SITES=	${MASTER_SITE_SOURCEFORCE:=psi/}
EXTRACT_SUFX=	.tar.bz2

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

USE_BUILDLINK3=	yes
USE_GNU_TOOLS+=	make
USE_LIBTOOL=	yes
USE_X11=	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} && (	\
		${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"
BUILDLINK_DEPMETHOD.qt3-tools=	build
.include "../../x11/qt3-tools/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"