[21626] trunk/dports/gnome/libgda/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Tue Jan 30 23:46:21 PST 2007


Revision: 21626
          http://trac.macosforge.org/projects/macports/changeset/21626
Author:   landonf at macports.org
Date:     2007-01-30 23:46:21 -0800 (Tue, 30 Jan 2007)

Log Message:
-----------
Assume ownership, rename variants to follow standard usage, and add a slew of default variants that make the port useful out of the box

Modified Paths:
--------------
    trunk/dports/gnome/libgda/Portfile

Modified: trunk/dports/gnome/libgda/Portfile
===================================================================
--- trunk/dports/gnome/libgda/Portfile	2007-01-31 07:25:52 UTC (rev 21625)
+++ trunk/dports/gnome/libgda/Portfile	2007-01-31 07:46:21 UTC (rev 21626)
@@ -7,7 +7,7 @@
 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	nomaintainer at macports.org
+maintainers	landonf at macports.org
 categories	gnome 
 platforms	darwin 
 homepage	http://www.gnome-db.org/
@@ -26,6 +26,8 @@
                 LDFLAGS="-L${prefix}/lib"
 configure.args  --mandir=${prefix}/share/man
 
+default_variants +mysql5 +db4 +postgresql8 +sqlite
+
 post-configure {
 	cd ${worksrcpath}
 	reinplace "s|-ldb|-ldb-4|g" \
@@ -56,34 +58,34 @@
 		tools/Makefile
 }
 
-variant with_mysql3 conflicts with_mysql4 with_mysql5 {
+variant mysql3 conflicts mysql4 mysql5 {
 	depends_lib-append	port:mysql
 	configure.args-append	--with-mysql=${prefix}
 }
 
-variant with_mysql4 conflicts with_mysql3 with_mysql5 {
+variant mysql4 conflicts mysql3 mysql5 {
 	depends_lib-append	port:mysql4
 	configure.args-append	--with-mysql=${prefix}
 }
 
-variant with_mysql5 conflicts with_mysql3 with_mysql4 {
+variant mysql5 conflicts mysql3 mysql4 {
 	depends_lib-append	port:mysql5
 	configure.args-append	--with-mysql=${prefix}
 }
 
-variant with_postgresql8 {
+variant postgresql8 {
 	configure.env	CPPFLAGS="-I${prefix}/include -I${prefix}/include/db4 -I${prefix}/include/pgsql8" \
 		LDFLAGS="-L${prefix}/lib -L${prefix}/lib/pgsql8"
 	depends_lib-append	port:postgresql8
 	configure.args-append	--with-postgres=${prefix}
 }
 
-variant with_db4 {
+variant db4 {
 	depends_lib-append	port:db4
 	configure.args-append	--with-bdb=${prefix}
 }
 
-variant with_sqlite {
+variant sqlite {
 	depends_lib-append	port:sqlite3
 	configure.args-append	--with-sqlite=${prefix}
 }

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


More information about the macports-changes mailing list