[44639] trunk/dports/x11
css at macports.org
css at macports.org
Thu Jan 1 09:59:47 PST 2009
Revision: 44639
http://trac.macports.org/changeset/44639
Author: css at macports.org
Date: 2009-01-01 09:59:46 -0800 (Thu, 01 Jan 2009)
Log Message:
-----------
New Portfile for the Mesa 7.2 OpenGL widget library. It's provided as a separate port since it's not normally part of Mesa, it requires Motif, and it needs to be available as a dependency for the inventor port. see #17569
Added Paths:
-----------
trunk/dports/x11/glw/
trunk/dports/x11/glw/Portfile
Added: trunk/dports/x11/glw/Portfile
===================================================================
--- trunk/dports/x11/glw/Portfile (rev 0)
+++ trunk/dports/x11/glw/Portfile 2009-01-01 17:59:46 UTC (rev 44639)
@@ -0,0 +1,41 @@
+# $Id$
+
+PortSystem 1.0
+
+name glw
+version 7.2
+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 lib:libSM.6:xorg-libsm \
+ lib:libXm.4:openmotif
+
+post-extract { file mkdir "${worksrcpath}/lib" }
+
+configure.args-append --enable-motif
+
+worksrcdir Mesa-${version}
+build.cmd cd "${worksrcpath}/src/glw" && make
+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
+ }
+}
Property changes on: trunk/dports/x11/glw/Portfile
___________________________________________________________________
Added: svn:keywords
+ id
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090101/f6930661/attachment.html>
More information about the macports-changes
mailing list