# $Id: Portfile,v 1.4 2006/05/27 21:15:48 markd Exp $
PortSystem 1.0
name		mowitz
version		0.3.0
revision	1
description	Library of widgets for X applications to use.
long_description   	Library of widgets for X applications to use. \
			The widgets have been snarfed from various \
			sources and are all open source (GPL or MIT licenses).
maintainers	darwinports@opendarwin.org
categories	x11
platforms	darwin 
homepage	http://siag.nu/mowitz/
master_sites    ${homepage}/pub/mowitz/
checksums	md5 447ea53a67eb4356438e80494e550a3b
distname	Mowitz-${version}
depends_lib	lib:libneXtaw:neXtaw
configure.env   CPPFLAGS="-no-cpp-precomp -L${prefix}/lib -I${prefix}/include" \
                CFLAGS="-no-cpp-precomp" LDFLAGS="-L${prefix}/lib"

platform darwin 7 {
        depends_lib-append port:Xaw3d
        configure.args-append --with-xaw3d=Xaw3d
        configure.env-append LDFLAGS="-L/usr/X11R6/lib -lX11 -lXt -lXpm -lXext -lXmu -lXaw3d"
}
