Update devel/shtk to 1.6:
Released on 2014-11-17.
* Added the unittest module, a framework with which to implement
robust test programs purely in shell. This new module supports
defining test programs as a collection of standalone test cases or
test fixtures; supports assert-syle vs. expect-style checks; and
provides advanced checks to simplify the implementation of tests
cases for command-line utilities. unittest-based test programs
can be trivially plugged into the Kyua testing framework.
* Added manual pages for all public API functions. See shtk(3) for
an introduction and follow all linked pages for details. All
docstrings have been removed from the code in favor of the manual
(Only the first 15 lines of the commit message are shown above )
Update devel/shtk to 1.5:
Released on 2014-03-16.
* Added a version module with helper functions to check if shtk is a
given version or matches some constraints. Useful to dynamically
determine which functions to call in a script, if their need is
* Added timeout support to shtk_process_run. The new '-t' option to
this function takes the number of seconds before forcibly killing the
Approved by: bdrewery
Update devel/shtk to 1.4.
Released on 2013-12-30.
* Added support for a user-defined SHTK_MODULESPATH variable. This
colon-separated, user-tunable variable lists the directories that
* Added a modulesdir variable to shtk.pc so that third-party packages
can install shtk-compliant modules into the shared directory. This
variable is also exposed by the SHTK_CHECK macro of shtk.m4 as
* Added a new bool module with a shtk_bool_check function to convert a
string to a boolean.
* Added a new cleanup module to simplify the installation and automatic
execution of termination handlers.
* Fixed the config module in Mac OS X 10.9 to respect default values
of configuration variables.
Approved by: bdrewery
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.
Reviewed by: rpaulo (ex-mentor)
Approved by: bdrewery (ports)