# $Id: Portfile 54398 2009-07-26 18:51:29Z toby@macports.org $ PortSystem 1.0 name lesstif version 0.95.2 categories x11 maintainers mac.com:lomion 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 homepage http://www.lesstif.org master_sites sourceforge checksums md5 754187dbac09fcf5d18296437e72a32f \ sha1 b894e544d529a235a6a665d48ca94a465f44a4e5 \ rmd160 643fd81b70b6e8617803ddc4350272ca89b4a71f use_bzip2 yes configure.args --enable-production --without-freetype-includes use_parallel_build yes depends_build \ port:autoconf \ port:automake \ port:libtool depends_lib \ port:xorg-libice \ port:xorg-libsm \ port:xorg-libX11 \ port:xorg-libXau \ port:xorg-libXdmcp \ port:xorg-libXext \ port:xorg-libXp \ port:xorg-libXt variant motif12 { configure.args-append --enable-build-12 } variant motif20 { configure.args-append --enable-build-20 } variant xdnd { configure.args-append --enable-xdnd } post-patch { system "touch ${worksrcpath}/test/{NEWS,README,AUTHORS,ChangeLog,COPYING}" # See #18287 reinplace "s:LT_HAVE_FREETYPE:FINDXFT_HAVE_FREETYPE:g" ${worksrcpath}/acinclude.m4 reinplace "s:LT_HAVE_XRENDER:FINDXFT_HAVE_XRENDER:g" ${worksrcpath}/acinclude.m4 } use_autoreconf yes autoreconf.args -fvi autoreconf.env ACLOCAL="aclocal -I${worksrcpath}" AUTOCONF="autoconf -I${worksrcpath}" post-destroot { system "rm -rf ${destroot}${prefix}/lib/X11/app-defaults" system "rm -rf ${destroot}${prefix}/lib/X11/config/host.def" }