source: trunk/dports/x11/glxgears/Portfile

Last change on this file was 144297, checked in by jeremyhu@…, 23 months ago

glxgears: Bump to 8.3.0

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# -*- 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
2# $Id: Portfile 144297 2016-01-06 02:58:33Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                glxgears
7set pkg_name        mesa-demos
8version             8.3.0
9categories          x11 graphics
10license             MIT
11maintainers         jeremyhu openmaintainer
12description         Show information about GLX capabilities
13long_description    ${description}
14
15homepage            http://mesa3d.sourceforge.net/
16distname            ${pkg_name}-${version}
17dist_subdir         ${pkg_name}
18
19platforms           macosx darwin
20use_bzip2           yes
21master_sites        ftp://ftp.freedesktop.org/pub/mesa/demos/${version}
22
23checksums           sha1    468a8f24938ab07e2e31828cf961515371d45b56 \
24                    rmd160  97b6a484fdbd94421519fca6001db12fb3f8f3e5 \
25                    sha256  c173154bbd0d5fb53d732471984def42fb1b14ac85fcb834138fb9518b3e0bef
26
27depends_lib \
28        port:mesa
29
30use_configure no
31
32variant universal {}
33
34build {
35        system -W ${worksrcpath} "${configure.cc} ${configure.cppflags} ${configure.cflags} [get_canonical_archflags cc] -c ${worksrcpath}/src/xdemos/${name}.c"
36        system -W ${worksrcpath} "${configure.cc} ${configure.ldflags} [get_canonical_archflags ld] ${name}.o -lGL -lX11 -o ${name}"
37}
38
39destroot {
40        xinstall -m 755 "${worksrcpath}/${name}" "${destroot}${prefix}/bin"
41}
42
43use_parallel_build yes
44
45livecheck.type      regex
46livecheck.url       http://cgit.freedesktop.org/mesa/demos
47livecheck.regex     ">${pkg_name}-(\[\\d.\]+)<"
Note: See TracBrowser for help on using the repository browser.