1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-21 08:42:23 +00:00
freebsd-ports/devel/kyua/Makefile
Julio Merino a504728bd3 Fix TAP parsing bugs.
Pull up an upstream fix to properly deal with the TAP output of several
FreeBSD tests.  Do this before a new Kyua release so that I and others can
properly test the changes before Kyua 0.11 is cut.

The FreeBSD test suite no longer reports failures caused by bad TAP parsing.

Bump PORTREVISION to 1.

Differential Revision:	D832
Approved by:	bapt (ports)
2014-09-25 09:41:24 +00:00

59 lines
1.4 KiB
Makefile

# $FreeBSD$
PORTNAME= kyua
PORTVERSION= 0.10
PORTREVISION= 1
PORTEPOCH= 2
CATEGORIES= devel
MASTER_SITES= https://github.com/jmmv/kyua/releases/download/${PORTNAME}-${PORTVERSION}/ \
LOCAL/jmmv
MAINTAINER= jmmv@FreeBSD.org
COMMENT= Testing framework for infrastructure software
LICENSE= BSD3CLAUSE
LIB_DEPENDS= liblutok.so:${PORTSDIR}/devel/lutok
LIB_DEPENDS+= libsqlite3.so:${PORTSDIR}/databases/sqlite3
RUN_DEPENDS:= ${BUILD_DEPENDS}
CONFLICTS= kyua-atf-compat-[0-9]* kyua-cli-[0-9]* kyua-testers-[0-9]*
GNU_CONFIGURE= yes
USES= pkgconfig
TESTS_USER= tests
USERS= ${TESTS_USER}
SUB_FILES= kyua.conf
SUB_LIST= TESTS_USER=${TESTS_USER}
OPTIONS_DEFINE= DOCS EXAMPLES TEST
OPTIONS_DEFAULT=TEST
OPTIONS_SUB= yes
TEST_CONFIGURE_WITH= atf
TEST_BUILD_DEPENDS= atf>=0.20:${PORTSDIR}/devel/atf
TEST_RUN_DEPENDS= atf>=0.20:${PORTSDIR}/devel/atf
.include <bsd.port.options.mk>
CONFIGURE_ARGS+= --without-doxygen
CONFIGURE_ARGS+= --docdir=${DOCSDIR}
MAKE_FLAGS+= examplesdir=${EXAMPLESDIR}
MAKE_FLAGS+= pkgdatadir=${DATADIR}
.if ! ${PORT_OPTIONS:MDOCS}
MAKE_FLAGS+= doc_DATA=
.endif
.if ! ${PORT_OPTIONS:MEXAMPLES}
MAKE_FLAGS+= dist_examples_DATA=
.endif
post-install:
${MKDIR} ${STAGEDIR}${PREFIX}/etc/kyua/
${INSTALL_DATA} ${WRKDIR}/kyua.conf ${STAGEDIR}${PREFIX}/etc/kyua/
${INSTALL_DATA} ${WRKSRC}/examples/Kyuafile.top \
${STAGEDIR}${PREFIX}/tests/Kyuafile
.include <bsd.port.mk>