# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 name yash version 2.42 categories shells platforms darwin license GPL-2+ maintainers larryv description Yet Another Shell long_description Yet another shell (yash) is a POSIX-compliant \ command line shell, featuring more strict POSIX \ compliance than those of other shells, as well as \ powerful command line editing. homepage http://yash.osdn.jp depends_lib port:gettext \ port:ncurses # This number changes with each release. master_sites osdn:${name}/66336 use_xz yes checksums md5 cc0562466b86ce6db6a55ede516216fc \ sha1 79bef9ec9bd5e2ade8a6d4401e6c9689775dc659 \ rmd160 1df95fac88081261d7ad6c36d3424daff6f6d42a \ sha256 2e73a0c1d8dbb926592d5170ec6c102b302f381273a1c670376af00f5d0bf250 patchfiles respect-destdir.patch # Some older compilers (e.g., gcc-4.2) default to gnu89. configure.cflags-append -std=c99 test.run yes destroot.target-append install-html post-destroot { xinstall -m 0644 -W ${worksrcpath} \ COPYING NEWS NEWS.ja README README.ja THANKS \ ${destroot}${prefix}/share/doc/${name} } notes " To set MacPorts' ${name} as default login shell, run: sudo chpass -s '${prefix}/bin/${name}' \$USER To be able to switch default shells to or from ${name} without superuser\ privileges, add it to /etc/shells: sudo sh -c 'echo ${prefix}/bin/${name} >>/etc/shells' " # A source with more structure would be nice. livecheck.type regex livecheck.url https://osdn.jp/projects/${name}/releases/rss livecheck.regex {(\d+(?:\.\d+)+)}