# -*- 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 dialog epoch 20150920 version 1.3-20171209 categories devel license LGPL-2.1 maintainers nomaintainer description a utility to create nice user interfaces for command-line scripts long_description ${name} is ${description}. It is non-graphical (it uses \ curses) so it can be run in the console or an xterm. platforms darwin homepage http://www.invisible-island.net/dialog/ master_sites ftp://ftp.invisible-island.net/dialog/ \ https://invisible-mirror.net/archives/dialog/ #distname ${name} #dist_subdir ${name}/${version} #worksrcdir ${name}-${version} extract.suffix .tgz checksums rmd160 2919ba951f2ea424c8158bf675e39ecd954b27f3 \ sha256 20139442119e2eff5c35236e8e5e313c901539008d9cccf8c8ab3851b41267e6 depends_lib port:ncurses configure.args --mandir=${prefix}/share/man \ --with-ncursesw if {${name} == ${subport}} { installs_libs no post-destroot { file delete -force ${destroot}${prefix}/lib/libdialog.a xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} xinstall -m 644 -W ${worksrcpath} CHANGES COPYING README VERSION \ ${destroot}${prefix}/share/doc/${name} file copy ${worksrcpath}/samples \ ${destroot}${prefix}/share/doc/${name}/examples } livecheck.type regex livecheck.url [lindex ${master_sites} end] livecheck.regex ${name}-(\[0-9.-\]+)${extract.suffix} } else { livecheck.type none } subport libdialog { description a library to create nice user interfaces for command-line programs long_description ${name} is ${description}. It is non-graphical (it uses \ curses) so it can be used in console or xterm programs. destroot.target install-lib }