summaryrefslogtreecommitdiff
path: root/security/opensc-esteid/Makefile
blob: a218c86ba699475441111816e6a86269f118fb22 (plain) (blame)
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
# New ports collection makefile for:	opensc-esteid
# Date created:				8 September 2003
# Whom:					Sven Petai <hadara@bsd.ee>
#
# $FreeBSD$
#

PORTNAME=	esteid
PORTVERSION=	0.7.0.1
PORTREVISION=	1
CATEGORIES=	security devel
MASTER_SITES=	http://marie.vtl.ee/esteid/
PKGNAMEPREFIX=	opensc-
DISTNAME=	opensc-esteid-0.7.0-1

MAINTAINER=	hadara@bsd.ee
COMMENT=	ISO 7816 Smartcard API Library (OpenSSH Compatible)

LIB_DEPENDS=	pcsclite.0:${PORTSDIR}/devel/pcsc-lite

USE_OPENLDAP=	yes
INSTALLS_SHLIB=	yes
USE_OPENSSL=	yes
USE_INC_LIBTOOL_VER=13
USE_GMAKE=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--with-pcsclite=${LOCALBASE}    \
		--with-ldap-lib=openldap        \
		--with-ldap-dir=${LOCALBASE}    \
		--with-plugin-dir=${LOCALBASE}/share/opensc/plugins

MAN1=		pkcs15-crypt.1 pkcs15-init.1 pkcs15-tool.1 \
		cryptoflex-tool.1 \
		opensc-config.1 opensc-explorer.1 opensc-tool.1
MAN5=		pkcs15-profile.5
MAN7=		pkcs15.7 opensc.7
.include <bsd.port.pre.mk>

.if ${ARCH} == "amd64"
BROKEN=		"Does not compile on amd64 (missing -fPIC)"
.endif

.include <bsd.port.post.mk>