# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           ruby 1.0

ruby.branches       3.4 3.3 3.2 3.1
ruby.setup          mime-types 3.7.0 gem {} rubygems
license             {Ruby Artistic-1 GPL-2+}
maintainers         {macports.halostatue.ca:austin @halostatue} \
                    openmaintainer
description         Manages a MIME content-type that will return \
                    the content-type for a given filename.
long_description    This library allows for the identification of a file's \
                    likely MIME content type. The identification of MIME \
                    content type is based on a file's filename extensions.
checksums           rmd160  fc6e7194baa0c6e3742849ed1502e0f48b553be9 \
                    sha256  dcebf61c246f08e15a4de34e386ebe8233791e868564a470c3fe77c00eed5e56 \
                    size    41984
platforms           any
supported_archs     noarch
homepage            https://github.com/mime-types/ruby-mime-types

if {${name} ne ${subport}} {
    depends_run-append \
                    port:rb${ruby.suffix}-mime-types-data
}
