summaryrefslogtreecommitdiff
path: root/security/CoolKey/Makefile
blob: 56cf25459069c75f9bb199081edd5aaf30f050a2 (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
40
41
42
43
44
# $NetBSD: Makefile,v 1.4 2012/10/23 18:16:20 asau Exp $
#

DISTNAME=	coolkey-1.1.0
CATEGORIES=	security
MASTER_SITES=	http://directory.fedora.redhat.com/download/coolkey/

MAINTAINER=	shannonjr@NetBSD.org
HOMEPAGE=	http://directory.fedora.redhat.com/wiki/CoolKey
COMMENT=	Driver support for the CoolKey and CAC products

# Only for NetBSD>=4.99.0
NOT_FOR_PLATFORM=	NetBSD-[0-3].*-* NetBSD-4.[0-9].*-*
NOT_FOR_PLATFORM+=	NetBSD-4.[0-8]*.*-* NetBSD-4.9[0-8].*-*

.include "../../mk/bsd.prefs.mk"

GNU_CONFIGURE=	yes
USE_LIBTOOL=	yes
USE_TOOLS+=	pkg-config
USE_TOOLS+=	autoconf
USE_TOOLS+=	gmake
USE_TOOLS+=	grep
.if ${OPSYS} != "NetBSD"
USE_TOOLS+=	gsed
.endif
USE_LANGUAGES=	c c++
AUTOCONF_REQD=	2.59

CONFIGURE_ARGS+=        --sharedstatedir=${VARBASE:Q}
CONFIGURE_ARGS+=        --localstatedir=${VARBASE:Q}
CONFIGURE_ARGS+=        --sysconfdir=${PKG_SYSCONFDIR:Q}
CONFIGURE_ARGS+=	--disable-dependency-tracking

PKGCONFIG_OVERRIDE+=	src/libckyapplet/libckyapplet.pc.in

pre-configure:
	cd ${WRKSRC} && autoconf

.include "../../security/pcsc-lite/buildlink3.mk"
.include "../../security/ccid/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"