freebsd-ports/devel/kyua/Makefile
Bryan Drewery 55a23d6dbb New port: devel/kyua:
Kyua (pronounced Q.A.) is a testing framework for both developers and
users.  Kyua is different from most other testing frameworks in that it
puts the end user experience before anything else.  There are multiple
reasons for users to run the tests themselves, and Kyua ensures that
they can do so in the most convenient way.

At the moment, Kyua is focused on implementing a solid foundation and a
powerful command-line tool to run tests implemented with the Automated
Testing Framework (ATF).  Later on, Kyua will also provide a set of
language bindings (C, C++ and shell, at the least) to ease the
implementation of test cases in a variety of programming languages.

In effect, Kyua is intended to be a replacement for ATF.

WWW: https://code.google.com/p/kyua/

PR:		ports/177641
Submitted by:	asomers
Reviewed by:	Garrett Cooper <yaneurabeya@gmail.com>
2013-06-16 14:22:13 +00:00

49 lines
1.3 KiB
Makefile

# Created by: Alan Somers <asomers@freebsd.org>
# $FreeBSD$
PORTNAME= kyua
PORTVERSION= 0.6
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
PROJECTHOST= kyua
DISTNAME= kyua-cli-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX}
MAINTAINER= asomers@freebsd.org
COMMENT= Kyua (automated testing framework) - Command line interface
LICENSE= BSD
LIB_DEPENDS= lutok:${PORTSDIR}/devel/lutok
LIB_DEPENDS+= sqlite3:${PORTSDIR}/databases/sqlite3
BUILD_DEPENDS= ${LOCALBASE}/libexec/kyua-atf-tester:${PORTSDIR}/devel/kyua-testers
RUN_DEPENDS:= ${BUILD_DEPENDS}
GNU_CONFIGURE= yes
USES= pkgconfig
OPTIONS_DEFINE= DOCS EXAMPLES
.include <bsd.port.options.mk>
CONFIGURE_ARGS+= --without-doxygen
CONFIGURE_ARGS+= --docdir=${DOCSDIR}
# TODO: install the tests, once FreeBSD has a system for ports to install tests
CONFIGURE_ARGS+= --without-atf
MAKE_FLAGS+= pkgdatadir=${DATADIR}
.if ! ${PORT_OPTIONS:MDOCS}
MAKE_FLAGS+= doc_DATA=
.endif
.if ! ${PORT_OPTIONS:MEXAMPLES}
MAKE_FLAGS+= dist_examples_DATA=
.endif
PLIST_FILES= bin/kyua
PORTDATA= misc store examples
PORTDOCS= AUTHORS COPYING NEWS README
MAN1= kyua-about.1 kyua-config.1 kyua-db-exec.1 kyua-db-migrate.1
MAN1+= kyua-debug.1 kyua-help.1 kyua-list.1 kyua-report-html.1
MAN1+= kyua-report.1 kyua-test.1 kyua.1
MAN5= kyua.conf.5 kyuafile.5
MAN7= kyua-build-root.7 kyua-test-filters.7
.include <bsd.port.mk>