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

name                xdialog
version             2.3.1
revision            5
checksums           rmd160  12085dfddc9217fe5f07510c76755eb75446e658 \
                    sha256  1d446899697145fc36623d8afdd274066177da9383a6b619c18e8eb1b2ba589a \
                    size    457938

categories          x11
maintainers         nomaintainer
license             GPL-2
description         X11 drop in replacement for dialog or cdialog
long_description    Xdialog is designed to be a drop in replacement for the \
                    dialog or cdialog programs. It converts any terminal based \
                    program into a program with an X-windows interface.

homepage            http://xdialog.free.fr
master_sites        ${homepage}
distname            Xdialog-${version}
use_bzip2           yes

depends_build       port:gettext \
                    port:pkgconfig

depends_lib         port:gettext-runtime \
                    path:lib/pkgconfig/gtk+-2.0.pc:gtk2 \
                    port:libiconv \
                    port:libpng

patchfiles          implicit.patch \
                    LC_CTYPE.patch

configure.args      --mandir=${prefix}/share/man \
                    --with-gtk2 \
                    --with-libiconv-prefix=${prefix}

