# -*- 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$

PortSystem          1.0

name                httping
version             2.4
revision            2
categories          net www
license             {GPL-2 OpenSSLException}
maintainers         nomaintainer
platforms           darwin

description         Ping-like tool for http-requests

long_description    Give it an url, and it will show you how long it takes to \
                    connect, send a request and retrieve the reply (only the headers).

homepage            http://www.vanheusden.com/httping/
master_sites        ${homepage}

checksums           rmd160  cb40c53fa207bd3538b8843ce4a3e99980595a81 \
                    sha256  dab59f02b08bfbbc978c005bb16d2db6fe21e1fc841fde96af3d497ddfc82084

depends_lib         port:fftw-3 \
                    port:gettext \
                    port:ncurses \
                    path:lib/libssl.dylib:openssl

extract.suffix      .tgz

patchfiles          patch-configure.diff

configure.pre_args
configure.universal_args
configure.args      --with-fftw3 \
                    --with-ncurses \
                    --with-openssl \
                    --with-tfo
configure.ldflags-append -lintl

destroot.args       PREFIX=${prefix}

livecheck.type      regex
livecheck.regex     ${name}-(\[0-9.\]+)${extract.suffix}