source: trunk/dports/editors/nano/Portfile @ 63993

Last change on this file since 63993 was 63993, checked in by ryandesign@…, 11 years ago

nano: update to 2.2.3; new maintainer Theo Studer; convert post-activate ui_msg to notes; remove version number from docdir; remove obsolete configure arg --enable-all; see #23734

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# -*- 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
2# $Id: Portfile 63993 2010-02-20 03:59:25Z ryandesign@macports.org $
3
4PortSystem      1.0
5
6name            nano
7version         2.2.3
8categories      editors
9platforms       darwin freebsd
10maintainers     gmail.com:theo.studer
11description     Nano's ANOther editor - enhanced free Pico Clone
12
13long_description \
14    GNU nano is a small and friendly text editor. Besides basic text \
15    editing, nano offers many extra features like an interactive search \
16    and replace, goto line number, auto-indentation, feature toggles, \
17    internationalization support, and filename tab completion.
18
19homepage        http://www.nano-editor.org/
20master_sites    ${homepage}dist/v[strsed ${version} {/\.[0-9]*$//}]/ gnu
21
22checksums       md5     91918a484f54f94fedaebe00dc393a50 \
23                sha1    43677d23921806d70018197ed0e99754b5b5ad78 \
24                rmd160  b940db998367d55df92e08c26ddc30d8f05ed70c
25
26depends_lib     port:ncursesw \
27                port:gettext \
28                port:libiconv
29
30configure.args  --disable-wrapping-as-root \
31                --enable-utf8
32
33use_parallel_build  yes
34
35destroot.target install-strip
36
37set docdir      ${prefix}/share/doc/${name}
38
39post-destroot {
40    xinstall -d $destroot$docdir/html
41    xinstall -m 644 -W $worksrcpath AUTHORS BUGS COPYING ChangeLog INSTALL NEWS \
42        README THANKS TODO doc/nanorc.sample ${destroot}${docdir}
43    xinstall -m 644 -W $worksrcpath/doc faq.html texinfo/nano.html $destroot$docdir/html
44}
45
46notes           A sample configuration file is available at \"${docdir}/nanorc.sample\".
47
48livecheck.type  freshmeat
Note: See TracBrowser for help on using the repository browser.