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

perl5.branches      5.26 5.28 5.30
perl5.setup         Image-Size 3.300
license             {Artistic-2 LGPL-2.1}
maintainers         nomaintainer
platforms           darwin
categories-append   graphics
supported_archs     noarch

description         Extract size information from image files
long_description    Image::Size is a simple library that allows the \
                    fetching of image size information from files \
                    in a wide variety of common (and not-so-common) \
                    formats.

checksums           rmd160  70e06d4c601528809d64a411cf458d7ccea18dc5 \
                    sha256  53c9b1f86531cde060ee63709d1fda73cabc0cf2d581d29b22b014781b9f026b

if {${perl5.major} != ""} {
    depends_build-append \
                    port:p${perl5.major}-module-build
    
    depends_lib-append \
                    port:p${perl5.major}-io-compress
}