Download and Install subversion version 1.5.4 on Mac OS X
Tuesday the 2nd of December, 2008

    subversion  most recent diff


    version 1.5.4

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



      # $Id: Portfile 42007 2008-11-13 15:28:11Z nox macports.org $

      PortSystem 1.0

      Name: subversion
      Version: 1.5.4
      Category: devel
      Platform: darwin
      Maintainers: dluke geeklair.net
      Description: A version control system designed to be a better cvs.

      Long Description: Subversion is a version control system designed to be as similar to cvs(1) as possible, while fixing many outstanding problems with cvs(1).

      Homepage: http://subversion.tigris.org/
      master_sites ${homepage}downloads/
      use_bzip2 yes
      checksums md5 037d1ed7a313631d50defdc3cf727415 sha1 0bebb7029fcf3c0638206c22a1ba9526121e4365 rmd160 521cd35602a637dba77864926e7636c08e54f3d7

      depends_lib port:expat port:neon port:apr port:apr-util port:db46 port:gettext port:libiconv port:serf port:cyrus-sasl2

      test.run yes
      test.target check
      test.env CLEANUP=true

      patchfiles patch-Makefile.in.diff

      configure.args --with-berkeley-db=${prefix}/include/db46:${prefix}/lib/db46 --with-neon=${prefix} --with-apr=${prefix}/bin/apr-1-config --with-apr-util=${prefix}/bin/apu-1-config --without-apxs --mandir=\\\${prefix}/share/man --disable-neon-version-check --with-serf=${prefix} --with-sasl=${prefix}

      use_parallel_build yes
      build.target all

      pre-test {
      set x {}
      fs-traverse dir ${worksrcpath}/subversion {
      if {[file tail ${dir}] == ".libs" && [file isdirectory ${dir}]} {
      lappend x ${dir}
      continue
      }
      }

      test.env-append DYLD_LIBRARY_PATH=[join ${x} ":"]
      }

      pre-configure { reinplace "s|hardcode_direct=yes|hardcode_direct=no|g" ${worksrcpath}/configure
      }

      post-configure { reinplace "s|need_relink=yes|need_relink=no|g" ${worksrcpath}/libtool
      }

      Variant: mod_dav_svn description {Install the subversion apache module (mod_dav_svn)} {
      depends_build path:${prefix}/apache2/bin/apxs:apache2
      configure.args-append --with-apxs=${prefix}/apache2/bin/apxs --disable-mod-activation
      configure.args-delete --without-apxs

      destroot.violate_mtree yes
      }

      Variant: no_neon description {Build without neon (http/https support)} {
      depends_lib-delete port:neon
      configure.args-append --without-neon
      configure.args-delete --with-neon=${prefix}
      }

      Variant: no_bdb description {Build without support for BerkeleyDB repositories} {
      depends_lib-delete port:db46
      configure.args-delete --with-berkeley-db=${prefix}/include/db46:${prefix}/lib/db46
      configure.args-append --without-berkeley-db
      }

      Variant: mac_os_x_server_mod_dav_svn description {Unsupported - attempt to build the subversion apache module with apple supplied apache2} {
      configure.args-append --with-apxs=/opt/apache2/bin/apxs --disable-mod-activation
      configure.args-delete --without-apxs

      destroot.violate_mtree yes

      post-install {
      ui_warn "This variant (+mac_os_x_server_mod_dav_svn builds against the Apple-supplied apache2 in /opt/apache2 and thus may have problems that the normal variant (+mod_dav_svn) which builds against the macports supplied apache2 will not have."
      }
      }

      Variant: tools description {Install some optional extra subversion tools} {
      build.target-append svnmucc
      post-destroot {
      xinstall -d -m 755 ${destroot}${prefix}/share/${name}
      copy ${worksrcpath}/tools ${destroot}${prefix}/share/${name}/tools
      copy ${worksrcpath}/contrib/client-side/svnmucc/svnmucc ${destroot}${prefix}/bin/
      eval delete [glob ${worksrcpath}/contrib/client-side/{svnmucc{,.{l,}o},.libs}]
      copy ${worksrcpath}/contrib ${destroot}${prefix}/share/${name}/contrib
      }
      }

      Variant: bash_completion description {Install subversion bash-completion file} {
      depends_run-append port:bash-completion
      post-destroot {
      xinstall -d ${destroot}${prefix}/etc/bash_completion.d
      copy ${worksrcpath}/tools/client-side/bash_completion ${destroot}${prefix}/etc/bash_completion.d/subversion
      }
      }

      # 10.3 says -> CarbonCore/MacTypes.h: No such file or directory
      platform darwin 7 { configure.args-append --disable-keychain
      }

      livecheck.check regex
      livecheck.regex {Subversion is (\d+(?:\.\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/subversion
      % sudo port install subversion
      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 subversion
      ---> Verifying checksum for subversion
      ---> Extracting subversion
      ---> Configuring subversion
      ---> Building subversion with target all
      ---> Staging subversion into destroot
      ---> Installing subversion
    - 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 subversion with these commands:
      %  man subversion
      % apropos subversion
      % which subversion
      % locate subversion

     Where to find more information:

    Darwin Ports



    Lightbox this page.