aboutsummaryrefslogtreecommitdiff
path: root/security/pam_yubico
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2018-05-30 08:34:19 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2018-05-30 08:34:19 +0000
commit3b5761e41c2067fd02265f3a624818c729e560a6 (patch)
tree178a5622b1b5547a15a32024917b4f0b65c17fb3 /security/pam_yubico
parentf35d39ee1285bb71ac70cec6ebf3b8f5cc0aff5e (diff)
downloadports-3b5761e41c2067fd02265f3a624818c729e560a6.tar.gz
ports-3b5761e41c2067fd02265f3a624818c729e560a6.zip
- Add LICENSE_FILE
- Switch to USES=localbase - Switch to new test framework - Switch to options helpers Approved by: portmgr blanket
Notes
Notes: svn path=/head/; revision=471126
Diffstat (limited to 'security/pam_yubico')
-rw-r--r--security/pam_yubico/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/security/pam_yubico/Makefile b/security/pam_yubico/Makefile
index a6bd26b33fa0..e9c514b255b9 100644
--- a/security/pam_yubico/Makefile
+++ b/security/pam_yubico/Makefile
@@ -10,12 +10,14 @@ MAINTAINER= matt@mjslabs.com
COMMENT= PAM module for authenticating with a Yubico YubiKey
LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libykclient.so:security/ykclient \
libyubikey.so:security/libyubikey
GNU_CONFIGURE= yes
-USES= libtool pkgconfig
+USES= libtool localbase pkgconfig
+TEST_TARGET= check
PLIST_FILES= lib/security/pam_yubico.so \
man/man8/pam_yubico.8.gz
@@ -33,15 +35,11 @@ CR_PLIST_FILES= bin/ykpamcfg \
LDAP_CONFIGURE_WITH= ldap
LDAP_USE= OPENLDAP=yes
-LDAP_LDFLAGS= -L${LOCALBASE}/lib
STATIC_CONFIGURE_ENABLE= static
STATIC_PLIST_FILES= lib/security/pam_yubico.a
-regression-test: build
- @(cd ${WRKSRC}; ${MAKE} check)
-
-post-install:
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}