# $Id$ PortSystem 1.0 name glw version 7.2 revision 1 categories x11 devel graphics maintainers css description Mesa OpenGL widget library homepage http://www.mesa3d.org/ platforms darwin long_description SGI Xt/Motif OpenGL widget library master_sites sourceforge:mesa3d distname MesaLib-${version} use_bzip2 yes use_autoconf yes checksums md5 04d379292e023df0b0266825cb0dbde5 \ sha1 a6dce814cc56a562890ab79cf4e205f62459a29c \ rmd160 1e7c2cc6aa27ebaf7e726ac2086c10a5155d0832 universal_variant no depends_lib port:xorg-libsm \ port:mesa \ lib:libXm:openmotif post-extract { file mkdir "${worksrcpath}/lib" } configure.args-append --enable-motif worksrcdir Mesa-${version} build.dir ${worksrcpath}/src/glw build.target variant darwin { post-configure { reinplace "s|\.so$|\.dylib|g" ${worksrcpath}/configs/current reinplace "s|\$(GLW_LIB_NAME)\\*|libGLw.\*dylib|g" ${worksrcpath}/configs/default } }