source: trunk/dports/editors/nano/Portfile

Last change on this file was 152458, checked in by khindenburg@…, 11 months ago

nano: set new maintainer; use https:// #52023

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 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 152458 2016-09-10 02:42:00Z ryandesign@macports.org $
3
4PortSystem      1.0
5
6name            nano
7version         2.7.0
8categories      editors
9platforms       darwin freebsd
10license         GPL-3
11maintainers     eitanadler.com:lists openmaintainer
12description     Nano is ANOther editor - enhanced free Pico Clone
13
14long_description \
15    GNU nano is a small and friendly text editor. Besides basic text \
16    editing, nano offers many extra features like an interactive search \
17    and replace, goto line number, auto-indentation, feature toggles, \
18    internationalization support, and filename tab completion.
19
20homepage        https://www.nano-editor.org
21master_sites    ${homepage}dist/v[strsed ${version} {/\.[0-9]*$//}]/ gnu
22
23checksums       rmd160  07a52bd9e694ad810fbbc7440a2ba7e4bcf1f538 \
24                sha256  5dd1e9cf8e3de676c141a0b23f312e68380ef049926e2913e2114bbe32fbeac3
25
26depends_lib     port:gettext \
27                port:libiconv \
28                port:libmagic \
29                port:ncurses \
30                port:zlib
31
32patchfiles      nawk.patch
33
34configure.args  --disable-wrapping-as-root \
35                --enable-nanorc \
36                --enable-utf8
37
38use_parallel_build  yes
39
40set docdir      ${prefix}/share/doc/${name}
41
42post-destroot {
43    xinstall -d $destroot$docdir/html
44    xinstall -m 644 -W $worksrcpath AUTHORS COPYING ChangeLog INSTALL NEWS \
45        README THANKS TODO doc/nanorc.sample ${destroot}${docdir}
46    xinstall -m 644 -W $worksrcpath/doc faq.html texinfo/nano.html $destroot$docdir/html
47}
48
49notes "
50A sample configuration file is available at ${docdir}/nanorc.sample.
51"
52
53livecheck.url   ${homepage}/download.php
54livecheck.type  regex
55livecheck.regex "${name}-(\\d+\\.\\d+\\.\\d+)"
Note: See TracBrowser for help on using the repository browser.