# $Id: Portfile,v 1.3 2005/05/11 15:38:06 olegb Exp $

PortSystem 1.0

name            gtetrinet
version         0.7.9
categories      games gnome
maintainers	warp-opendarwin@spin.de
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

master_sites    gnome:sources/gtetrinet/0.7/
checksums       md5 39fd47efac9727e093ad6923da5c305b

patchfiles      patch-Makefile.diff

depends_lib	lib:libgnomeui-2:libgnomeui

configure.env   CPPFLAGS="-L${prefix}/lib -I${prefix}/include" \
                CFLAGS="-flat_namespace -L${prefix}/lib"

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