|
Lines 1-31
Link Here
|
| 1 |
# Created by: Jui-Nan Lin <jnlin@freebsd.cs.nctu.edu.tw> |
1 |
# Created by: Jui-Nan Lin <jnlin@freebsd.cs.nctu.edu.tw> |
| 2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
| 3 |
|
3 |
|
| 4 |
PORTNAME= pam_google_authenticator |
4 |
PORTNAME= pam_google_authenticator |
| 5 |
PORTVERSION= 1.06 |
5 |
PORTVERSION= 1.07 |
| 6 |
PORTEPOCH= 1 |
6 |
PORTEPOCH= 1 |
| 7 |
CATEGORIES= security |
7 |
CATEGORIES= security |
| 8 |
|
8 |
|
| 9 |
MAINTAINER= jnlin@freebsd.cs.nctu.edu.tw |
9 |
MAINTAINER= driesm.michiels@gmail.com |
| 10 |
COMMENT= PAM module for two-step authentication from Google |
10 |
COMMENT= PAM module for two-step authentication from Google |
| 11 |
|
11 |
|
| 12 |
LICENSE= APACHE20 |
12 |
LICENSE= APACHE20 |
| 13 |
|
13 |
|
| 14 |
USES= autoreconf gmake libtool |
14 |
USES= autoreconf gmake libtool |
| 15 |
GNU_CONFIGURE= YES |
15 |
GNU_CONFIGURE= YES |
| 16 |
|
16 |
|
| 17 |
USE_GITHUB= yes |
17 |
USE_GITHUB= yes |
| 18 |
GH_ACCOUNT= google |
18 |
GH_ACCOUNT= google |
| 19 |
GH_PROJECT= google-authenticator-libpam |
19 |
GH_PROJECT= google-authenticator-libpam |
| 20 |
|
20 |
|
| 21 |
OPTIONS_DEFINE= QRENCODE |
21 |
OPTIONS_DEFINE= QRENCODE |
| 22 |
OPTIONS_DEFAULT= QRENCODE |
22 |
OPTIONS_DEFAULT= QRENCODE |
| 23 |
QRENCODE_DESC= Allow creation of QR-codes |
23 |
QRENCODE_DESC= Allow creation of QR-codes |
| 24 |
|
24 |
|
| 25 |
QRENCODE_LIB_DEPENDS= libqrencode.so:graphics/libqrencode |
25 |
QRENCODE_LIB_DEPENDS= libqrencode.so:graphics/libqrencode |
| 26 |
|
26 |
|
| 27 |
post-patch: |
27 |
post-patch: |
| 28 |
@${REINPLACE_CMD} -e 's;/security;;' \ |
28 |
@${REINPLACE_CMD} -e 's;/security;;' \ |
| 29 |
${WRKSRC}/Makefile.am |
29 |
${WRKSRC}/Makefile.am |
| 30 |
|
30 |
|
| 31 |
.include <bsd.port.mk> |
31 |
.include <bsd.port.mk> |