aboutsummaryrefslogtreecommitdiffstats
path: root/security/pam_google_authenticator/Makefile
blob: 231c75248d4a641144b7f17f9a809724cbd566b5 (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
# New ports collection makefile for:    pam_google_authenticator
# Date created:             19 May 2011
# Whom:                 Jui-Nan Lin <jnlin@csie.nctu.edu.tw>
#
# $FreeBSD$
#

PORTNAME=   pam_google_authenticator
PORTVERSION=    20110519
CATEGORIES= security
MASTER_SITES=   http://www.cs.nctu.edu.tw/~jnlin/distfiles/
DISTNAME=   google-authenticator-${PORTVERSION}

MAINTAINER= jnlin@csie.nctu.edu.tw
COMMENT=    PAM module for two-step authentication from Google

LICENSE=    AL2

WRKSRC=     ${WRKDIR}/${DISTNAME}/libpam

USE_GMAKE=  yes

PLIST_FILES=    bin/google-authenticator lib/pam_google_authenticator.so

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/google-authenticator ${PREFIX}/bin/google-authenticator
    ${INSTALL_LIB} ${WRKSRC}/pam_google_authenticator.so ${PREFIX}/lib/pam_google_authenticator.so

.include <bsd.port.mk>