Download and Install glew version 1.5.0 on Mac OS X
Wednesday the 23rd of July, 2008

    glew  most recent diff


      View the most recent changes for the glew port at: glew.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for glew.
      The raw portfile for glew 1.5.0 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
      Google
      Web Darwinports.com



      # -*- 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
      # $Id: Portfile 35117 2008-03-17 19:16:45Z jmr macports.org $

      PortSystem 1.0

      Name: glew
      Version: 1.5.0
      Category: graphics devel
      Platform: darwin
      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 3fececda0151b060c08ffd8a12892741 sha1 17fa3b2f5b72a227c5e14631c2bda3fcfd8c1663 rmd160 2fa13cd326e82fc9c043d1fcbf2c4da062723296
      worksrcdir ${name}
      use_configure no
      build.env GLEW_DEST=${prefix}
      destroot.env GLEW_DEST=${destroot}${prefix}

      # ugh, why is configure.cc not available in the build phase?
      set mycc /usr/bin/gcc-4.0
      platform darwin 8 { build.args CC=${mycc} LD=${mycc} }
      platform darwin 9 { build.args CC=${mycc} LD=${mycc} }

    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/glew
      % sudo port install glew
      Password:
    You 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:

      ---> Fetching glew
      ---> Verifying checksum for glew
      ---> Extracting glew
      ---> Configuring glew
      ---> Building glew with target all
      ---> Staging glew into destroot
      ---> Installing glew
    - 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
      % apropos glew
      % which glew
      % locate glew

     Where to find more information:

    Darwin Ports



    image test