PortSystem 1.0

name		tsclient
version		0.150
revision        1
description	A GTK+ frontend for rdesktop and other remote desktop tools.
long_description        ${description}
maintainers	nomaintainer
categories	net gnome
license		GPL-2
platforms	darwin
homepage	http://sourceforge.net/projects/tsclient/
master_sites    sourceforge

checksums       md5     1dc95fbdbcf4344d05114e1f43bf32ea \
                sha1    75e061ba365a826c1b88623cedf33736578c8a3c \
                rmd160  b4263f667bdf6c4d1f4d5b10ccb77b3a1c356252

depends_build   port:pkgconfig \
                port:intltool

depends_lib	port:desktop-file-utils \
		port:gtk2 \
		port:shared-mime-info

depends_run     path:bin/rdesktop:rdesktop \
                path:bin/vncviewer:vnc

patchfiles      patch-configure.diff

       		configure.args-append --disable-gnome

post-activate {
    system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
    system "${prefix}/bin/update-mime-database ${prefix}/share/mime"
}