BSD Ports

devel/shtk 1.7 FreeBSD

Application toolkit for POSIX-compliant shell scripts

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
BSD3CLAUSE
Categories
devel
Package size
120.6 KiB, 328.5 KiB installed

Description

The Shell Toolkit (shtk) is an application toolkit for programmers writing POSIX-compliant shell scripts.

shtk provides a collection of reusable modules that work on a wide variety of operating systems and shell interpreters. The included modules aid developers in implementing usable and consistent CLI interfaces, interacting with processes, parsing configuration files and manipulating higher-level data types among other things.

shtk-based scripts are "built" by using the included shtk(1) utility, which adds the necessary machinery to the scripts so that they can trivially import and use the modular interfaces of shtk.

In the other systems

SystemPortVersion
FreeBSDdevel/shtk1.7
NetBSDdevel/shtk1.7
DragonFlydevel/shtk1.7

Install

Binary package:

pkg install shtk

From the ports tree:

cd /usr/ports/devel/shtk/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	shtk>0:devel/shtk

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.71.71.61.71.7
FreeBSD:14:quarterly1.71.7n/a1.71.7
FreeBSD:15:latest1.71.7n/a1.71.7
FreeBSD:15:quarterly1.71.7n/an/an/a
FreeBSD:16:latest1.71.7n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

No port depends on this one.

Configuration

Options name: devel_shtk

OptionDefaultDescription
DOCSoffBuild and/or install documentation
TESTonBuild and/or run tests
USES
pathfix
Service scripts
none

Files

Manual pages 64
  • shtk(1)
  • shtk(3)
  • shtk_abort(3)
  • shtk_bool(3)
  • shtk_bool_check(3)
  • shtk_cleanup(3)
  • shtk_cleanup_register(3)
  • shtk_cli(3)
  • shtk_cli_debug(3)
  • shtk_cli_dirname(3)
  • shtk_cli_error(3)
  • shtk_cli_info(3)
  • shtk_cli_log_level(3)
  • shtk_cli_progname(3)
  • shtk_cli_set_log_level(3)
  • shtk_cli_usage_error(3)
  • shtk_cli_warning(3)
  • shtk_config(3)
  • shtk_config_get(3)
  • shtk_config_get_bool(3)
  • shtk_config_get_default(3)
  • shtk_config_has(3)
  • shtk_config_include(3)
  • shtk_config_init(3)
  • shtk_config_load(3)
  • shtk_config_override(3)
  • shtk_config_run_hook(3)
  • shtk_config_set(3)
  • shtk_config_unset(3)
  • shtk_cvs(3)
  • shtk_cvs_checkout(3)
  • shtk_cvs_fetch(3)
  • shtk_cvs_update(3)
  • shtk_fs(3)
  • shtk_fs_join_paths(3)
  • shtk_fs_normalize_path(3)
  • shtk_hw(3)
  • shtk_hw_ncpus(3)
  • shtk_import(3)
  • shtk_list(3)
  • shtk_list_contains(3)
  • shtk_list_filter(3)
  • shtk_process(3)
  • shtk_process_run(3)
  • shtk_unittest(3)
  • shtk_unittest_add_fixture(3)
  • shtk_unittest_add_test(3)
  • shtk_unittest_assert_command(3)
  • shtk_unittest_assert_equal(3)
  • shtk_unittest_assert_file(3)
  • shtk_unittest_assert_not_equal(3)
  • shtk_unittest_delayed_fail(3)
  • shtk_unittest_expect_command(3)
  • shtk_unittest_expect_equal(3)
  • shtk_unittest_expect_file(3)
  • shtk_unittest_expect_not_equal(3)
  • shtk_unittest_fail(3)
  • shtk_unittest_main(3)
  • shtk_unittest_set_expected_failure(3)
  • shtk_unittest_skip(3)
  • shtk_version(3)
  • shtk_version_at_least(3)
  • shtk_version_at_most(3)
  • shtk_version_is(3)
pkg-plist 106
  • bin/shtk
  • libdata/pkgconfig/shtk.pc
  • share/aclocal/shtk.m4
  • share/doc/shtk/AUTHORS
  • share/doc/shtk/COPYING
  • share/doc/shtk/NEWS.md
  • share/doc/shtk/README.md
  • share/man/man1/shtk.1.gz
  • share/man/man3/shtk.3.gz
  • share/man/man3/shtk_abort.3.gz
  • share/man/man3/shtk_bool.3.gz
  • share/man/man3/shtk_bool_check.3.gz
  • share/man/man3/shtk_cleanup.3.gz
  • share/man/man3/shtk_cleanup_register.3.gz
  • share/man/man3/shtk_cli.3.gz
  • share/man/man3/shtk_cli_debug.3.gz
  • share/man/man3/shtk_cli_dirname.3.gz
  • share/man/man3/shtk_cli_error.3.gz
  • share/man/man3/shtk_cli_info.3.gz
  • share/man/man3/shtk_cli_log_level.3.gz
  • share/man/man3/shtk_cli_progname.3.gz
  • share/man/man3/shtk_cli_set_log_level.3.gz
  • share/man/man3/shtk_cli_usage_error.3.gz
  • share/man/man3/shtk_cli_warning.3.gz
  • share/man/man3/shtk_config.3.gz
  • share/man/man3/shtk_config_get.3.gz
  • share/man/man3/shtk_config_get_bool.3.gz
  • share/man/man3/shtk_config_get_default.3.gz
  • share/man/man3/shtk_config_has.3.gz
  • share/man/man3/shtk_config_include.3.gz
  • share/man/man3/shtk_config_init.3.gz
  • share/man/man3/shtk_config_load.3.gz
  • share/man/man3/shtk_config_override.3.gz
  • share/man/man3/shtk_config_run_hook.3.gz
  • share/man/man3/shtk_config_set.3.gz
  • share/man/man3/shtk_config_unset.3.gz
  • share/man/man3/shtk_cvs.3.gz
  • share/man/man3/shtk_cvs_checkout.3.gz
  • share/man/man3/shtk_cvs_fetch.3.gz
  • share/man/man3/shtk_cvs_update.3.gz
  • share/man/man3/shtk_fs.3.gz
  • share/man/man3/shtk_fs_join_paths.3.gz
  • share/man/man3/shtk_fs_normalize_path.3.gz
  • share/man/man3/shtk_hw.3.gz
  • share/man/man3/shtk_hw_ncpus.3.gz
  • share/man/man3/shtk_import.3.gz
  • share/man/man3/shtk_list.3.gz
  • share/man/man3/shtk_list_contains.3.gz
  • share/man/man3/shtk_list_filter.3.gz
  • share/man/man3/shtk_process.3.gz
  • share/man/man3/shtk_process_run.3.gz
  • share/man/man3/shtk_unittest.3.gz
  • share/man/man3/shtk_unittest_add_fixture.3.gz
  • share/man/man3/shtk_unittest_add_test.3.gz
  • share/man/man3/shtk_unittest_assert_command.3.gz
  • share/man/man3/shtk_unittest_assert_equal.3.gz
  • share/man/man3/shtk_unittest_assert_file.3.gz
  • share/man/man3/shtk_unittest_assert_not_equal.3.gz
  • share/man/man3/shtk_unittest_delayed_fail.3.gz
  • share/man/man3/shtk_unittest_expect_command.3.gz
  • share/man/man3/shtk_unittest_expect_equal.3.gz
  • share/man/man3/shtk_unittest_expect_file.3.gz
  • share/man/man3/shtk_unittest_expect_not_equal.3.gz
  • share/man/man3/shtk_unittest_fail.3.gz
  • share/man/man3/shtk_unittest_main.3.gz
  • share/man/man3/shtk_unittest_set_expected_failure.3.gz
  • share/man/man3/shtk_unittest_skip.3.gz
  • share/man/man3/shtk_version.3.gz
  • share/man/man3/shtk_version_at_least.3.gz
  • share/man/man3/shtk_version_at_most.3.gz
  • share/man/man3/shtk_version_is.3.gz
  • share/shtk/base.subr
  • share/shtk/bool.subr
  • share/shtk/bootstrap.subr
  • share/shtk/cleanup.subr
  • share/shtk/cli.subr
  • share/shtk/config.subr
  • share/shtk/cvs.subr
  • share/shtk/fs.subr
  • share/shtk/hw.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
  • tests/shtk/Kyuafile
  • tests/shtk/base_test
  • tests/shtk/bool_test
  • tests/shtk/cleanup_test
  • tests/shtk/cli_test
  • tests/shtk/config_test
  • tests/shtk/cvs_test
  • tests/shtk/fs_test
  • tests/shtk/hw_test
  • tests/shtk/list_test
  • tests/shtk/process_test
  • tests/shtk/shtk_test
  • tests/shtk/unittest/Kyuafile

The first 100 are listed.

distinfo 1
FileSizeSHA256
shtk-1.7.tar.gz1189569386b7dbf1a28361eaf56dd1712385abdbdf3a02f03e17ccbf5579bf22695e27
Master sites 1
  • https://github.com/jmmv/shtk/releases/download/shtk-1.7/

Commit history 0

No commits in the history this site was built from.