svn commit: r344545 - head/devel/kyua-atf-compat

Julio Merino jmmv at FreeBSD.org
Sun Feb 16 12:07:29 UTC 2014


Author: jmmv (src committer)
Date: Sun Feb 16 12:07:28 2014
New Revision: 344545
URL: http://svnweb.freebsd.org/changeset/ports/344545
QAT: https://qat.redports.org/buildarchive/r344545/

Log:
  Update devel/kyua-atf-compat to 0.2.
  
  While doing this, also add support for the TEST option and install all
  bundled tests.
  
  Approved by:	bdrewery

Modified:
  head/devel/kyua-atf-compat/Makefile
  head/devel/kyua-atf-compat/distinfo
  head/devel/kyua-atf-compat/pkg-plist

Modified: head/devel/kyua-atf-compat/Makefile
==============================================================================
--- head/devel/kyua-atf-compat/Makefile	Sun Feb 16 12:05:59 2014	(r344544)
+++ head/devel/kyua-atf-compat/Makefile	Sun Feb 16 12:07:28 2014	(r344545)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	kyua-atf-compat
-PORTVERSION=	0.1
-PORTREVISION=	1
+PORTVERSION=	0.2
 CATEGORIES=	devel
 MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
 PROJECTHOST=	kyua
@@ -18,21 +17,17 @@ RUN_DEPENDS+=	${LOCALBASE}/bin/kyua:${PO
 GNU_CONFIGURE=	yes
 USES=		pkgconfig
 
-OPTIONS_DEFINE=	DOCS
+OPTIONS_DEFINE=	DOCS TEST
+
+OPTIONS_SUB=		yes
+TEST_CONFIGURE_WITH=	atf
 
 .include <bsd.port.options.mk>
 
 CONFIGURE_ARGS+=	--docdir=${DOCSDIR}
-# TODO: install the tests, once FreeBSD has a system for ports to install tests
-CONFIGURE_ARGS+=	--without-atf
 
 .if ! ${PORT_OPTIONS:MDOCS}
 MAKE_FLAGS+=	doc_DATA=
 .endif
 
-post-stage:
-	# TODO(jmmv): Should not be necessary after updating this to 0.2.
-	rmdir ${STAGEDIR}${PREFIX}/tests/kyua-atf-compat
-	rmdir ${STAGEDIR}${PREFIX}/tests
-
 .include <bsd.port.mk>

Modified: head/devel/kyua-atf-compat/distinfo
==============================================================================
--- head/devel/kyua-atf-compat/distinfo	Sun Feb 16 12:05:59 2014	(r344544)
+++ head/devel/kyua-atf-compat/distinfo	Sun Feb 16 12:07:28 2014	(r344545)
@@ -1,2 +1,2 @@
-SHA256 (kyua-atf-compat-0.1.tar.gz) = dd3f647ec015b4d4595d1f16ad79673b66c44f6e19cb9176dfcf4fc9d2cfd8e8
-SIZE (kyua-atf-compat-0.1.tar.gz) = 73743
+SHA256 (kyua-atf-compat-0.2.tar.gz) = 66cb5961e03c715bcb3c797942257d65950f7f0fe3f2b31fb874b73c36a5b5be
+SIZE (kyua-atf-compat-0.2.tar.gz) = 75121

Modified: head/devel/kyua-atf-compat/pkg-plist
==============================================================================
--- head/devel/kyua-atf-compat/pkg-plist	Sun Feb 16 12:05:59 2014	(r344544)
+++ head/devel/kyua-atf-compat/pkg-plist	Sun Feb 16 12:07:28 2014	(r344545)
@@ -11,4 +11,10 @@ man/man1/atf2kyua.1.gz
 %%PORTDOCS%%%%DOCSDIR%%/NEWS
 %%PORTDOCS%%%%DOCSDIR%%/README
 %%PORTDOCS%%@dirrm %%DOCSDIR%%
+%%TEST%%tests/kyua-atf-compat/Kyuafile
+%%TEST%%tests/kyua-atf-compat/atf-run_test
+%%TEST%%tests/kyua-atf-compat/atf-report_test
+%%TEST%%tests/kyua-atf-compat/atf2kyua_test
+%%TEST%%tests/kyua-atf-compat/helpers
+%%TEST%%@dirrm tests/kyua-atf-compat
 @dirrm %%DATADIR%%


More information about the svn-ports-all mailing list