1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-07 11:49:40 +00:00

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
This commit is contained in:
Julio Merino 2014-02-16 12:07:28 +00:00
parent a5ee30cafc
commit 1d0206d1d0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=344545
3 changed files with 13 additions and 12 deletions

View File

@ -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:${PORTSDIR}/devel/kyua-cli
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>

View File

@ -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

View File

@ -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%%