Nano version 2.0.9 - How to Download and Install on Mac OS X
Saturday the 4th of July, 2009

    version 2.0.9

      View the most recent changes for the nano port at: nano.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for nano.
      The raw portfile for nano 2.0.9 is located here:
      http://nano.darwinports.com/dports/editors/nano/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/nano


      # -*- 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
      The nano Portfile 41884 2008-11-11 23:21:34Z nox macports.org $

      PortSystem 1.0

      Name: nano
      Version: 2.0.9
      Category: editors
      Platform: darwin freebsd
      Maintainers: nox
      Description: Nano's ANOther editor - enhanced free Pico Clone

      Long Description: GNU nano is a small and friendly text editor. Besides basic text editing, nano offers many extra features like an interactive search and replace, goto line number, auto-indentation, feature toggles, internationalization support, and filename tab completion.

      Homepage: http://www.nano-editor.org/
      Master Sites: ${homepage}dist/v[strsed ${version} {/\.[0-9]*$//}]/ gnu

      Checksums: md5 2be94dc43fb60fff4626a2401a977220 sha1 fce55a02b2809a141258b3c1715d8fd95e004234 rmd160 a2356cdd1779ab5312307a8eb462516eeaa6e943

      depends_lib port:ncursesw port:gettext port:libiconv

      configure.args --enable-all --disable-wrapping-as-root --enable-utf8

      use_parallel_build yes

      destroot.target install-strip

      set docdir ${prefix}/share/doc/${name}-${version}

      post-destroot {
      xinstall -d $destroot$docdir/html
      xinstall -m 644 -W $worksrcpath AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README THANKS TODO doc/nanorc.sample ${destroot}${docdir}
      xinstall -m 644 -W $worksrcpath/doc faq.html texinfo/nano.html $destroot$docdir/html
      }

      post-activate {
      ui_msg "A sample configuration file is available at \"${docdir}/nanorc.sample\"."
      }

      livecheck.check freshmeat

    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/nano
      % sudo port install nano
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching nano
      ---> Verifying checksum for nano
      ---> Extracting nano
      ---> Configuring nano
      ---> Building nano with target all
      ---> Staging nano into destroot
      ---> Installing nano
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using nano with these commands:
      %  man nano
      % apropos nano
      % which nano
      % locate nano

     Where to find more information:

    Darwin Ports



    Lightbox this page.