# -*- 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 PortSystem 1.0 PortGroup legacysupport 1.1 # https://trac.macports.org/ticket/69360 legacysupport.newest_darwin_requires_legacy 8 name nano version 8.2 revision 0 categories editors license GPL-3 maintainers {grimreaper @grimreaper} openmaintainer description Nano is ANOther editor - enhanced free Pico Clone long_description \ GNU nano is a small and friendly text editor. Besides basic text \ editing, nano offers many extra features like an interactive search \ and replace, goto line number, auto-indentation, feature toggles, \ internationalization support, and filename tab completion. homepage https://www.nano-editor.org master_sites ${homepage}/dist/v[strsed ${version} {/\.[0-9]*$//}]/ gnu checksums rmd160 76a64b4bab0229c22548ec3bc8b860ff80d477ff \ sha256 51e57dcecb8a6bb64a1bf5a916615e247d9bcd8e951ac99d01139c897efba20e \ size 3499959 depends_lib port:gettext \ port:libiconv \ port:libmagic \ port:ncurses \ port:zlib configure.args --enable-utf8 use_parallel_build yes set docdir ${prefix}/share/doc/${name} post-destroot { xinstall -d $destroot$docdir/html xinstall -m 644 -W $worksrcpath AUTHORS COPYING ChangeLog INSTALL NEWS \ README THANKS TODO doc/sample.nanorc ${destroot}${docdir} xinstall -m 644 -W $worksrcpath/doc faq.html nano.html $destroot$docdir/html } notes " A sample configuration file is available at ${docdir}/sample.nanorc. " livecheck.url ${homepage}/download.php livecheck.type regex livecheck.regex "${name}-(\\d+\\.\\d+(\\.\\d+)?)"