# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 110836 2013-09-07 13:17:22Z raimue@macports.org $

PortSystem          1.0

name                jq
version             1.3
categories          sysutils
platforms           darwin
maintainers         raimue \
                    openmaintainer
license             MIT

description         A lightweight and flexible command-line JSON processor
long_description\
    jq is like sed for JSON data – you can use it to slice and filter and \
    map and transform structured data with the same ease that sed, awk, \
    grep and friends let you play with text.

homepage            http://stedolan.github.io/jq/
master_sites        http://stedolan.github.io/jq/download/source/

checksums           rmd160  b5b632a25fd7cf9fee9eeb39768f659953e2ab05 \
                    sha256  623f23c36abfc1d96d85020cf421b56f90a229d566f26a4a0d3e8536244bfed7

# The documentation requires some ruby dependencies which are not available as
# ports. However, the manpage is already distributed in compiled form and will
# be installed.
configure.args      --disable-docs

livecheck.type      regex
livecheck.url       http://stedolan.github.io/jq/download/
livecheck.regex     ${name}-(\\d+(\.\\d+)+)\.tar
