aboutsummaryrefslogtreecommitdiff
path: root/security/pam_google_authenticator/Makefile
diff options
context:
space:
mode:
authorRaphael Kubo da Costa <rakuco@FreeBSD.org>2016-03-06 20:00:32 +0000
committerRaphael Kubo da Costa <rakuco@FreeBSD.org>2016-03-06 20:00:32 +0000
commit007392ff745c93a96c11f382c422bc104c629fe2 (patch)
treed4a945f075d2c6f8af159cbd6ed770308a717d13 /security/pam_google_authenticator/Makefile
parent52386167b53538fcf9a3560292472d0d3040dfd3 (diff)
downloadports-007392ff745c93a96c11f382c422bc104c629fe2.tar.gz
ports-007392ff745c93a96c11f382c422bc104c629fe2.zip
Notes
Diffstat (limited to 'security/pam_google_authenticator/Makefile')
-rw-r--r--security/pam_google_authenticator/Makefile26
1 files changed, 9 insertions, 17 deletions
diff --git a/security/pam_google_authenticator/Makefile b/security/pam_google_authenticator/Makefile
index ba419ebd4e1b..1271665fd0c2 100644
--- a/security/pam_google_authenticator/Makefile
+++ b/security/pam_google_authenticator/Makefile
@@ -2,31 +2,23 @@
# $FreeBSD$
PORTNAME= pam_google_authenticator
-PORTVERSION= 20140826
-PORTREVISION= 1
+PORTVERSION= 1.01.20160208
+PORTEPOCH= 1
CATEGORIES= security
-MASTER_SITES= LOCAL/riggs/google-authenticator
-DISTNAME= google-authenticator-${PORTVERSION}
MAINTAINER= jnlin@freebsd.cs.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= autoreconf gmake libtool
+GNU_CONFIGURE= YES
-USES= gmake
+WRKSRC_SUBDIR= libpam
-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
+USE_GITHUB= yes
+GH_ACCOUNT= google
+GH_PROJECT= google-authenticator
+GH_TAGNAME= 195ddc1
.include <bsd.port.mk>