Download and Install vim version ${vim_version}.${vim_patchlevel} on Mac OS X
Wednesday the 23rd of July, 2008

    vim  most recent diff


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



      # $Id: Portfile 37850 2008-06-26 09:37:10Z raimue macports.org $

      PortSystem 1.0

      Name: vim
      set vim_version 7.1
      set vim_patchlevel 330
      Version: ${vim_version}.${vim_patchlevel}
      Category: editors
      Maintainers: raimue
      Description: Vi \"workalike\" with many additional features
      Long Description: Vim is an advanced text editor that seeks to provide the power of the de-facto Unix editor 'Vi', with a more complete feature set.

      Homepage: http://www.vim.org/
      Platform: darwin freebsd

      use_bzip2 yes

      distfiles [suffix ${name}-${vim_version}]:vim ${name}-${vim_version}-extra.tar.gz:extra ${name}-${vim_version}-lang.tar.gz:extra
      checksums [suffix ${name}-${vim_version}] md5 44c6b4914f38d6f9aa959640b89da329 sha1 981e1acecc4d8f15680b6e160de84aed038d857d rmd160 470775e0d0219cafe7e04dd91199ed7441882456 ${name}-${vim_version}-extra.tar.gz md5 605cc7ae31bcc9d7864bb0bb6025f55d sha1 65581f63ff3c665e0513ba578d9e80e9e9512aa3 rmd160 e44bde407fb42233a8fbcc74d96a03650bf863d1 ${name}-${vim_version}-lang.tar.gz md5 144aa049ba70621acf4247f0459f3ee7 sha1 7c1e2f498e1f8304879e73b88562f9036801c7ee rmd160 ac38dde9b2e497687f9d046786b3ce1e45f45020

      dist_subdir ${name}
      distname ${name}[strsed ${vim_version} {g/\.//}]

      depends_build bin:gnutar:gnutar bin:grep:grep
      depends_lib port:ncurses port:libiconv port:ctags

      configure.args --enable-gui=no --without-x --disable-gpm --disable-nls --mandir=${prefix}/share/man --with-tlib=ncurses --enable-multibyte

      extract.only [suffix ${name}-${vim_version}]
      post-extract {
      system "gnutar xvfz ${distpath}/${name}-${vim_version}-extra.tar.gz -C ${workpath}"
      system "gnutar xvfz ${distpath}/${name}-${vim_version}-lang.tar.gz -C ${workpath}"
      }

      post-patch {
      set features [open ${worksrcpath}/src/feature.h a+]
      puts $features "#define SYS_VIMRC_FILE \"${prefix}/etc/vimrc\""
      close $features
      }

      use_parallel_build yes

      test.run yes

      Variant: athena description {Build GUI version using Athena widgets} conflicts gtk1 gtk2 motif {
      configure.args-delete --enable-gui=no --without-x
      configure.args-append --enable-gui=athena --with-x --disable-darwin
      depends_lib-append lib:libX11:XFree86
      }
      Variant: gtk1 description {Build GUI version using GTK 1.x widgets} conflicts athena gtk2 motif {
      configure.args-delete --enable-gui=no --without-x
      configure.args-append --enable-gui=gtk --with-x --disable-darwin
      depends_lib-append port:gtk1
      }
      Variant: gtk2 description {Build GUI version using GTK 2.x widgets} conflicts athena gtk1 motif {
      configure.args-delete --enable-gui=no --without-x
      configure.args-append --enable-gui=gtk2 --with-x --disable-darwin
      depends_lib-append port:gtk2
      }
      Variant: motif description {Build GUI version with Motif widgets} conflicts athena gtk1 gtk2 {
      configure.args-delete --enable-gui=no --without-x
      configure.args-append --enable-gui=motif --with-x --disable-darwin
      depends_lib-append port:openmotif
      }

      Variant: tiny description {Build tiny feature set} {
      configure.args-append --with-features=tiny
      }
      Variant: small description {Build small feature set} conflicts tiny {
      configure.args-append --with-features=small
      }
      Variant: big description {Build big feature set} conflicts tiny small {
      configure.args-append --with-features=big
      }
      Variant: huge description {Build huge feature set} conflicts tiny small big {
      configure.args-append --with-features=huge
      }
      Variant: xim description {Build with support for X Input Method} {
      configure.args-append --with-xim
      }

      Variant: perl description {Enable Perl scripting} {
      configure.args-append --enable-perlinterp
      depends_lib-append port:perl5.8
      }
      Variant: python description {Enable Python scripting} {
      configure.args-append --enable-pythoninterp
      depends_lib-append port:python25
      }
      Variant: ruby description {Enable Ruby scripting} {
      configure.args-append --enable-rubyinterp
      depends_lib-append port:ruby
      }
      Variant: tcl description {Enable Tcl scripting} {
      configure.args-append --enable-tclinterp
      depends_lib-append port:tcl
      }

      Variant: cscope description {Enable source code browsing with cscope} {
      configure.args-append --enable-cscope
      }

      Variant: nls {
      configure.args-delete --disable-nls
      depends_lib-append port:gettext
      }

      include serverlist
      include patchlist

      livecheck.check regex
      livecheck.url http://ftp.vim.org/pub/${name}/patches/${vim_version}/?O=D
      livecheck.regex (${vim_version}\.\\d+)

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

     Where to find more information:

    Darwin Ports



    image test