# $Id: Portfile 53798 2009-07-14 06:49:58Z ryandesign@macports.org $ PortSystem 1.0 PortGroup muniversal 1.0 name libpixman-devel set my_name pixman version 0.15.16 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 248935b715d5f7848871a27db9be21ae \ sha1 321cadd015f07a118e54a50c560377756bd6c901 \ rmd160 88ad92071812218f33980ff15dedf2a2f1929c9f 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