svn commit: r473423 - head/www/varnish6

Dmitry Marakasov amdmi3 at FreeBSD.org
Wed Jun 27 08:37:22 UTC 2018


Author: amdmi3
Date: Wed Jun 27 08:37:21 2018
New Revision: 473423
URL: https://svnweb.freebsd.org/changeset/ports/473423

Log:
  - Add LICENSE_FILE
  - Switch to new test framework
  
  Approved by:	portmgr blanket

Modified:
  head/www/varnish6/Makefile

Modified: head/www/varnish6/Makefile
==============================================================================
--- head/www/varnish6/Makefile	Wed Jun 27 08:08:46 2018	(r473422)
+++ head/www/varnish6/Makefile	Wed Jun 27 08:37:21 2018	(r473423)
@@ -11,6 +11,7 @@ MAINTAINER=	feld at FreeBSD.org
 COMMENT=	High-performance HTTP accelerator
 
 LICENSE=	BSD2CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	rst2man:textproc/py-docutils
 LIB_DEPENDS=	libpcre.so:devel/pcre
@@ -26,6 +27,8 @@ GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--localstatedir=${PREFIX} --without-dot
 USE_LDCONFIG=	yes
 INSTALL_TARGET=	install-strip
+TEST_TARGET=	check
+TEST_ARGS=	TESTS_PARALLELISM=1
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	varnishcache
@@ -44,8 +47,5 @@ post-patch:
 .if defined(BAD_TESTS)
 	${RM} ${BAD_TESTS:C|.+|${WRKSRC}/bin/varnishtest/tests/\0.vtc|}
 .endif
-
-regression-test check test: build
-	${MAKE_CMD} TESTS_PARALLELISM=1 -C ${WRKSRC} check
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list