pkgsrc/devel/shtk/Makefile
jmmv 97d36aeae9 Update 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
  contain modules.

* 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
  SHTK_MODULESDIR.

* 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.
2014-08-14 13:48:21 +00:00

35 lines
811 B
Makefile

# $NetBSD: Makefile,v 1.7 2014/08/14 13:48:21 jmmv Exp $
DISTNAME= shtk-1.4
CATEGORIES= devel
MASTER_SITES= https://github.com/jmmv/shtk/releases/download/${DISTNAME}/
MAINTAINER= jmmv@NetBSD.org
COMMENT= Application toolkit for POSIX-compliant shell scripts
LICENSE= modified-bsd
PKG_INSTALLATION_TYPES= overwrite pkgviews
GNU_CONFIGURE= yes
TEST_TARGET= check
USE_LANGUAGES= # empty
USE_TOOLS= pkg-config
CONFIGURE_ARGS+= SHTK_SHELL="${SH}"
PKG_OPTIONS_VAR= PKG_OPTIONS.shtk
PKG_SUPPORTED_OPTIONS= tests
PKG_SUGGESTED_OPTIONS= tests
.include "../../mk/bsd.options.mk"
.if $(PKG_OPTIONS:Mtests)
. include "../../devel/atf/buildlink3.mk"
CONFIGURE_ARGS+= --with-atf=yes
PLIST_SUBST+= TESTS=
.else
CONFIGURE_ARGS+= --with-atf=no
PLIST_SUBST+= TESTS=@comment
.endif
.include "../../mk/bsd.pkg.mk"