# $Id: Portfile 54157 2009-07-22 04:40:30Z ryandesign@macports.org $ PortSystem 1.0 PortGroup muniversal 1.0 name libpixman-devel set my_name pixman version 0.15.18 categories graphics platforms darwin maintainers ryandesign homepage http://www.x.org/ master_sites http://xorg.freedesktop.org/archive/individual/lib/ \ ${homepage}pub/individual/lib/ distname ${my_name}-${version} use_bzip2 yes use_parallel_build yes description \ Pixel region Library long_description \ libpixman is a generic library for manipulating pixel regions. A \ PixRegion is a set of Y-X banded rectangles that cover the desired region. checksums \ md5 87d256db0440e579f113cd4fb67cbfb0 \ sha1 30d953ff32338740dfdba8764f4cc8545b96d370 \ rmd160 f2aa711db7154faafd85d9567686ab77fb36a955 pre-extract { if {"darwin" == ${os.platform} && 7 == ${os.major}} { set minimum_xcodeversion 1.5 set current_xcodeversion [exec defaults read /Developer/Applications/Xcode.app/Contents/Info CFBundleShortVersionString] if {[rpm-vercomp ${current_xcodeversion} ${minimum_xcodeversion}] < 0} { ui_error "On Mac OS X ${macosx_version}, ${name} ${version} requires Xcode ${minimum_xcodeversion} but you have Xcode ${current_xcodeversion}." return -code error "incompatible Xcode version" } } } configure.args \ --disable-gtk post-destroot { set docdir ${destroot}${prefix}/share/doc/${name}-${version} xinstall -d ${docdir} eval xinstall -m 644 -W ${worksrcpath} \ AUTHORS \ COPYING \ [glob ${worksrcpath}/ChangeLog*] \ NEWS \ README \ TODO \ ${docdir} } livecheck.check regex livecheck.url [lindex ${master_sites} 0]?C=M&O=D livecheck.regex ${my_name}-(\[0-9\]+\\.\[0-9\]*\[13579\](\\.\[0-9\]+)*)\\.tar