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

github.setup        honzahommer prips.sh 0.1.0 v
github.tarball_from archive
revision            0

description         Print the IP addresses in a given range

long_description    {*}${description}

categories          net
installs_libs       no
license             MIT
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer
supported_archs     noarch
platforms           any

checksums           rmd160  0b30b4ebf3482e4c7a4ef8c4b948a35ffae8be36 \
                    sha256  a2ee0639932d73d461539bfdd0327b0735e2216470ee4a315891c3234b802039 \
                    size    3576

depends_lib-append  port:bash

use_configure       no

build               {}

destroot {
    xinstall -m 0755 \
        ${worksrcpath}/libexec/prips.sh ${destroot}${prefix}/libexec

    ln -s ${prefix}/libexec/prips.sh ${destroot}${prefix}/bin/
}
