[25016] trunk/dports/databases

source_changes at macosforge.org source_changes at macosforge.org
Fri May 11 02:29:44 PDT 2007


Revision: 25016
          http://trac.macosforge.org/projects/macports/changeset/25016
Author:   rhwood at macports.org
Date:     2007-05-11 02:29:44 -0700 (Fri, 11 May 2007)

Log Message:
-----------
New port libgda3
All variants on this port have not yet been tested, but its being put out for experimentation at this time.

Added Paths:
-----------
    trunk/dports/databases/libgda3/
    trunk/dports/databases/libgda3/Portfile

Added: trunk/dports/databases/libgda3/Portfile
===================================================================
--- trunk/dports/databases/libgda3/Portfile	                        (rev 0)
+++ trunk/dports/databases/libgda3/Portfile	2007-05-11 09:29:44 UTC (rev 25016)
@@ -0,0 +1,89 @@
+# $Id$
+
+PortSystem 1.0
+name		libgda
+version		3.0.1
+description	GDA provides uniform access to diffent kinds of data sources.
+long_description	\
+    GNU Data Access (GDA) is an attempt to provide \
+	uniform access to different kinds of data sources \
+	(databases, information servers, mail spools, etc).
+maintainers	rhwood at macports.org openmaintainer at macports.org
+categories	gnome 
+platforms	darwin 
+homepage	http://www.gnome-db.org/
+master_sites    gnome:sources/libgda/3.0/
+checksums	md5 1aaf23c27ba94d0b231f2b123350110a \
+		sha1 78c9054c4c40463020b8f62da72fca909dd9df03 \
+		rmd160 a9a1f71cc3a6faf8086bf3044b8de91dfc3f3032
+use_bzip2	yes
+
+depends_lib	\
+	port:gettext \
+	port:libiconv \
+	port:libxml2 \
+	port:ncurses \
+	port:p5-xml-parser \
+	port:perl5.8 \
+	port:readline \
+	port:zlib \
+	port:glib2
+
+depends_build	\
+	port:flex \
+	port:m4 \
+	port:pkgconfig \
+	port:gnome-doc-utils
+
+configure.args  --mandir=${prefix}/share/man
+
+post-configure {
+	fs-traverse file ${worksrcpath} {
+		if [string match {/Makefile$} ${file}] {
+			reinplace "s|-ldb|-lbd-4|g" ${file}
+		}
+	}
+}
+
+default_variants +with_bdb44
+
+variant with_mysql3 conflicts with_mysql4 with_mysql5 {
+	depends_lib-append	port:mysql
+	configure.args-append	--with-mysql=${prefix}
+}
+
+variant with_mysql4 conflicts with_mysql3 with_mysql5 {
+	depends_lib-append	port:mysql4
+	configure.args-append	--with-mysql=${prefix}
+}
+
+variant with_mysql5 conflicts with_mysql3 with_mysql4 {
+	depends_lib-append	port:mysql5
+	configure.args-append	--with-mysql=${prefix}
+}
+
+variant with_postgresql8 {
+    configure.cppflags-append   "-I${prefix}/include/pgsql8"
+    configure.ldflags-append	"-L${prefix}/lib/pgsql8"
+	depends_lib-append	port:postgresql8
+	configure.args-append	--with-postgres=${prefix}
+}
+
+variant with_bdb4 conflicts without_bdb with_bdb44 {
+	depends_lib-append	port:db4
+	configure.args-append	--with-bdb=${prefix}
+	configure.cppflags-append	"-I${prefix}/include/db4"
+	configure.ldflags-append	"-L${prefix}/lib/db4"
+}
+
+variant with_bdb44 conflicts without_bdb with_bdb {
+	depends_lib-append	port:db44
+	configure.args-append	--with-bdb=${prefix}
+	configure.cppflags-append	"-I${prefix}/include/db44"
+	configure.ldflags-append	"-L${prefix}/lib/db44"
+	
+}
+
+variant without_bdb {
+	configure.args-append	--without-bdb
+}


Property changes on: trunk/dports/databases/libgda3/Portfile
___________________________________________________________________
Name: svn:keywords
   + Id
Name: svn:eol-style
   + native

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070511/bddbdbd9/attachment.html


More information about the macports-changes mailing list