aboutsummaryrefslogtreecommitdiff
path: root/security/pam_p11/Makefile
blob: c18e7165e077feca2ef0dfc43724ebf79195a3b9 (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
# Created by: Alex Dupre <ale@FreeBSD.org>
# $FreeBSD$

PORTNAME=	pam_p11
PORTVERSION=	0.1.5
PORTREVISION=	3
CATEGORIES=	security
MASTER_SITES=	http://www.opensc-project.org/files/${PORTNAME}/

MAINTAINER=	ale@FreeBSD.org
COMMENT=	A PAM module using crypto tokens for auth

LIB_DEPENDS=	p11.2:${PORTSDIR}/security/libp11

USE_AUTOTOOLS=	libtool
USE_OPENSSL=	yes
GNU_CONFIGURE=	yes
USES=		pkgconfig

CONFIGURE_ENV=	OPENSSL_CFLAGS="-I${OPENSSLINC}" \
		OPENSSL_LIBS="-L${OPENSSLLIB} -lssl"

PORTDOCS=	*

.ifndef(NOPORTDOCS)
post-install:
	@${MKDIR} ${DOCSDIR}/wiki
	@(cd ${WRKSRC} && ${CP} NEWS ${DOCSDIR})
	@(cd ${WRKSRC}/doc && ${CP} README ${DOCSDIR})
	@(cd ${WRKSRC}/doc && ${CP} *.css *.html ${DOCSDIR}/wiki)
.endif

.include <bsd.port.mk>