# $Id: Portfile 30826 2007-11-08 00:26:35Z mww@macports.org $

PortSystem 1.0

name			xdialog
version			2.3.1
categories		x11
platforms		darwin
maintainers		mww
description		X11 drop in replacement for dialog or cdialog
long_description	Xdialog is designed to be a drop in replacement for the \
				dialog or cdialog programs. It converts any terminal based \
				program into a program with an X-windows interface.

homepage		http://xdialog.dyns.net/
master_sites		http://xdialog.free.fr/
distname		Xdialog-${version}
checksums		sha1 292c552506633c54a28d51aa290277b7b5c0c708
use_bzip2		yes

depends_lib		port:gtk2 port:libiconv

configure.cflags-append	"-no-cpp-precomp -flat_namespace -undefined suppress"
configure.args		--mandir=${prefix}/share/man \
			--with-gtk2 \
			--with-libiconv-prefix=${prefix}

