pkgsrc/devel/jq/Makefile
wiz 54b2b84797 Update to 1.5, and simplify a lot.
New features in 1.5 since 1.4:

 - regular expressions (with Oniguruma)

 - a library/module system

 - many new builtins

    - datetime builtins
    - math builtins
    - regexp-related builtins
    - stream-related builtins (e.g., all/1, any/1)
    - minimal I/O builtins (`inputs`, `debug`)

 - new syntactic features, including:

    - destructuring (`. as [$first, $second] | ...`)
    - try/catch, generalized `?` operator, and label/break
    - `foreach`
    - multiple definitions of a function with different numbers of
      arguments

 - command-line arguments

    - --join-lines / -j for raw output
    - --argjson and --slurpfile
    - --tab and --indent
    - --stream (streaming JSON parser)
    - --seq (RFC7464 JSON text sequence)
    - --run-tests improvements

 - optimizations:

    - tail-call optimization
    - reduce and foreach no longer leak a reference to .
2015-08-28 09:09:22 +00:00

22 lines
458 B
Makefile

# $NetBSD: Makefile,v 1.6 2015/08/28 09:09:22 wiz Exp $
DISTNAME= jq-1.5
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=stedolan/}
GITHUB_PROJECT= jq
GITHUB_TAG= jq-${PKGVERSION_NOREV}
MAINTAINER= jperkin@joyent.com
HOMEPAGE= http://github.com/stedolan/jq/
COMMENT= Command-line JSON processor
LICENSE= mit
USE_LANGUAGES= c99
USE_LIBTOOL= yes
USE_TOOLS+= bison flex gmake
GNU_CONFIGURE= yes
CFLAGS.SunOS+= -D_XPG6
.include "../../mk/bsd.pkg.mk"