Subject: CVS commit: pkgsrc/devel/shtk
From: Julio Merino
Date: 2012-08-15 23:18:14
Message id: 20120815211814.1A9EC175DD@cvs.netbsd.org

Log Message:
Initial addition of shtk 1.0.

Despite its pretentious name, this package is just an attempt to generalize
a bunch of code that I keep reusing every time I implement shell scripts.
In particular, this is about to remove tons of duplicate stuff from both
sysbuild and sysupgrade in subsequent commits and I'll probably use it again
for some other stuff I have in mind.

Description follows:

The Shell Toolkit, or shtk for short, is a collection of modules written in
sh(1) that provide common functionality to simplify the implementation of
complex shell scripts.  These modules provide things like utilities to
manipulate data types, helpers to expose a common CLI, or higher-level
abstractions such as the processing of configuration files.

The included shtk(1) utility exposes convenience functionality to let the
user "build" shell scripts that use shtk.  Build, in this case, just means
adding common boilerplate code to the initialization of the script to load
the shtk common code.

Files:
RevisionActionfile
1.1addpkgsrc/devel/shtk/DESCR
1.1addpkgsrc/devel/shtk/Makefile
1.1addpkgsrc/devel/shtk/PLIST
1.1addpkgsrc/devel/shtk/buildlink3.mk
1.1addpkgsrc/devel/shtk/files/Kyuafile
1.1addpkgsrc/devel/shtk/files/base.subr
1.1addpkgsrc/devel/shtk/files/base_test.sh
1.1addpkgsrc/devel/shtk/files/bootstrap.subr
1.1addpkgsrc/devel/shtk/files/cli.subr
1.1addpkgsrc/devel/shtk/files/cli_test.sh
1.1addpkgsrc/devel/shtk/files/config.subr
1.1addpkgsrc/devel/shtk/files/config_test.sh
1.1addpkgsrc/devel/shtk/files/cvs.subr
1.1addpkgsrc/devel/shtk/files/cvs_test.sh
1.1addpkgsrc/devel/shtk/files/list.subr
1.1addpkgsrc/devel/shtk/files/list_test.sh
1.1addpkgsrc/devel/shtk/files/process.subr
1.1addpkgsrc/devel/shtk/files/process_test.sh
1.1addpkgsrc/devel/shtk/files/shtk.1
1.1addpkgsrc/devel/shtk/files/shtk.sh
1.1addpkgsrc/devel/shtk/files/shtk_test.sh