--- Portfile.MP	2013-12-12 12:52:56.000000000 +0100
+++ Portfile	2013-12-12 17:08:41.000000000 +0100
@@ -4,8 +4,11 @@
 PortSystem          1.0
 PortGroup           python 1.0
 
+set _name           saga-python
+set _n              [string index ${_name} 0]
+
 name                py-saga
-version             0.9.12
+version             0.9.15
 categories-append   net science
 platforms           darwin
 supported_archs     noarch
@@ -16,26 +19,44 @@
 
 description         A Simple API for Grid and Distributed Applications
 
-long_description    SAGA (Simple API for Grid Applications) defines a \
-                    high-level interface to the most commonly used distributed \
-                    computing functionality. SAGA-Python provides a Python \
-                    module that is compliant with the OGF GFD.90 SAGA \
-                    specification. Its main focus is ease of use and simple \
-                    user-space deployment in heterogeneous distributed computing \
-                    environments. It supports a wide range of application \
-                    use-cases from simple, uncoupled tasks to complex workflows.
-
-homepage            http://saga-project.github.io/saga-python/
-
-distname            saga-python-${version}
-master_sites        http://pypi.python.org/packages/source/s/saga-python/
-
-checksums           md5     c5edc9524cdd638af471f81fdd809588 \
-                    rmd160  e8654dced5553feff44a25dcff68e2c30c56b44d \
-                    sha256  0a963261fadfc43982e0657a84ff3dac4ce801809910b648e39fa8539d73b56f
+long_description    \
+    SAGA (Simple API for Grid Applications) defines a high-level interface to \
+    the most commonly used distributed computing functionality. SAGA-Python \
+    provides a Python module that is compliant with the OGF GFD.90 SAGA \
+    specification. Its main focus is ease of use and simple user-space \
+    deployment in heterogeneous distributed computing environments. \
+    It supports a wide range of application use-cases from simple, uncoupled \
+    tasks to complex workflows.
+
+homepage            http://saga-project.github.io/${_name}/
+
+distname            ${_name}-${version}
+master_sites        https://pypi.python.org/packages/source/${_n}/${_name}/
+
+checksums           md5     6001141951faebbca00d2c18ed9dcff9 \
+                    rmd160  a9dc00d335efe91b0eee507b3802641f67688378 \
+                    sha256  fb06183fcdd282bb7fc29abd272c14502e10cf1e469d4aeadd3dd9ff240b1595
 
 python.versions     26 27
 
 if {${name} ne ${subport}} {
     depends_build-append    port:py${python.version}-setuptools
+
+    depends_lib-append      port:py${python.version}-colorama \
+                            port:py${python.version}-radical-utils \
+                            port:py${python.version}-libcloud                            
+    # Adding documentation
+    post-destroot {
+        set dest_doc ${destroot}${prefix}/share/doc/${subport}
+        xinstall -d  ${dest_doc}
+        xinstall -m 755 -W ${worksrcpath} \
+            CHANGES.md \
+            LICENSE.md \
+            README.md \
+                ${dest_doc}
+    }
 }
+
+livecheck.type      regex
+livecheck.url       [lindex ${master_sites} 0]
+livecheck.regex     ">${_name}-(\\d+(\\.\\d+)+)\\${extract.suffix}<"
