Changeset 41884


Ignore:
Timestamp:
Nov 11, 2008, 11:21:34 PM (9 years ago)
Author:
nox@…
Message:

nano:

  • Updated to 2.0.9.
  • Removed all variants: the features are now all always enabled.
  • Enabled parallel build.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/editors/nano/Portfile

    r33497 r41884  
     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
    12# $Id$
    23
     
    45
    56name            nano
    6 version         2.0.7
     7version         2.0.9
    78categories      editors
    89platforms       darwin freebsd
     
    1920master_sites    ${homepage}dist/v[strsed ${version} {/\.[0-9]*$//}]/ gnu
    2021
    21 checksums       md5 16187fed2bdefec6275ece6401ce4cd2 \
    22                 sha1 6616c6496e6f21e61df6bb991c0be84eda5c6a0c \
    23                 rmd160 96ff5a88288451ed24f679d88d59a752616ce94c
     22checksums       md5     2be94dc43fb60fff4626a2401a977220 \
     23                sha1    fce55a02b2809a141258b3c1715d8fd95e004234 \
     24                rmd160  a2356cdd1779ab5312307a8eb462516eeaa6e943
    2425
    2526depends_lib     port:ncursesw \
     
    2728                port:libiconv
    2829
    29 configure.args  --enable-nanorc \
     30configure.args  --enable-all \
    3031                --disable-wrapping-as-root \
    31                 --disable-mouse \
    32                 --disable-wrapping \
    33                 --disable-speller
     32                --enable-utf8
     33
     34use_parallel_build  yes
    3435
    3536destroot.target install-strip
     
    3839
    3940post-destroot {
    40     xinstall -m 0755 -d ${destroot}${docdir}/html
    41     xinstall -m 0644 -W ${worksrcpath} AUTHORS BUGS COPYING ChangeLog INSTALL NEWS \
     41    xinstall -d $destroot$docdir/html
     42    xinstall -m 644 -W $worksrcpath AUTHORS BUGS COPYING ChangeLog INSTALL NEWS \
    4243        README THANKS TODO doc/nanorc.sample ${destroot}${docdir}
    43     xinstall -m 0644 -W ${worksrcpath}/doc faq.html texinfo/nano.html ${destroot}${docdir}/html
     44    xinstall -m 644 -W $worksrcpath/doc faq.html texinfo/nano.html $destroot$docdir/html
    4445}
    4546
    46 post-install {
    47     ui_msg "A sample configuration file is available at ${docdir}/nanorc.sample ."
     47post-activate {
     48    ui_msg "A sample configuration file is available at \"${docdir}/nanorc.sample\"."
    4849}
    4950
    50 variant wrap description \
    51     {Enable wrapping (lines will be splitted to fit into the terminal width)} {
    52     configure.args-delete   --disable-wrapping
    53 }
    54 
    55 variant spell description \
    56     {Add spell-checking support (needs a spellchecker (e.g. aspell, ispell...)} {
    57     configure.args-delete   --disable-speller
    58 }
    59 
    60 variant mouse description {Add mouse support} {
    61     configure.args-delete   --disable-mouse
    62 
    63     post-install {
    64         ui_msg "Mouse support is enabled. ${name} need to be launched inside an x11 console to use it."
    65     }
    66 }
    67 
    68 variant multibuffer description \
    69     {Add multibuffer support (allow multiple files to be opened in a single nano instance)} {
    70     configure.args-append   --enable-multibuffer
    71 }
    72 
    73 variant color description {Enable color syntax highlighting} {
    74     configure.args-append   --enable-color
    75 
    76     post-install {
    77         ui_msg "Color syntax is enabled."
    78         ui_msg "You should take a look at the syntax definitions in ${prefix}/share/${name} ."
    79     }
    80 }
     51livecheck.check freshmeat
Note: See TracChangeset for help on using the changeset viewer.