[136858] users/devans/GNOME-3/unstable/dports/x11/pango/Portfile

devans at macports.org devans at macports.org
Thu May 28 08:05:03 PDT 2015


Revision: 136858
          https://trac.macports.org/changeset/136858
Author:   devans at macports.org
Date:     2015-05-28 08:05:02 -0700 (Thu, 28 May 2015)
Log Message:
-----------
GNOME-3/unstable: pango, sync with trunk pango-devel.

Modified Paths:
--------------
    users/devans/GNOME-3/unstable/dports/x11/pango/Portfile

Modified: users/devans/GNOME-3/unstable/dports/x11/pango/Portfile
===================================================================
--- users/devans/GNOME-3/unstable/dports/x11/pango/Portfile	2015-05-28 14:39:29 UTC (rev 136857)
+++ users/devans/GNOME-3/unstable/dports/x11/pango/Portfile	2015-05-28 15:05:02 UTC (rev 136858)
@@ -45,48 +45,12 @@
 
 patchfiles              patch-ltmain.sh.diff
 
-configure.ccache        no
-
-pre-configure {
-    set fontconfig_minimum_version 2.10.91
-    set fontconfig_installed_version [exec ${prefix}/bin/pkg-config fontconfig --modversion]
-    if {[vercmp ${fontconfig_installed_version} ${fontconfig_minimum_version}] < 0} {
-        ui_error "${name} ${version} requires fontconfig ${fontconfig_minimum_version} or later but you have fontconfig ${fontconfig_installed_version}."
-        return -code error "incompatible fontconfig version"
-    }
-
-    set harfbuzz_minimum_version 0.9.9
-    set harfbuzz_installed_version [exec ${prefix}/bin/pkg-config harfbuzz --modversion]
-    if {[vercmp ${harfbuzz_installed_version} ${harfbuzz_minimum_version}] < 0} {
-        ui_error "${name} ${version} requires harfbuzz ${harfbuzz_minimum_version} or later but you have harfbuzz ${harfbuzz_installed_version}."
-        return -code error "incompatible harfbuzz version"
-    }
-
-    set glib_minimum_version 2.33.12
-    set glib_installed_version [exec ${prefix}/bin/pkg-config glib-2.0 --modversion]
-    if {[vercmp ${glib_installed_version} ${glib_minimum_version}] < 0} {
-        ui_error "${name} ${version} requires glib2 ${glib_minimum_version} or later but you have glib2 ${glib_installed_version}."
-        return -code error "incompatible glib2 version"
-    }
-
-    set cairo_minimum_version 1.7.6
-    set cairo_installed_version [exec ${prefix}/bin/pkg-config cairo --modversion]
-    if {[vercmp ${cairo_installed_version} ${cairo_minimum_version}] < 0} {
-        ui_error "${name} ${version} requires cairo ${cairo_minimum_version} or later but you have cairo ${cairo_installed_version}."
-        return -code error "incompatible cairo version"
-    }
-}
-
 configure.args          --enable-static \
                         --disable-silent-rules \
                         --without-x
 
 gobject_introspection   yes
 
-variant builtin_modules description {Build the modules into Pango statically (most users do not need this variant)} {
-    configure.args-append   --with-included-modules
-}
-
 platform macosx {
     variant quartz {
         # Although this variant does nothing, pango will automatically build
@@ -124,24 +88,6 @@
 }
 
 post-destroot {
-#
-#    Pango modules, engines, config files now gone
-#    https://bugzilla.gnome.org/show_bug.cgi?id=733882
-#    https://git.gnome.org/browse/pango/commit/?id=137832fa931e875b900dedd1c8909b46d1f7e8ad
-#
-#    xinstall -d ${destroot}${prefix}/etc/pango
-#    if {![variant_isset builtin_modules]} {
-#        xinstall -m 0644 ${worksrcpath}/modules/pangorc \
-#            ${destroot}${prefix}/etc/pango
-#        reinplace "s|\\.\\./modules/|${prefix}/etc/pango/|g" \
-#            ${destroot}${prefix}/etc/pango/pangorc
-#
-#        system "env LANG=C DYLD_LIBRARY_PATH=${destroot}${prefix}/lib \
-#            ${destroot}${prefix}/bin/pango-querymodules ${destroot}${prefix}/lib/pango/*/modules/*.so \
-#            >${destroot}${prefix}/etc/pango/pango.modules"
-#        reinplace s|${destroot}||g ${destroot}${prefix}/etc/pango/pango.modules
-#    }
-#
     set docdir ${prefix}/share/doc/${my_name}
     xinstall -d ${destroot}${docdir}
     xinstall -m 0644 -W ${worksrcpath} AUTHORS ChangeLog COPYING MAINTAINERS NEWS README THANKS \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150528/cb996831/attachment.html>


More information about the macports-changes mailing list