Ticket #17054: gtetrinet-0.7.11.diff

File gtetrinet-0.7.11.diff, 1.3 KB (added by jmroot (Joshua Root), 16 years ago)
  • Portfile

     
    33PortSystem 1.0
    44
    55name            gtetrinet
    6 version         0.7.9
     6version         0.7.11
     7set branch      [join [lrange [split ${version} .] 0 1] .]
    78categories      games gnome
    89maintainers     warp-opendarwin@spin.de
    910description     A GNOME based tetrinet client
     
    1516homepage        http://gtetrinet.sourceforge.net/
    1617platforms       darwin
    1718
    18 master_sites    gnome:sources/gtetrinet/0.7/
    19 checksums       md5 39fd47efac9727e093ad6923da5c305b
     19use_bzip2       yes
     20master_sites    gnome:sources/${name}/${branch}/
     21checksums       md5 7d113e49506e44b836ce6f259fd3ad88 \
     22                sha1 e39f5b072d290f48f6460451d114db9ab18f7f6a \
     23                rmd160 fbc3a17a49afcce3f66a16b736af9c3102090b04
    2024
    21 patchfiles      patch-Makefile.diff
     25depends_lib     port:libgnomeui
    2226
    23 depends_lib     lib:libgnomeui-2:libgnomeui
    24 
    2527configure.cppflags-append "-L${prefix}/lib"
    26 configure.cflags-append "-flat_namespace -L${prefix}/lib"
     28configure.cflags-append -L${prefix}/lib
    2729
    2830post-destroot   {
    2931        file rename ${destroot}${prefix}/games/gtetrinet \
    3032        ${destroot}${prefix}/bin/gtetrinet
    3133}
     34
     35livecheck.check regex
     36livecheck.url   http://ftp.gnome.org/pub/GNOME/sources/${name}/${branch}/
     37livecheck.regex {LATEST-IS-([0-9\.]+)}