You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
54 lines
1.8 KiB
Tcl
54 lines
1.8 KiB
Tcl
# -*- 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
|
|
|
|
name nano
|
|
version 9.1
|
|
revision 0
|
|
categories editors
|
|
license GPL-3
|
|
maintainers {@akierig fastmail.de:akierig} 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 d9b340cb135b440947049f853f61b4c51d87dc01 \
|
|
sha256 2647a33f3c2ff3dc45168aeccff61abc7eae8bf99ac1d35574175c23bde6050b \
|
|
size 3679915
|
|
|
|
depends_build port:gettext
|
|
|
|
depends_lib port:gettext-runtime \
|
|
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+)?)"
|