PortSystem 1.0

name            gtetrinet
version         0.7.11
revision        1
set branch      [join [lrange [split ${version} .] 0 1] .]
categories      games gnome
maintainers	spin.de:warp-opendarwin
description     A GNOME based tetrinet client
long_description \
        GTetrinet is a client program for the popular Tetrinet game, \
        a multiplayer tetris game that is played over the internet. \
        (If you don't know what Tetrinet is, check out tetrinet.org)

homepage        http://gtetrinet.sourceforge.net/
platforms	darwin

use_bzip2       yes
master_sites    gnome:sources/${name}/${branch}/
checksums       md5 7d113e49506e44b836ce6f259fd3ad88 \
                sha1 e39f5b072d290f48f6460451d114db9ab18f7f6a \
                rmd160 fbc3a17a49afcce3f66a16b736af9c3102090b04

depends_build	port:intltool port:pkgconfig
depends_lib	port:libgnomeui

configure.cppflags-append "-L${prefix}/lib"
configure.cflags-append -L${prefix}/lib

post-destroot	{
	file rename ${destroot}${prefix}/games/gtetrinet \
	${destroot}${prefix}/bin/gtetrinet
}

livecheck.type  gnome-with-unstable
