Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Jun 2018 08:37:19 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r473117 - head/devel/api-sanity-autotest
Message-ID:  <201806230837.w5N8bJ8e053573@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Sat Jun 23 08:37:18 2018
New Revision: 473117
URL: https://svnweb.freebsd.org/changeset/ports/473117

Log:
  - Add LICENSE_FILE
  - Switch to new test framework

Modified:
  head/devel/api-sanity-autotest/Makefile

Modified: head/devel/api-sanity-autotest/Makefile
==============================================================================
--- head/devel/api-sanity-autotest/Makefile	Sat Jun 23 08:27:13 2018	(r473116)
+++ head/devel/api-sanity-autotest/Makefile	Sat Jun 23 08:37:18 2018	(r473117)
@@ -12,6 +12,7 @@ COMMENT=	Quickly generate sanity tests for the API of 
 
 LICENSE=	LGPL20 GPLv2
 LICENSE_COMB=	dual
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
 RUN_DEPENDS=	${LOCALBASE}/bin/abi-compliance-checker.pl:devel/abi-compliance-checker
 
@@ -58,13 +59,13 @@ post-patch:
 
 do-install:
 	@${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl ${STAGEDIR}${PREFIX}/bin
-.if defined(MAINTAINER_MODE) || defined(PACKAGE_BUILDING)
-check regression-test test: build
-	cd ${WRKSRC}; ${PERL} ./${PORTNAME}.pl -test
-.endif
 
-post-install-DOCS-on:
+do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/doc/,} ${STAGEDIR}${DOCSDIR}
+
+# XXX: tests fail: ERROR: can't find GCC>=3.0 in PATH
+do-test:
+	cd ${WRKSRC} && ${PERL} ./${PORTNAME}.pl -test
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806230837.w5N8bJ8e053573>