summaryrefslogtreecommitdiff
path: root/security/pam_google_authenticator/Makefile
blob: 6a6b0f9cb619856ae1416e4f63e116e16ac7bea6 (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@freebsd.cs.nctu.edu.tw>

PORTNAME=	pam_google_authenticator
PORTVERSION=	1.09
PORTEPOCH=	1
CATEGORIES=	security

MAINTAINER=	driesm@FreeBSD.org
COMMENT=	PAM module for two-step authentication from Google

LICENSE=	APACHE20
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		autoreconf gmake libtool
GNU_CONFIGURE=	yes

USE_GITHUB=	yes
GH_ACCOUNT=	google
GH_PROJECT=	google-authenticator-libpam

INSTALL_TARGET=	install-strip

OPTIONS_DEFINE=		QRENCODE
OPTIONS_DEFAULT=	QRENCODE

QRENCODE_DESC=		Allow creation of QR-codes
QRENCODE_LIB_DEPENDS=	libqrencode.so:graphics/libqrencode

post-patch:
	@${REINPLACE_CMD} -e 's;/security;;' ${WRKSRC}/Makefile.am

.include <bsd.port.mk>