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

PortSystem              1.0
PortGroup               openssl 1.0
PortGroup               makefile 1.0

name                    http_ping
version                 09Mar2016
revision                0
categories              net www
license                 BSD
maintainers             nomaintainer

description             Sends HTTP requests every few seconds and times how long they take
long_description        {*}${description}

homepage                https://www.acme.com/software/http_ping/
master_sites            ${homepage}
distname                ${name}_${version}

checksums               rmd160  ec19e900d7ad738f3ba4863ade11a2e7148c5d9a \
                        sha256  f8b95773aaed09839a44a1927f979a62752d57aace79da3846bfb73e6c9805e9 \
                        size    8106

worksrcdir              ${name}
patchfiles-append       makefile-support-macports-openssl3.diff

destroot {
    xinstall -m 755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/
    xinstall -m 644 ${worksrcpath}/${name}.1 ${destroot}${prefix}/share/man/man1/
}

livecheck.type          regex
livecheck.regex         ${name}_(\[0-9A-Za-z._\]+)\\.tar
