source: trunk/dports/gnome/libgda/Portfile @ 12376

Last change on this file since 12376 was 12376, checked in by olegb, 15 years ago

Bug:
Submitted by:
Reviewed by:
Approved by:
Obtained from:
update to 1.2.1

this fixes bug#3139

  • Property svn:eol-style set to native
File size: 2.4 KB
Line 
1# $Id: Portfile,v 1.9 2005/05/24 19:27:35 olegb Exp $
2
3PortSystem 1.0
4name            libgda
5version         1.2.1
6description     GDA provides uniform access to diffent kinds of data sources.
7long_description        GNU Data Access (GDA) is an attempt to provide \
8                        uniform access to different kinds of data sources \
9                        (databases, information servers, mail spools, etc).
10maintainers     gnome-darwinports@opendarwin.org
11categories      gnome
12platforms       darwin
13homepage        http://www.gnome-db.org/
14master_sites    gnome:sources/libgda/1.2/
15checksums       md5 513a3b7adb66fa5641bae5394f60c017
16use_bzip2       yes
17depends_lib     port:libxslt lib:libglib-2:glib2 port:p5-xml-parser \
18                lib:libdb-4:db4 lib:libmysqlclient:mysql
19configure.env   CPPFLAGS="-L${prefix}/lib -I${prefix}/include -I${prefix}/include/db4" \
20                CFLAGS="-no-cpp-precomp -flat_namespace -undefined suppress"  \
21                LDFLAGS="-L${prefix}/lib"
22configure.args  --mandir=${prefix}/share/man
23
24#patchfiles     patch-configure
25
26post-configure {
27        reinplace "s|-ldb|-ldb-4|g" \
28                ${worksrcpath}/Makefile ${worksrcpath}/data/Makefile \
29                ${worksrcpath}/doc/C/Makefile ${worksrcpath}/doc/Makefile \
30                ${worksrcpath}/libgda/Makefile ${worksrcpath}/libsql/Makefile \
31                ${worksrcpath}/providers/Makefile \
32                ${worksrcpath}/providers/bdb/Makefile \
33                ${worksrcpath}/providers/firebird/Makefile \
34                ${worksrcpath}/providers/freetds/Makefile \
35                ${worksrcpath}/providers/ibmdb2/Makefile \
36                ${worksrcpath}/providers/ldap/Makefile \
37                ${worksrcpath}/providers/mdb/Makefile \
38                ${worksrcpath}/providers/mdb/Makefile \
39                ${worksrcpath}/providers/msql/Makefile \
40                ${worksrcpath}/providers/mysql/Makefile \
41                ${worksrcpath}/providers/odbc/Makefile \
42                ${worksrcpath}/providers/oracle/Makefile \
43                ${worksrcpath}/providers/postgres/Makefile \
44                ${worksrcpath}/providers/sqlite/Makefile \
45                ${worksrcpath}/providers/xbase/Makefile \
46                ${worksrcpath}/providers/sybase/Makefile \
47                ${worksrcpath}/providers/xml/Makefile \
48                ${worksrcpath}/report/Makefile \
49                ${worksrcpath}/report/libgda-report/Makefile \
50                ${worksrcpath}/report/testing/Makefile \
51                ${worksrcpath}/testing/Makefile \
52                ${worksrcpath}/tools/Makefile
53}
54
55variant mysql4 {
56        depends_lib-append      path:${prefix}/lib/mysql/libmysqlclient_r.12.dylib:mysql4
57        configure.args-append   --with-mysql=${prefix}
58}
59
60variant postgresql {
61        depends_lib-append      lib:libpq:postgresql
62        configure.args-append   --with-postgres=${prefix}
63}
64
65variant sqlite {
66        depends_lib-append      lib:libsqlite:sqlite
67        configure.args-append   --with-sqlite=${prefix}
68}
69
Note: See TracBrowser for help on using the repository browser.