Ignore:
Timestamp:
Apr 28, 2007, 4:05:26 PM (12 years ago)
Author:
pipping@…
Message:

maintainer update (#11864)

File:
1 edited

Legend:

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

    r24541 r24574  
    33PortSystem 1.0
    44name             nano
    5 version          2.0.5
    6 revision         1
     5version          2.0.6
    76categories       editors
    87maintainers      n.oxyde@gmail.com
     
    1615homepage         http://www.nano-editor.org/
    1716master_sites     ${homepage}dist/v[strsed ${version} {/\.[0-9]*$//}]/ gnu
    18 checksums        md5 8daee919fe29b4fd8213c9e2c021acc6 \
    19                  sha1 76b1770d8703cbbf44d9f72da260e0c724714b0f \
    20                  rmd160 4836cfcab3e63691064c168904abb5ac5bc20d40
     17checksums        md5 619107f0fc3c4383d668cef15aa3ca32 \
     18                 sha1 00102580404cdb1c8594e5f6193000d5acac2249 \
     19                 rmd160 858dc7cf7137cc2b19e9084a503fe508ef734381
    2120
    2221platforms        darwin freebsd
     
    3332
    3433post-destroot {
    35     copy ${worksrcpath}/doc/nanorc.sample ${destroot}${prefix}/etc
     34    xinstall -m 0755 -d ${destroot}${prefix}/share/doc/${name}/docs
     35    xinstall -m 0644 -W ${worksrcpath} AUTHORS BUGS COPYING ChangeLog INSTALL NEWS \
     36        README THANKS TODO doc/faq.html doc/nanorc.sample doc/texinfo/nano.html \
     37        ${destroot}${prefix}/share/doc/${name}
    3638}
    3739
    3840post-install {
    39     ui_msg "A sample configuration file is available at ${prefix}/etc/nanorc.sample"
     41    ui_msg "A sample configuration file is available at ${prefix}/share/doc/${name}/nanorc.sample ."
     42
     43    if {! [variant_isset no_spell]} {
     44        ui_msg "Spell-checking support is enabled. To use it, you need a spellchecker e.g. aspell, ispell..."
     45    }
    4046}
    4147
     
    5864
    5965variant no_spell {
    60     configure.args-append   --disable-spell
     66    configure.args-append   --disable-speller
    6167}
    6268
    6369variant mouse {
    6470    configure.args-delete   --disable-mouse
     71
     72    post-install {
     73        ui_msg "Mouse support is enabled. ${name} need to be launched inside an x11 console to use it."
     74    }
    6575}
    6676
     
    7181variant color {
    7282    configure.args-append   --enable-color
     83
     84    post-install {
     85        ui_msg "Color syntax is enabled. You should take a look at the syntax definitions in ${prefix}/share/${name} ."
     86    }
    7387}
    7488
Note: See TracChangeset for help on using the changeset viewer.