summaryrefslogtreecommitdiff
path: root/security/pakchois/Makefile
blob: 174a628e6b8ddc33d8dafe66cbde10c570cf4a8e (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
# $NetBSD: Makefile,v 1.3 2011/03/31 18:37:34 agc Exp $
#

DISTNAME=	pakchois-0.4
CATEGORIES=	security
MASTER_SITES=	http://www.manyfish.co.uk/pakchois/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.manyfish.co.uk/pakchois/
COMMENT=	PKCS\#11 wrapper library

PKG_DESTDIR_SUPPORT=	user-destdir

GNU_CONFIGURE=	yes
USE_LIBTOOL=	yes
USE_TOOLS+=	gmake pkg-config

PKGCONFIG_OVERRIDE+=	pakchois.pc.in

PTHREAD_OPTS+=		require
PKG_PTHREAD_FLAGS=	${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}

BROKEN_GETTEXT_DETECTION=	yes
BUILDLINK_TRANSFORM+=	opt:-ldl:${BUILDLINK_LDADD.dl:M*}
BUILDLINK_TRANSFORM+=	opt:-lpthread:${PKG_PTHREAD_FLAGS:M*}

.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/dlopen.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"