# -*- 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
PortGroup           clang_dependency 1.0

perl5.branches      5.28 5.30 5.32 5.34 5.36 5.38
perl5.setup         Locale-gettext 1.07
revision            1
# The tarball naming scheme changed since this version was released.
# With the next upstream release, it should be OK to remove the
# following options and use the defaults.
distname            gettext-${perl5.moduleversion}
worksrcdir          ${perl5.module}-${perl5.moduleversion}
master_sites        macports_distfiles

license             {Artistic-1 GPL}
maintainers         nomaintainer
description         Perl interface to GNU gettext

long_description    {*}${description}

checksums           rmd160  0f5efafdfa6ede6b766cbb5dac12c980b3566068 \
                    sha256  909d47954697e7c04218f972915b787bd1244d75e3bd01620bc167d5bbc49c15

if {${perl5.major} != ""} {
    depends_build-append \
                    port:gettext
    depends_lib-append \
                    port:gettext-runtime \
                    port:libiconv

    patchfiles      patch-Makefile.PL
}
