|
|||||||||
Saturday the 21st of November, 2009 |
|||||||||
freetds most recent diffversion 0.82
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 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 The freetds Portfile 57375 2009-09-10 08:16:41Z ryandesign 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: ftp://ftp.ibiblio.org/pub/Linux/ALPHA/${name}/stable/ 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_build port:libtool depends_lib port:libiconv port:ncurses port:readline Patch Files: patch-cspublic.h configure.args --mandir=${prefix}/share/man --includedir=${prefix}/include/${name} --sysconfdir=${prefix}/etc/${name} --with-libiconv-prefix=${prefix} 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 } use_parallel_build yes pre-build { ln -sf ${prefix}/bin/glibtool ${worksrcpath}/libtool } post-destroot { # rename the freetds conf files so we don't clobber any existing ones foreach file [list "freetds.conf" "locales.conf" "pool.conf"] { file rename ${destroot}${prefix}/etc/freetds/${file} ${destroot}${prefix}/etc/freetds/${file}.sample } file rename ${destroot}${prefix}/share/doc/${name}-${version} ${destroot}${prefix}/share/doc/${name} } post-activate { # copy over freetds sample files if none exists ui_msg "\n****************************************************************" foreach file [list "freetds.conf" "locales.conf" "pool.conf"] { if {![file exists ${prefix}/etc/freetds/${file}]} { ui_msg "Configuration file ${file} does not exist and has been created using" ui_msg " ${prefix}/etc/freetds/${file}.sample" file copy ${prefix}/etc/freetds/${file}.sample ${prefix}/etc/freetds/${file} } else { ui_msg "Configuration file ${file} exists and has has been retained." ui_msg "(The distribution's version has been installed to ${prefix}/etc/freetds/${file}.sample)" } } ui_msg "****************************************************************" } 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} } livecheck.type regex livecheck.url ftp://ftp.ibiblio.org/pub/Linux/ALPHA/${name}/stable/ livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}" 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/freetdsYou 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: 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 Where to find more information:
|
![]() |
![]()
Order Snow Leopard MacOSX 10.6 for only $29!
Other Helpful SitesMacOSForgeDebian Packages MacPorts - SVN Freshports - FreeBSD Fink Package List RPM for MacOSX Port Categories
accounting
amusements aqua archivers audio benchmarks biology blinkenlights cad chat chinese comms compression cross crypto databases devel editors education electronics emacs emulators erlang finance fonts framework fuse games genealogy gis gnome gnustep graphics gtk haskell iphone irc japanese java kde kde4 lang macports math mercurial ml mono multimedia net network news ocaml office palm parallel perl php pim project python reporting rox ruby russian scheme science security shells spelling squeak sysutils tcl tex textproc tk unicode vnc win32 wsn www x11 x11-font x11-wm xfce zope
Current SVN DownloadsDarwin Ports Current :nightly SVN snapshot SSH Key Gen See also: GNU-Darwin Ports for GNU-only software |
|||||||
| |




