Merge from vendor branch TNF:
[pkgsrc.git] / security / CoolKey / Makefile
1 # $NetBSD: Makefile,v 1.1.1.1 2008/03/04 11:33:02 shannonjr Exp $
2 #
3
4 DISTNAME=       coolkey-1.1.0
5 CATEGORIES=     security
6 MASTER_SITES=   http://directory.fedora.redhat.com/download/coolkey/
7
8 MAINTAINER=     shannonjr@NetBSD.org
9 HOMEPAGE=       http://directory.fedora.redhat.com/wiki/CoolKey
10 COMMENT=        Driver support for the CoolKey and CAC products
11
12 PKG_DESTDIR_SUPPORT=    user-destdir
13
14 # Only for NetBSD>=4.99.0
15 NOT_FOR_PLATFORM=       NetBSD-[0-3].*-* NetBSD-4.[0-9].*-*
16 NOT_FOR_PLATFORM+=      NetBSD-4.[0-8]*.*-* NetBSD-4.9[0-8].*-*
17
18 GNU_CONFIGURE=  yes
19 USE_LIBTOOL=    yes
20 USE_TOOLS+=     pkg-config
21 USE_TOOLS+=     autoconf
22 USE_TOOLS+=     gmake
23 USE_TOOLS+=     grep
24 USE_TOOLS+=     gsed
25 USE_LANGUAGES=  c c++
26 AUTOCONF_REQD=  2.59
27
28 CONFIGURE_ARGS+=        --sharedstatedir=${VARBASE:Q}
29 CONFIGURE_ARGS+=        --localstatedir=${VARBASE:Q}
30 CONFIGURE_ARGS+=        --sysconfdir=${PKG_SYSCONFDIR:Q}
31 CONFIGURE_ARGS+=        --disable-dependency-tracking
32
33 PKGCONFIG_OVERRIDE+=    src/libckyapplet/libckyapplet.pc.in
34
35 pre-configure:
36         cd ${WRKSRC} && autoconf
37
38 .include "../../security/pcsc-lite/buildlink3.mk"
39 .include "../../security/ccid/buildlink3.mk"
40 .include "../../mk/pthread.buildlink3.mk"
41 .include "../../devel/zlib/buildlink3.mk"
42 .include "../../mk/bsd.pkg.mk"