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

ruby.branches       3.3 3.2 3.1
ruby.setup          http 5.2.0 gem {} rubygems
categories-append   www
platforms           any
license             MIT
maintainers         nomaintainer
description         Easy-to-use client library for making requests from Ruby
long_description    {*}${description}
homepage            https://github.com/httprb/http
checksums           rmd160  471a1787aef861f95e81e4d7d84e5d0a85448de5 \
                    sha256  b99ed3c65376e0fd8107647fbaf5a8ab4f66c347d1271fb74cea757e209c6115 \
                    size    85504
supported_archs     noarch

if {${name} ne ${subport}} {
    depends_run-append \
                    port:rb${ruby.suffix}-addressable \
                    port:rb${ruby.suffix}-base64 \
                    port:rb${ruby.suffix}-http-cookie \
                    port:rb${ruby.suffix}-http-form_data \
                    port:rb${ruby.suffix}-llhttp-ffi
}
