Download and Install freetds version 0.82 on Mac OS X
Sunday the 23rd of November, 2008

    freetds  most recent diff


    version 0.82

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



      # $Id: Portfile 39102 2008-08-08 08:54:38Z ryandesign macports.org $

      PortSystem 1.0

      Name: freetds
      Version: 0.82
      Category: databases
      Platform: darwin
      Maintainers: nomaintainer
      Description: A set of libraries for Unix and Linux that allows your programs to natively talk to Microsoft SQL Server and Sybase databases
      Long Description: FreeTDS is an open source implementation of the TDS (Tabular DataStream) protocol used by these databases for their own clients. It supports many different flavors of the protocol and supports several APIs to access it. Additionally FreeTDS works with other software such as Perl and PHP, providing access from those languages as well. There is also a native (type 4) JDBC driver available for platform-independent Java clients (including Java Server Pages applications), with support for most of the JDBC 1 API and portions of the JDBC 2 API.

      Homepage: http://www.freetds.org/
      master_sites http://ibiblio.org/pub/Linux/ALPHA/${name}/stable/ http://ibiblio.org/pub/Linux/ALPHA/${name}/old/${version}/
      checksums md5 3df6b2e83fd420e90f1becbd1162990a sha1 7e2a0c9e41c240c2d1c7f69c6f278e9a5bb80c2d rmd160 d3596c512022332cdb3bab375950159f1e930a4b
      depends_lib port:libiconv port:ncurses port:readline

      configure.args --mandir=${prefix}/share/man --includedir=${prefix}/include/${name} --sysconfdir=${prefix}/etc/${name} --with-libiconv-prefix=${prefix}

      use_parallel_build yes

      post-destroot {
      file rename ${destroot}${prefix}/share/doc/${name}-${version} ${destroot}${prefix}/share/doc/${name}
      }

      post-patch {
      reinplace "s|../replacements/libreplacements.la||g" ${worksrcpath}/src/server/Makefile.in ${worksrcpath}/src/ctlib/Makefile.in ${worksrcpath}/src/odbc/Makefile.in ${worksrcpath}/src/dblib/Makefile.in ${worksrcpath}/src/apps/Makefile.in

      reinplace "s|../../replacements/libreplacements.la||g" ${worksrcpath}/src/apps/fisql/Makefile.in ${worksrcpath}/src/dblib/unittests/Makefile.in ${worksrcpath}/src/tds/unittests/Makefile.in
      }

      platform darwin 7 {
      pre-build {
      system "cp /usr/bin/glibtool ${worksrcpath}/libtool"
      }
      }

      platform darwin 9 {
      pre-build {
      system "cp /usr/bin/glibtool ${worksrcpath}/libtool"
      }
      }

      Variant: mssql description {Use MS style dblib} {
      configure.args-append --enable-msdblib --with-tdsver=8.0
      }

      Variant: odbc description {Build odbc driver against unixODBC} {
      depends_lib-append port:unixODBC
      configure.args-append --with-unixodbc=${prefix}
      }

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.