# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $ PortSystem 1.0 name lesstif version 0.95.0 revision 3 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 ab895165c149d7f95843c7584b1c7ad4 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" }