# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 name glxgears set pkg_name mesa-demos version 8.1.0 categories x11 graphics license MIT maintainers jeremyhu openmaintainer description Show information about GLX capabilities long_description ${description} homepage http://mesa3d.sourceforge.net/ distname ${pkg_name}-${version} dist_subdir ${pkg_name} platforms macosx darwin use_bzip2 yes master_sites ftp://ftp.freedesktop.org/pub/mesa/demos/${version} checksums sha1 c970ebd5aaae561b5fb499985bef004e11b72501 \ rmd160 f60c1891967e1c7a7119e235eefdecc11b19553f depends_lib \ port:mesa use_configure no variant universal {} build { system -W ${worksrcpath} "${configure.cc} ${configure.cppflags} ${configure.cflags} [get_canonical_archflags cc] -c ${worksrcpath}/src/xdemos/${name}.c" system -W ${worksrcpath} "${configure.cc} ${configure.ldflags} [get_canonical_archflags ld] ${name}.o -lGL -lX11 -o ${name}" } destroot { xinstall -m 755 "${worksrcpath}/${name}" "${destroot}${prefix}/bin" } use_parallel_build yes livecheck.type regex livecheck.url http://cgit.freedesktop.org/mesa/demos livecheck.regex ">${pkg_name}-(\[\\d.\]+)<"