Nvi version 1.81.6 - How to Download and Install on Mac OS X
Sunday the 22nd of November, 2009

    version 1.81.6

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


      The nvi Portfile 57667 2009-09-14 18:43:58Z toby macports.org $

      PortSystem 1.0

      Name: nvi
      Version: 1.81.6
      Revision: 1
      Category: editors
      Maintainers: toby
      Description: A vi/ex clone

      Long Description: Nvi is an implementation of the ex/vi text editor originally distributed as part of the Fourth Berkeley Software Distribution (4BSD), by the University of California, Berkeley.

      Homepage: http://www.bostic.com/vi/
      Platform: darwin
      Master Sites: http://www.kotnet.org/~skimo/nvi/devel/
      Checksums: md5 88d1e23115ee9f2961186b62e55f5704
      use_bzip2 yes
      worksrcdir ${name}-${version}/dist

      set my_db_version db47

      depends_lib port:ncurses port:${my_db_version}

      Patch Files: patch-common__db.h patch-common__key.h patch-dist__port.h.in patch-ex_script.c.diff

      configure.args --program-prefix=n --without-x --mandir=${prefix}/share/man

      configure.cppflags-append -I${prefix}/include/${my_db_version}
      configure.ldflags-append -L${prefix}/lib/${my_db_version}

      Variant: x11 {
      configure.args-delete --without-x
      configure.args-append --with-x
      }

    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/nvi
      % sudo port install nvi
      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 nvi
      ---> Verifying checksum for nvi
      ---> Extracting nvi
      ---> Configuring nvi
      ---> Building nvi with target all
      ---> Staging nvi into destroot
      ---> Installing nvi
    - 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 nvi with these commands:
      %  man nvi
      % apropos nvi
      % which nvi
      % locate nvi

     Where to find more information:

    Darwin Ports



    Lightbox this page.