# $Id $

PortSystem 1.0
name		lesstif
version		0.94.4
categories	x11
maintainers	lomion@mac.com
description 	An Open Source implementation of OSF/Motif.
long_description This is an independent implementation of the Motif widget set, originally developed by the Hungry Programmers.  It has been somewhat superceded by the openMotif toolkit now that the OSF has open-sourced the original reference bits.
platforms	darwin
#master_sites	ftp://ftp.rge.com/pub/X/lesstif/srcdist/
master_sites	sourceforge
checksums	md5 3096ca456c0bc299d895974d307c82d8
use_bzip2	yes
depends_lib	lib:libX11.6:XFree86
prefix		${x11prefix}
configure.args	--enable-production

variant motif12	{ configure.args-append --enable-build-12 }
variant motif20	{ configure.args-append --enable-build-20 }
variant xdnd	{ configure.args-append --enable-xdnd }

post-destroot	{
		system "rm -rf ${destroot}${prefix}/lib/X11/app-defaults"
		system "rm -rf ${destroot}${prefix}/lib/X11/config/host.def"
}
