svn commit: r471126 - head/security/pam_yubico

Dmitry Marakasov amdmi3 at FreeBSD.org
Wed May 30 08:34:20 UTC 2018


Author: amdmi3
Date: Wed May 30 08:34:19 2018
New Revision: 471126
URL: https://svnweb.freebsd.org/changeset/ports/471126

Log:
  - Add LICENSE_FILE
  - Switch to USES=localbase
  - Switch to new test framework
  - Switch to options helpers
  
  Approved by:	portmgr blanket

Modified:
  head/security/pam_yubico/Makefile

Modified: head/security/pam_yubico/Makefile
==============================================================================
--- head/security/pam_yubico/Makefile	Wed May 30 07:50:36 2018	(r471125)
+++ head/security/pam_yubico/Makefile	Wed May 30 08:34:19 2018	(r471126)
@@ -10,12 +10,14 @@ MAINTAINER=	matt at 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}
 


More information about the svn-ports-all mailing list