# $Id: Portfile 50572 2009-05-04 19:19:09Z jeremyhu@macports.org $

PortSystem		1.0
name			SoXt
version			1.2.2
revision                2
description		Xt/Motif glue library for Coin
long_description	SoXt provides the programmer with a high-level \
	application programmer's interface (API) in C++. The library   \
	primarily includes a class-hierarchy of viewer components of   \
	varying functionality and complexity, with various modes for   \
	the end-user to control the 3D-scene camera interaction.

categories		x11 graphics devel
homepage		http://www.coin3d.org/lib/soxt/
platforms		darwin
maintainers		css
master_sites		http://ftp.coin3d.org/coin/src/all/
checksums		md5 25f7d18998e6cc1403e0f3ae0c235500

depends_build \
	port:doxygen

depends_lib \
	port:mesa \
	port:xorg-libXi \
	port:xorg-libXmu \
	port:xorg-libXp \
	port:xpm \
	lib:libXm:openmotif \
	port:Coin

configure.args		--enable-man --mandir=${prefix}/share/man \
			--with-coin=${prefix} \
			--x-include=${prefix}/include --x-lib=${prefix}/lib

platform darwin {
	configure.args-append	--enable-darwin-x11
}
