--- Portfile.orig	2008-07-03 04:06:56.000000000 +0100
+++ Portfile	2008-07-24 01:58:00.000000000 +0100
@@ -3,7 +3,8 @@
 PortSystem 1.0
 
 name                redland-bindings
-version             1.0.6.1
+version             1.0.8.1
+revision            1
 description         Redland RDF Language Bindings
 long_description    Redland is a set of free software libraries that provide \
                     support for the Resource Description Framework (RDF). \
@@ -15,9 +16,9 @@
 homepage            http://librdf.org/bindings/
 master_sites        http://download.librdf.org/source/
 
-checksums           md5 eb527252d46d5e2d16d4f4d2abf6980d \
-                    sha1 70df1706a8c96ee79103bdd0425acdd3b45d3e1d
-
+checksums           md5 52ff9e9f7fb38e3514862d6077e59332 \
+                    sha1 f19325ee9753de1e6a551e618784267c98e33fe3
+ 
 depends_lib         port:redland
 
 configure.args      --mandir=${prefix}/share/man
@@ -32,9 +33,14 @@
 	depends_lib-append port:php5
 }
 
-variant python {
-	configure.args-append --with-python
-	depends_lib-append port:python23
+variant python24 {
+	configure.args-append --with-python --with-python-ldflags="-Wl,-F. -Wl,-F. -bundle ${prefix}/Library/Frameworks/Python.framework/Versions/2.4/Python"
+	depends_lib-append port:python24
+}
+
+variant python25 {
+	configure.args-append --with-python --with-python-ldflags="-Wl,-F. -Wl,-F. -bundle ${prefix}/Library/Frameworks/Python.framework/Versions/2.5/Python"
+	depends_lib-append port:python25
 }
 
 variant ruby {

