|
|||||||||
Sunday the 22nd of November, 2009 |
|||||||||
glew most recent diffversion 1.5.1
Scroll down toward the bottom of the page to get installation instructions for glew. The raw portfile for glew 1.5.1 is located here: http://glew.darwinports.com/dports/graphics/glew/Portfile Find related portfiles with the unique DarwinPorts.com search feature. Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/glew # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 The glew Portfile 57460 2009-09-11 11:45:20Z jmr PortSystem 1.0 Name: glew Version: 1.5.1 Revision: 2 Category: graphics devel Platform: darwin license GPLv2+/BSD/MIT Maintainers: jmr openmaintainer Description: OpenGL Extension Wrangler Library Long Description: The OpenGL Extension Wrangler Library (GLEW) is a cross-platform C/C++ extension loading library. GLEW provides efficient run-time mechanisms for determining which OpenGL extensions are supported on the target platform. OpenGL core and extension functionality is exposed in a single header file. Homepage: http://glew.sourceforge.net Master Sites: sourceforge distfiles ${distname}-src.tgz Checksums: md5 759a59853dfaae4d007b414a3c1712f2 sha1 a94113169d46487ccda1bb2fde68fa1803bdf009 rmd160 920fdff559976492a2e6acf93d3b02e8286f6b7b worksrcdir ${name} use_configure no build.env GLEW_DEST=${prefix} build.args CC=${configure.cc} LD=${configure.cc} destroot.env GLEW_DEST=${destroot}${prefix} Patch Files: darwin-glx.patch pre-patch { # CRLF line endings confuse patch and sh reinplace "s|\r||" ${worksrcpath}/config/config.guess ${worksrcpath}/Makefile reinplace "s:/usr/X11R6:${prefix}:g" ${worksrcpath}/config/Makefile.darwin } Variant: universal { patchfiles patch-Makefile.diff build.args-append CFLAGS.EXTRA="${configure.universal_cflags}" LDFLAGS.EXTRA="${configure.universal_ldflags}" } Variant: x11 description {Build libGLEW for GLX rather than OpenGL.framework} { depends_lib-append port:mesa build.args-append GLEW_APPLE_GLX=1 destroot.args-append GLEW_APPLE_GLX=1 } If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page. Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:
% cd /opt/local/bin/portslocation/dports/glewYou will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to: Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using glew with these commands: % man glew Where to find more information:
|
![]() |
![]()
Order Snow Leopard MacOSX 10.6 for only $29!
Other Helpful SitesMacOSForgeDebian Packages MacPorts - SVN Freshports - FreeBSD Fink Package List RPM for MacOSX Port Categories
accounting
amusements aqua archivers audio benchmarks biology blinkenlights cad chat chinese comms compression cross crypto databases devel editors education electronics emacs emulators erlang finance fonts framework fuse games genealogy gis gnome gnustep graphics gtk haskell iphone irc japanese java kde kde4 lang macports math mercurial ml mono multimedia net network news ocaml office palm parallel perl php pim project python reporting rox ruby russian scheme science security shells spelling squeak sysutils tcl tex textproc tk unicode vnc win32 wsn www x11 x11-font x11-wm xfce zope
Current SVN DownloadsDarwin Ports Current :nightly SVN snapshot SSH Key Gen See also: GNU-Darwin Ports for GNU-only software |
|||||||
| |




