Ticket #23734: Portfile-nano.diff

File Portfile-nano.diff, 1.8 KB (added by theo.studer@…, 14 years ago)

nano 2.2.3 portfile patch

  • Portfile

    old new  
    11# -*- 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 57375 2009-09-10 08:16:41Z ryandesign@macports.org $
     2# $Id$
    33
    44PortSystem      1.0
    55
    66name            nano
    7 version         2.0.9
     7version         2.2.3
    88categories      editors
    99platforms       darwin freebsd
    10 maintainers     nomaintainer
     10maintainers     gmail.com:theo.studer
    1111description     Nano's ANOther editor - enhanced free Pico Clone
    1212
    1313long_description \
     
    1919homepage        http://www.nano-editor.org/
    2020master_sites    ${homepage}dist/v[strsed ${version} {/\.[0-9]*$//}]/ gnu
    2121
    22 checksums       md5     2be94dc43fb60fff4626a2401a977220 \
    23                 sha1    fce55a02b2809a141258b3c1715d8fd95e004234 \
    24                 rmd160  a2356cdd1779ab5312307a8eb462516eeaa6e943
     22checksums       md5     91918a484f54f94fedaebe00dc393a50 \
     23                sha1    43677d23921806d70018197ed0e99754b5b5ad78 \
     24                rmd160  b940db998367d55df92e08c26ddc30d8f05ed70c
    2525
    2626depends_lib     port:ncursesw \
    2727                port:gettext \
     
    2929
    3030configure.args  --enable-all \
    3131                --disable-wrapping-as-root \
     32                --disable-nls \
    3233                --enable-utf8
    3334
    3435use_parallel_build  yes
     
    4849    ui_msg "A sample configuration file is available at \"${docdir}/nanorc.sample\"."
    4950}
    5051
     52variant nls description {Activate localization} {
     53    depends_lib-append port:gettext
     54    configure.args-append --with-included-gettext
     55    configure.args-delete --disable-nls
     56
     57}
     58
    5159livecheck.type  freshmeat