Update security/nss to version 3.17
[dports.git] / security / pam_yubico / Makefile
1 # $FreeBSD$
2
3 PORTNAME=       pam_yubico
4 PORTVERSION=    2.16
5 PORTREVISION=   2
6 CATEGORIES=     security
7 MASTER_SITES=   http://opensource.yubico.com/yubico-pam/releases/
8
9 MAINTAINER=     matt@mjslabs.com
10 COMMENT=        PAM module for authenticating with a Yubico YubiKey
11
12 LICENSE=        BSD2CLAUSE
13
14 LIB_DEPENDS=    libykclient.so:${PORTSDIR}/security/ykclient \
15                 libyubikey.so:${PORTSDIR}/security/libyubikey
16
17 GNU_CONFIGURE=  yes
18 USES=           libtool pkgconfig
19
20 PLIST_FILES=    lib/security/pam_yubico.so \
21                 man/man8/pam_yubico.8.gz
22 PLIST_DIRS=     lib/security
23 SUB_FILES=      pkg-message
24 PORTDOCS=       *
25
26 OPTIONS_DEFINE= CR LDAP DOCS STATIC
27 CR_DESC=        Include Challenge/response support
28 OPTIONS_DEFAULT=        CR
29
30 CR_CONFIGURE_WITH=      cr
31 CR_LIB_DEPENDS= libykpers-1.so:${PORTSDIR}/security/ykpers
32 CR_PLIST_FILES= bin/ykpamcfg \
33                 man/man1/ykpamcfg.1.gz
34
35 LDAP_CONFIGURE_WITH=    ldap
36 LDAP_USE=       OPENLDAP=yes
37 LDAP_LDFLAGS=   -L${LOCALBASE}/lib
38
39 STATIC_CONFIGURE_ENABLE=        static
40 STATIC_PLIST_FILES=     lib/security/pam_yubico.a
41
42 regression-test: build
43         @(cd ${WRKSRC}; ${MAKE} check)
44
45 post-install:
46         @${MKDIR} ${STAGEDIR}${DOCSDIR}
47         ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
48
49 .include <bsd.port.mk>