--- Portfile.orig	2012-04-08 16:41:54.000000000 -0400
+++ Portfile	2012-04-08 17:51:57.000000000 -0400
@@ -4,7 +4,7 @@
 PortSystem          1.0
 
 name                ccpnmr
-version             2.1.5
+version             2.2.2
 set branch          [join [lrange [split $version .] 0 1] .]
 categories          science python
 maintainers         bromo.med.uc.edu:howarth
@@ -17,16 +17,16 @@
                     experimental data to the final validation.
 platforms           darwin
 homepage            http://www.ccpn.ac.uk/ccpn/software/ccpnmr-suite
-master_sites        http://www.bio.cam.ac.uk/ccpn/download/ccpnmr/
+master_sites        http://www2.ccpn.ac.uk/download/ccpnmr/
 distname            analysis${version}
-checksums           md5     e1e93cac7516c6f8fbe4b503a223cdd4 \
-                    sha1    70dc5e6b2752d6b7d5c8673fc992ebd0a88e6ad0
+checksums           md5     a3ede39ed484d261eb82137055dc66a1 \
+                    sha1    825ad7487ef6191baac0e5aa3d0ec6a6ed94a04f
 worksrcdir          ${name}
-depends_lib         port:py26-scipy port:mesa port:freeglut port:tk port:py26-tkinter
+depends_lib         port:py27-scipy port:mesa port:freeglut port:tk port:py27-tkinter port:gcc45
 patchfiles          ccpnmr.patch
 use_configure       no
 
-set python.branch	2.6
+set python.branch	2.7
 set python.prefix	${frameworks_dir}/Python.framework/Versions/${python.branch}
 set python.bin	${python.prefix}/bin/python${python.branch}
 set python.pkgd	${python.prefix}/lib/python${python.branch}/site-packages
@@ -54,6 +54,8 @@
 pre-build {
     copy ${worksrcpath}/ccpnmr${branch}/c/environment-opengl.txt ${worksrcpath}/ccpnmr${branch}/c/environment.txt
 }
+
+configure.compiler  macports-gcc-4.5
 build.args      CC=${configure.cc} ARCHFLAGS="${configure.cc_archflags}"
 build.dir       ${worksrcpath}/ccpnmr${branch}/c
 build.target    all links
