Permalink
Fetching contributors…
Cannot retrieve contributors at this time
47 lines (34 sloc) 1.46 KB
# -*- 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
PortSystem 1.0
name glxgears
set pkg_name mesa-demos
version 8.4.0
categories x11 graphics
license MIT
maintainers {jeremyhu @jeremyhu} openmaintainer
description Show information about GLX capabilities
long_description ${description}
homepage https://www.mesa3d.org
distname ${pkg_name}-${version}
dist_subdir ${pkg_name}
platforms macosx darwin
use_bzip2 yes
master_sites https://mesa.freedesktop.org/archive/demos/
checksums rmd160 dcbfec40c173cacef19bf929b4b8119ce78e8e1b \
sha256 01e99c94a0184e63e796728af89bfac559795fb2a0d6f506fa900455ca5fff7d \
size 10073259
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.\]+)<"