# Template file for 'atf' pkgname=atf version=0.23 revision=2 build_style=gnu-configure configure_args=" kyua_cv_getopt_plus=yes kyua_cv_attribute_noreturn=yes kyua_cv_getcwd_works=yes" depends="gdb xmlcatmgr" checkdepends="kyua" short_desc="Automated Testing Framework" maintainer="Duncaen " license="BSD-2-Clause" homepage="https://github.com/freebsd/atf" changelog="https://github.com/freebsd/atf/raw/refs/heads/master/NEWS" distfiles="https://github.com/freebsd/atf/releases/download/atf-${version}/atf-${version}.tar.gz" checksum=a64e2427d021297f25b3f2e1798f8ec4dc3061ffb01a1cd3f66cc4cee486b10f xml_entries="system http://www.NetBSD.org/XML/atf/tests-results.dtd /usr/share/xml/atf/tests-results.dtd" post_check() { kyua test } post_install() { vlicense COPYING } atf-devel_package() { depends="atf-libs>=${version}_${revision}" short_desc+=" - development files" pkg_install() { vmove usr/include vmove "usr/lib/*.a" vmove "usr/lib/*.so" vmove usr/lib/pkgconfig vmove usr/share/aclocal } } atf-libs_package() { short_desc+=" - runtime libraries" pkg_install() { vmove "usr/lib/*.so.*" } }