[136839] trunk/dports/x11/pango-devel/Portfile
ryandesign at macports.org
ryandesign at macports.org
Thu May 28 02:30:59 PDT 2015
Revision: 136839
https://trac.macports.org/changeset/136839
Author: ryandesign at macports.org
Date: 2015-05-28 02:30:59 -0700 (Thu, 28 May 2015)
Log Message:
-----------
pango-devel: update to 1.37.0
Modified Paths:
--------------
trunk/dports/x11/pango-devel/Portfile
Modified: trunk/dports/x11/pango-devel/Portfile
===================================================================
--- trunk/dports/x11/pango-devel/Portfile 2015-05-28 08:42:36 UTC (rev 136838)
+++ trunk/dports/x11/pango-devel/Portfile 2015-05-28 09:30:59 UTC (rev 136839)
@@ -10,8 +10,7 @@
name pango-devel
conflicts pango
set my_name pango
-version 1.36.8
-revision 1
+version 1.37.0
set branch [join [lrange [split ${version} .] 0 1] .]
categories x11
maintainers ryandesign openmaintainer
@@ -32,8 +31,8 @@
open-source framework for the layout and rendering \
of internationalized text.
-checksums rmd160 41816cdc622df71ea8b3382229dfa65d3c66fa4e \
- sha256 18dbb51b8ae12bae0ab7a958e7cf3317c9acfc8a1e1103ec2f147164a0fc2d07
+checksums rmd160 2e2265d73cc1d2b505bd4dcdf5e8eca7c7c8cf05 \
+ sha256 932e6c2410de378222e195edc46376dc0a82bf91038c8211c47bf859e2d20f0e
depends_build \
port:pkgconfig
@@ -45,48 +44,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,19 +87,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 \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150528/400e8d6d/attachment-0001.html>
More information about the macports-changes
mailing list