source: trunk/dports/databases/FreeTDS/Portfile @ 33301

Last change on this file since 33301 was 33301, checked in by ryandesign@…, 13 years ago

For all nomaintainer and openmaintainer ports, remove configure.compiler gcc-4.0
from all platform darwin 8 sections. MacPorts 1.6 already ensures that GCC 4.0
is used by default on Tiger. See #14046.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.2 KB
Line 
1# $Id: Portfile 33301 2008-01-23 10:58:09Z ryandesign@macports.org $
2
3PortSystem 1.0
4name                    freetds
5version                 0.64
6revision                1
7categories              databases
8platforms               darwin
9maintainers             nomaintainer
10description             A set of libraries for Unix and Linux that allows your programs to natively talk to Microsoft SQL Server and Sybase databases
11long_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.
12
13homepage        http://www.freetds.org/
14master_sites    http://ibiblio.org/pub/Linux/ALPHA/${name}/stable/ \
15                http://ibiblio.org/pub/Linux/ALPHA/${name}/old
16checksums       md5 ecfee5d6c96932172a1f29fb215c9d23
17depends_lib     port:libiconv
18worksrcdir      freetds-${version}
19
20configure.args  --mandir=${prefix}/share/man \
21                --includedir=${prefix}/include/${name} \
22                --sysconfdir=${prefix}/etc/${name} \
23                --with-libiconv-prefix=${prefix}
24
25post-destroot {
26        file rename ${destroot}${prefix}/share/doc/${name}-${version} \
27                ${destroot}${prefix}/share/doc/${name}
28}
29
30platform darwin 7 {
31        patchfiles      patch-src-tds-Makefile.in patch-src-server-Makefile.in \
32                patch-src-ctlib-Makefile.in patch-src-odbc-Makefile.in \
33                patch-src-dblib-Makefile.in patch-src-apps-Makefile.in
34
35        pre-build {
36                system "cp /usr/bin/glibtool ${worksrcpath}/libtool"
37        }
38}
39
40platform darwin 8 {
41        patchfiles      patch-src-tds-Makefile.in patch-src-server-Makefile.in \
42                patch-src-ctlib-Makefile.in patch-src-odbc-Makefile.in \
43                patch-src-dblib-Makefile.in patch-src-apps-Makefile.in
44}
45
46platform darwin 9 {
47        patchfiles      patch-src-tds-Makefile.in patch-src-server-Makefile.in \
48                patch-src-ctlib-Makefile.in patch-src-odbc-Makefile.in \
49                patch-src-dblib-Makefile.in patch-src-apps-Makefile.in
50        configure.compiler      gcc-4.0
51
52        pre-build {
53                system "cp /usr/bin/glibtool ${worksrcpath}/libtool"
54        }
55}
56
57variant mssql {
58       configure.args-append = --enable-msdblib --with-tdsver=8.0
59}
Note: See TracBrowser for help on using the repository browser.