# $Id$ PortSystem 1.0 PortGroup muniversal 1.0 name libpixman set my_name pixman version 0.14.0 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 adbaf2372f69971306b76b300b7f501f \ sha1 495e9de7b113365d0b7fe902f846734dfe2e1546 \ rmd160 b3a8124ffd04096a87ae8e4e044de68a3a0aad36 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\]*\[02468\](\\.\[0-9\]+)*)\\.tar