Index: devel/shtk/Makefile =================================================================== --- devel/shtk/Makefile +++ devel/shtk/Makefile @@ -1,8 +1,7 @@ # $FreeBSD$ PORTNAME= shtk -PORTVERSION= 1.5 -PORTREVISION= 2 +PORTVERSION= 1.6 CATEGORIES= devel MASTER_SITES= https://github.com/jmmv/${PORTNAME}/releases/download/${PORTNAME}-${PORTVERSION}/ \ LOCAL/jmmv @@ -10,18 +9,28 @@ MAINTAINER= jmmv@freebsd.org COMMENT= Application toolkit for POSIX-compliant shell scripts -LICENSE= BSD +LICENSE= BSD3CLAUSE GNU_CONFIGURE= yes -MAKE_ARGS= pkgconfigdir=${PREFIX}/libdata/pkgconfig +OPTIONS_DEFINE= DOCS TEST +OPTIONS_DEFAULT=TEST -OPTIONS_DEFINE= 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 -TEST_USES= pkgconfig +.include + +MAKE_FLAGS+= pkgconfigdir=${PREFIX}/libdata/pkgconfig +.if empty(PORT_OPTIONS:MDOCS) +MAKE_FLAGS+= doc_DATA= +.endif +.if empty(PORT_OPTIONS:MTEST) +PLIST_SUB+= TEST="@comment " +.else +PLIST_SUB+= TEST= +.endif + +post-install: +.if empty(PORT_OPTIONS:MTEST) + @${RM} -rf ${STAGEDIR}${PREFIX}/tests +.endif .include Index: devel/shtk/distinfo =================================================================== --- devel/shtk/distinfo +++ devel/shtk/distinfo @@ -1,2 +1,2 @@ -SHA256 (shtk-1.5.tar.gz) = aabd8a8e708a25f10e271b6af88c39d5176afe59f318d44963b8b1fa66f393d8 -SIZE (shtk-1.5.tar.gz) = 84555 +SHA256 (shtk-1.6.tar.gz) = 2a3892ce6c624ae5d7a1d96b014fcff0ee6920a3f76ac0ab0b7d4ff16c7a7d0f +SIZE (shtk-1.6.tar.gz) = 109423 Index: devel/shtk/pkg-plist =================================================================== --- devel/shtk/pkg-plist +++ devel/shtk/pkg-plist @@ -1,11 +1,65 @@ bin/shtk libdata/pkgconfig/shtk.pc man/man1/shtk.1.gz +man/man3/shtk.3.gz +man/man3/shtk_bool.3.gz +man/man3/shtk_bool_check.3.gz +man/man3/shtk_cleanup.3.gz +man/man3/shtk_cleanup_register.3.gz +man/man3/shtk_cli.3.gz +man/man3/shtk_cli_dirname.3.gz +man/man3/shtk_cli_error.3.gz +man/man3/shtk_cli_info.3.gz +man/man3/shtk_cli_progname.3.gz +man/man3/shtk_cli_usage_error.3.gz +man/man3/shtk_cli_warning.3.gz +man/man3/shtk_config.3.gz +man/man3/shtk_config_get.3.gz +man/man3/shtk_config_get_bool.3.gz +man/man3/shtk_config_get_default.3.gz +man/man3/shtk_config_has.3.gz +man/man3/shtk_config_include.3.gz +man/man3/shtk_config_init.3.gz +man/man3/shtk_config_load.3.gz +man/man3/shtk_config_override.3.gz +man/man3/shtk_config_run_hook.3.gz +man/man3/shtk_config_set.3.gz +man/man3/shtk_config_unset.3.gz +man/man3/shtk_cvs.3.gz +man/man3/shtk_cvs_checkout.3.gz +man/man3/shtk_cvs_fetch.3.gz +man/man3/shtk_cvs_update.3.gz +man/man3/shtk_import.3.gz +man/man3/shtk_list.3.gz +man/man3/shtk_list_contains.3.gz +man/man3/shtk_list_filter.3.gz +man/man3/shtk_process.3.gz +man/man3/shtk_process_run.3.gz +man/man3/shtk_unittest.3.gz +man/man3/shtk_unittest_add_fixture.3.gz +man/man3/shtk_unittest_add_test.3.gz +man/man3/shtk_unittest_assert_command.3.gz +man/man3/shtk_unittest_assert_equal.3.gz +man/man3/shtk_unittest_assert_file.3.gz +man/man3/shtk_unittest_assert_not_equal.3.gz +man/man3/shtk_unittest_delayed_fail.3.gz +man/man3/shtk_unittest_expect_command.3.gz +man/man3/shtk_unittest_expect_equal.3.gz +man/man3/shtk_unittest_expect_file.3.gz +man/man3/shtk_unittest_expect_not_equal.3.gz +man/man3/shtk_unittest_fail.3.gz +man/man3/shtk_unittest_main.3.gz +man/man3/shtk_unittest_set_expected_failure.3.gz +man/man3/shtk_unittest_skip.3.gz +man/man3/shtk_version.3.gz +man/man3/shtk_version_at_least.3.gz +man/man3/shtk_version_at_most.3.gz +man/man3/shtk_version_is.3.gz share/aclocal/shtk.m4 -share/doc/shtk/AUTHORS -share/doc/shtk/COPYING -share/doc/shtk/NEWS -share/doc/shtk/README +%%PORTDOCS%%%%DOCSDIR%%/AUTHORS +%%PORTDOCS%%%%DOCSDIR%%/COPYING +%%PORTDOCS%%%%DOCSDIR%%/NEWS +%%PORTDOCS%%%%DOCSDIR%%/README share/shtk/base.subr share/shtk/bool.subr share/shtk/bootstrap.subr @@ -15,6 +69,10 @@ share/shtk/cvs.subr share/shtk/list.subr share/shtk/process.subr +share/shtk/unittest.subr +share/shtk/unittest/commands.subr +share/shtk/unittest/files.subr +share/shtk/unittest/operators.subr share/shtk/version.subr %%TEST%%tests/shtk/Kyuafile %%TEST%%tests/shtk/base_test @@ -26,4 +84,10 @@ %%TEST%%tests/shtk/list_test %%TEST%%tests/shtk/process_test %%TEST%%tests/shtk/shtk_test +%%TEST%%tests/shtk/unittest/Kyuafile +%%TEST%%tests/shtk/unittest/commands_test +%%TEST%%tests/shtk/unittest/files_test +%%TEST%%tests/shtk/unittest/operators_test +%%TEST%%tests/shtk/unittest_inttest +%%TEST%%tests/shtk/unittest_test %%TEST%%tests/shtk/version_test