blob: a39bc0bb696ee4a585e994412983155f2a727c32 (
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
|
# Created by: Jui-Nan Lin <jnlin@csie.nctu.edu.tw>
# $FreeBSD$
PORTNAME= pam_google_authenticator
PORTVERSION= 20140826
PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= LOCAL/riggs/google-authenticator
DISTNAME= google-authenticator-${PORTVERSION}
MAINTAINER= jnlin@csie.nctu.edu.tw
COMMENT= PAM module for two-step authentication from Google
LICENSE= APACHE20
OPTIONS_DEFINE= STEPSIZE
STEPSIZE_DESC= Allow time steps other than the default of 30 seconds
STEPSIZE_CFLAGS= -DSTEPSIZE
USES= gmake
PLIST_FILES= bin/google-authenticator lib/pam_google_authenticator.so
.include <bsd.port.options.mk>
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/google-authenticator \
${STAGEDIR}${PREFIX}/bin/google-authenticator
${INSTALL_LIB} ${WRKSRC}/pam_google_authenticator.so \
${STAGEDIR}${PREFIX}/lib/pam_google_authenticator.so
.include <bsd.port.mk>
|