Index: Portfile
===================================================================
--- Portfile	(revision 71694)
+++ Portfile	(working copy)
@@ -7,15 +7,16 @@
 
 name                    pango
 conflicts               pango-devel
-epoch                   1
-version                 1.24.5
+version                 1.28.1
 set branch              [join [lrange [split ${version} .] 0 1] .]
 categories              x11
 maintainers             ryandesign
 license                 LGPLv2
 homepage                http://www.pango.org/
-master_sites            gnome:sources/pango/${branch}
+master_sites            gnome:sources/${name}/${branch}
 platforms               darwin
+distname                ${name}-${version}
+dist_subdir             ${name}
 use_bzip2               yes
 use_parallel_build      yes
 
@@ -27,10 +28,9 @@
     open-source framework for the layout and rendering \
     of internationalized text.
 
-checksums \
-    md5     815416a452e9cccc172fed9862401f37 \
-    sha1    a5aa40b78546a7ee59f21804b172e5d47ef776ad \
-    rmd160  7e436752734c55950ad5feced7c7d5c3f040a1b4
+checksums           md5     bab5b4eb3fde6b0a5bfe98d25e668741 \
+                    sha1    2d5907f0ff108cb9c27f69d8e4de564ff3d30221 \
+                    rmd160  04531a54148a22dfcf7f3060501a0126f701ee18
 
 depends_build \
     port:pkgconfig
@@ -45,9 +45,7 @@
                         lib/libcairo.dylib
 
 patchfiles \
-    patch-which.diff \
-    patch-ltmain.sh.diff \
-    patch-configure.diff
+    patch-ltmain.sh.diff
 
 configure.ccache        no
 
@@ -58,6 +56,17 @@
     # itself differently depending on whether or not cairo is installed with
     # the quartz variant. Therefore this variant is necessary to be able to
     # distinguish whether an installed pango has quartz support or not.
+    
+    # pango 1.25.1 and up uses Core Text which is only available on 10.5+.
+    pre-extract {
+        if {${os.major} < 9} {
+            ui_error "${name} ${version} +quartz requires Mac OS X 10.5 or greater."
+            ui_error "Either don't use the +quartz variant or upgrade your Mac OS X."
+            ui_error "Concerns about this should be addressed to the Pango mailing list:"
+            ui_error "http://mail.gnome.org/mailman/listinfo/gtk-i18n-list"
+            return -code error "incompatible Mac OS X version"
+        }
+    }
 }
 }
 
@@ -103,8 +112,8 @@
     }
 }
 
-lappend merger_configure_args(ppc64)   have_atsui=false
-lappend merger_configure_args(x86_64)  have_atsui=false
+lappend merger_configure_env(ppc64)   ac_cv_header_Carbon_Carbon_h=no
+lappend merger_configure_env(x86_64)  ac_cv_header_Carbon_Carbon_h=no
 
 configure.cppflags-append \
     -no-cpp-precomp
@@ -115,12 +124,9 @@
 
 configure.args \
     --enable-static \
+    --disable-introspection \
     --x-include=${prefix}/include --x-lib=${prefix}/lib
 
-if {![variant_isset universal] && $build_arch == "x86_64" || $build_arch == "ppc64"} {
-    configure.args-append have_atsui=false
-}
-
 variant no_x11 {
     depends_lib-delete \
         port:Xft2

