pkgsrc/devel/atf/Makefile
jmmv dbd29155bc Update atf and atf-libs to 0.17:
* Added the atf_utils_cat_file, atf_utils_compare_file,
  atf_utils_copy_file, atf_utils_create_file, atf_utils_file_exists,
  atf_utils_fork, atf_utils_grep_file, atf_utils_grep_string,
  atf_utils_readline, atf_utils_redirect and atf_utils_wait utility
  functions to atf-c-api.  Documented the already-public
  atf_utils_free_charpp function.

* Added the cat_file, compare_file, copy_file, create_file, file_exists,
  fork, grep_collection, grep_file, grep_string, redirect and wait
  functions to the atf::utils namespace of atf-c++-api.  These are
  wrappers around the same functions added to the atf-c-api library.

* Added the ATF_CHECK_MATCH, ATF_CHECK_MATCH_MSG, ATF_REQUIRE_MATCH and
  ATF_REQUIRE_MATCH_MSG macros to atf-c to simplify the validation of a
  string against a regular expression.

* Miscellaneous fixes for manpage typos and compilation problems with
  clang.

* Added caching of the results of those configure tests that rely on
  executing a test program.  This should help crossbuild systems by
  providing a mechanism to pre-specify what the results should be.

* PR bin/45690: Make atf-report convert any non-printable characters to
  a plain-text representation (matching their corresponding hexadecimal
  entities) in XML output files.  This is to prevent the output of test
  cases from breaking xsltproc later.
2013-02-14 18:36:12 +00:00

35 lines
950 B
Makefile

# $NetBSD: Makefile,v 1.22 2013/02/14 18:36:12 jmmv Exp $
#
.include "Makefile.common"
COMMENT:= ${COMMENT} - Runtime tools (deprecated; use kyua-cli)
CONFIGURE_ARGS+= --enable-tools
XML_ENTRIES= public "-//NetBSD//DTD ATF Tests Results 0.1//EN" \
${PREFIX}/share/xml/atf/tests-results.dtd
post-install:
.for file in bin/atf-sh \
include/ \
lib/ \
libexec/ \
${PKGMANDIR}/man1/atf-check.1 \
${PKGMANDIR}/man1/atf-sh.1 \
${PKGMANDIR}/man1/atf-test-program.1 \
${PKGMANDIR}/man3/ \
${PKGMANDIR}/man4/ \
share/aclocal/ \
share/atf/libatf-sh.subr \
tests/atf/atf-c++ \
tests/atf/atf-c \
tests/atf/atf-sh \
tests/atf/test-programs
rm -rf ${DESTDIR}${PREFIX}/${file}
.endfor
BUILDLINK_API_DEPENDS.atf-libs+= atf-libs>=${PKGVERSION_NOREV}
.include "../../devel/atf-libs/buildlink3.mk"
.include "../../textproc/xmlcatmgr/catalogs.mk"
.include "../../mk/bsd.pkg.mk"