# $Id$

PortSystem 1.0

name		rdesktop-devel
version		cvs
set myversion	20080225
revision	5
categories	devel
maintainers	nomaintainer
description	Windows Terminal Server Client CVS Version
long_description	This is the CVS Version of rdesktop. \
	rdesktop is an RDP client to access Microsoft Terminal Server \
	based services.

platforms	darwin freebsd
distname	rdesktop-${version}-${myversion}
homepage	http://rdesktop.sourceforge.net/
master_sites	http://svn.macports.org/repository/macports/distfiles/rdesktop-devel/
depends_lib	port:xorg-libX11 \
		path:lib/libssl.dylib:openssl \
		port:libiconv \
		port:libao

configure.args		--mandir=${prefix}/share/man \
			--with-libao=${prefix} \
			--with-openssl=${prefix} \
			--with-libiconv-prefix=${prefix}

build.target	rdesktop
checksums   	md5 da52486841f2cf5bde46212bc67d2e6d \
		sha1 42c886821c4095f4ec5992c601e773debff27fa6 \
		rmd160 05884052c39d5fe52a213a0dbe6fd4b88a49ae36
worksrcdir	rdesktop
use_autoconf	yes

variant		w2k_license_hack description {will announce the client as Windows 2000 machine} {
			patchfiles patch-licence.c
		}