aboutsummaryrefslogtreecommitdiffstats
path: root/security/pam_yubico
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2018-05-30 16:34:19 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2018-05-30 16:34:19 +0800
commit04d4583ec7c13025cf388a248e455a8be6948c5b (patch)
tree178a5622b1b5547a15a32024917b4f0b65c17fb3 /security/pam_yubico
parentbd20448d7d346dec9c4547a873d90e53799584da (diff)
downloadfreebsd-ports-gnome-04d4583ec7c13025cf388a248e455a8be6948c5b.tar.gz
freebsd-ports-gnome-04d4583ec7c13025cf388a248e455a8be6948c5b.tar.zst
freebsd-ports-gnome-04d4583ec7c13025cf388a248e455a8be6948c5b.zip
- Add LICENSE_FILE
- Switch to USES=localbase - Switch to new test framework - Switch to options helpers Approved by: portmgr blanket
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}