Revision: 140558 https://trac.macports.org/changeset/140558 Author: ryandesign@macports.org Date: 2015-09-22 14:11:21 -0700 (Tue, 22 Sep 2015) Log Message: ----------- pango: update to 1.38.0 Modified Paths: -------------- trunk/dports/x11/pango/Portfile Modified: trunk/dports/x11/pango/Portfile =================================================================== --- trunk/dports/x11/pango/Portfile 2015-09-22 21:06:17 UTC (rev 140557) +++ trunk/dports/x11/pango/Portfile 2015-09-22 21:11:21 UTC (rev 140558) @@ -11,8 +11,7 @@ conflicts pango-devel set my_name pango epoch 1 -version 1.36.8 -revision 1 +version 1.38.0 set branch [join [lrange [split ${version} .] 0 1] .] categories x11 maintainers ryandesign openmaintainer @@ -33,8 +32,8 @@ open-source framework for the layout and rendering \ of internationalized text. -checksums rmd160 41816cdc622df71ea8b3382229dfa65d3c66fa4e \ - sha256 18dbb51b8ae12bae0ab7a958e7cf3317c9acfc8a1e1103ec2f147164a0fc2d07 +checksums rmd160 dfb5fb8d2a0f97ad41d793f7bf7720371a5c1789 \ + sha256 1d4e75974bad853ee9ac5fc5caee5e7ab235abbd945d51d01f3806e04e7c226c depends_build \ port:pkgconfig @@ -46,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 @@ -125,19 +88,6 @@ } post-destroot { - 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 \