Ticket #33763: glw.diff

File glw.diff, 1.4 KB (added by ryandesign (Ryan Carsten Schmidt), 12 years ago)
  • Portfile

     
    33PortSystem 1.0
    44
    55name            glw
    6 version         7.8.2
     6version             20120116
    77categories      x11 devel graphics
    88maintainers     css
    99description     Mesa OpenGL widget library
    10 homepage        http://www.mesa3d.org/
    1110platforms       darwin
    1211long_description SGI Xt/Motif OpenGL widget library
    13 master_sites    ftp://ftp.freedesktop.org/pub/mesa/${version}/
    1412
    15 distname        MesaLib-${version}
    16 dist_subdir     mesa
    17 use_bzip2       yes
     13homepage            http://cgit.freedesktop.org/mesa/glw
     14fetch.type          git
     15git.url             git://anongit.freedesktop.org/mesa/glw
     16git.branch          4d1acb30ad0ac3687c2d9482a88ddc524a6c5787
    1817
    19 checksums       sha1    21de672a1cbe307135d7f172dc6952041a38e1c7 \
    20                 rmd160  d06c95bc36304b8ef72211b5defd3ac338fe7956
    21 
    2218depends_lib     port:xorg-libsm \
    2319                port:mesa \
    2420                lib:libXm:openmotif
    2521
    26 post-extract    { file mkdir "${worksrcpath}/lib" }
     22use_autoreconf      yes
    2723
    28 configure.args-append   --enable-motif
     24configure.args      --enable-motif
    2925
    30 worksrcdir      Mesa-${version}
    31 build.dir       ${worksrcpath}/src/glw
    32 build.target
    33 
    3426livecheck.type  regex
    35 livecheck.url   http://www.mesa3d.org/news.html
    36 livecheck.regex {relnotes-([0-9.]+)\.html}
     27livecheck.version   [regsub {(....)(..)(..)} ${version} {\1-\2-\3}]
     28livecheck.regex     {>(\d{4}-\d{2}-\d{2})<}