Lines 1-32
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.08 |
5 |
PORTVERSION= 1.08 |
|
|
6 |
PORTREVISION= 1 |
6 |
PORTEPOCH= 1 |
7 |
PORTEPOCH= 1 |
7 |
CATEGORIES= security |
8 |
CATEGORIES= security |
8 |
|
9 |
|
9 |
MAINTAINER= driesm.michiels@gmail.com |
10 |
MAINTAINER= driesm.michiels@gmail.com |
10 |
COMMENT= PAM module for two-step authentication from Google |
11 |
COMMENT= PAM module for two-step authentication from Google |
11 |
|
12 |
|
12 |
LICENSE= APACHE20 |
13 |
LICENSE= APACHE20 |
13 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
14 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
14 |
|
15 |
|
15 |
USES= autoreconf gmake libtool |
16 |
USES= autoreconf gmake libtool |
16 |
GNU_CONFIGURE= yes |
17 |
GNU_CONFIGURE= yes |
17 |
|
18 |
|
18 |
USE_GITHUB= yes |
19 |
USE_GITHUB= yes |
19 |
GH_ACCOUNT= google |
20 |
GH_ACCOUNT= google |
20 |
GH_PROJECT= google-authenticator-libpam |
21 |
GH_PROJECT= google-authenticator-libpam |
21 |
|
22 |
|
|
|
23 |
INSTALL_TARGET= install-strip |
24 |
|
22 |
OPTIONS_DEFINE= QRENCODE |
25 |
OPTIONS_DEFINE= QRENCODE |
23 |
OPTIONS_DEFAULT= QRENCODE |
26 |
OPTIONS_DEFAULT= QRENCODE |
|
|
27 |
|
24 |
QRENCODE_DESC= Allow creation of QR-codes |
28 |
QRENCODE_DESC= Allow creation of QR-codes |
25 |
|
|
|
26 |
QRENCODE_LIB_DEPENDS= libqrencode.so:graphics/libqrencode |
29 |
QRENCODE_LIB_DEPENDS= libqrencode.so:graphics/libqrencode |
27 |
|
30 |
|
28 |
post-patch: |
31 |
post-patch: |
29 |
@${REINPLACE_CMD} -e 's;/security;;' \ |
32 |
@${REINPLACE_CMD} -e 's;/security;;' ${WRKSRC}/Makefile.am |
30 |
${WRKSRC}/Makefile.am |
|
|
31 |
|
33 |
|
32 |
.include <bsd.port.mk> |
34 |
.include <bsd.port.mk> |