aboutsummaryrefslogtreecommitdiff
path: root/security/pam_google_authenticator
diff options
context:
space:
mode:
authorKurt Jaeger <pi@FreeBSD.org>2016-03-08 20:43:20 +0000
committerKurt Jaeger <pi@FreeBSD.org>2016-03-08 20:43:20 +0000
commit01a8c41893024a2db31f36edd32150df65267666 (patch)
treebc4515d6bd963315502a240829828074c4f81d4b /security/pam_google_authenticator
parentb169d2913c18e3afb4b70d7afb56ae8fb0d89c05 (diff)
downloadports-01a8c41893024a2db31f36edd32150df65267666.tar.gz
ports-01a8c41893024a2db31f36edd32150df65267666.zip
security/pam_google_authenticator: fix .so location
- move .so location back to where it was PR: 207229 Submitted by: Ralf van der Enden <tremere@cainites.net> Approved by: just-fix-it
Notes
Notes: svn path=/head/; revision=410660
Diffstat (limited to 'security/pam_google_authenticator')
-rw-r--r--security/pam_google_authenticator/Makefile5
-rw-r--r--security/pam_google_authenticator/pkg-plist2
2 files changed, 6 insertions, 1 deletions
diff --git a/security/pam_google_authenticator/Makefile b/security/pam_google_authenticator/Makefile
index 1271665fd0c2..2e4e2840b4aa 100644
--- a/security/pam_google_authenticator/Makefile
+++ b/security/pam_google_authenticator/Makefile
@@ -3,6 +3,7 @@
PORTNAME= pam_google_authenticator
PORTVERSION= 1.01.20160208
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= security
@@ -21,4 +22,8 @@ GH_ACCOUNT= google
GH_PROJECT= google-authenticator
GH_TAGNAME= 195ddc1
+post-patch:
+ @${REINPLACE_CMD} -e 's;/security;;' \
+ ${WRKSRC}/Makefile.am
+
.include <bsd.port.mk>
diff --git a/security/pam_google_authenticator/pkg-plist b/security/pam_google_authenticator/pkg-plist
index eeaa5796ccaa..b2bd81a93e17 100644
--- a/security/pam_google_authenticator/pkg-plist
+++ b/security/pam_google_authenticator/pkg-plist
@@ -1,5 +1,5 @@
bin/google-authenticator
-lib/security/pam_google_authenticator.so
+lib/pam_google_authenticator.so
share/doc/google-authenticator/FILEFORMAT
share/doc/google-authenticator/README.md
share/doc/google-authenticator/totp.html