summaryrefslogtreecommitdiff
path: root/security/gnupg-pkcs11-scd/Makefile
blob: 3af1066da2c36b1a26f6654e70813ac7528e69f4 (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

PORTNAME=	gnupg-pkcs11-scd
DISTVERSION=	0.9.2
CATEGORIES=	security
MASTER_SITES=	https://github.com/alonbl/${PORTNAME}/releases/download/${DISTNAME}/

MAINTAINER=	mat@FreeBSD.org
COMMENT=	PKCS\#11 enabled gnupg scd

LICENSE=	BSD3CLAUSE
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libassuan.so:security/libassuan \
		libgcrypt.so:security/libgcrypt \
		libgnutls.so:security/gnutls \
		libgpg-error.so:security/libgpg-error \
		libpkcs11-helper.so:security/pkcs11-helper

USES=		pkgconfig ssl tar:bz2

GNU_CONFIGURE=	yes

CONFIGURE_ARGS=	--with-libassuan-prefix=${LOCALBASE} \
		--with-libgcrypt-prefix=${LOCALBASE} \
		--with-libgpg-error-prefix=${LOCALBASE} \
		--without-docs \
		--without-openssl

OPTIONS_DEFINE=	EXAMPLES

post-install-EXAMPLES-on:
	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
	${INSTALL_DATA} ${WRKSRC}/gnupg-pkcs11-scd/gnupg-pkcs11-scd.conf.example \
		${STAGEDIR}${EXAMPLESDIR}/gnupg-pkcs11-scd.conf

.include <bsd.port.mk>