# -*- 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.28 5.30 5.32 5.34
perl5.setup         Image-Imlib2 2.03
revision            1
license             {Artistic-1 GPL}
maintainers         nomaintainer
description         Perl interface to the Imlib2 image library
long_description    Image::Imlib2 is a Perl port of Imlib2, a graphics library that \
                    does image file loading and saving as well as manipulation, \
                    arbitrary polygon support, etc. It does ALL of these operations \
                    FAST. It allows you to create colour images using a large number \
                    of graphics primitives, and output the images in a range of \
                    formats. \
                    Note that this is an early version of my attempt at a Perl \
                    interface to Imlib2. Currently, the API is just to test things \
                    out. Not everything is supported, but a great deal of \
                    functionality already exists. If you think the API can be \
                    tweaked to be a bit more intuitive, drop me a line!

platforms           darwin

checksums           rmd160  0fe0e43733aef6e8e9c824756b0e0c0dc91d68a7 \
                    sha256  97648385da1e9452fa9ee48f570020b45e449e5f11615320f39cb0b5c00951b0 \
                    size    36014

if {${perl5.major} != ""} {
    depends_build-append \
                    port:pkgconfig

    depends_lib-append \
                    port:imlib2

    patchfiles      use_pkgconfig.patch \
                    fix_test.patch

    perl5.use_module_build
}
