Povray version 3.6.1 - How to Download and Install on Mac OS X
Friday the 3rd of September, 2010

    version 3.6.1

      View the most recent changes for the povray port at: povray.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for povray.
      The raw portfile for povray 3.6.1 is located here:
      http://povray.darwinports.com/dports/graphics/povray/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/povray


      The povray Portfile 58302 2009-09-25 16:35:39Z jmr macports.org $

      PortSystem 1.0

      Name: povray
      Version: 3.6.1
      Revision: 2
      Maintainers: nomaintainer
      Category: graphics
      Platform: darwin
      Description: Persistence Of Vision RAYtracer
      Long Description: POVRAY is a 'free' and popular Ray Tracer available for many platforms (including UNIX). This is a port of the UNIX version, not the graphical Mac OS X version.
      Homepage: http://www.povray.org/
      Master Sites: ${homepage}ftp/pub/povray/Official/Unix/ ftp://ftp.povray.org/pub/povray/Official/Unix/
      Checksums: md5 b5789bb7eeaed0809c5c82d0efda571d sha1 1fab3ccbdedafbf77e3a66087709bbdf60bc643d
      use_bzip2 yes

      depends_build port:pkgconfig

      depends_lib port:xorg-libsm port:xpm port:libpng port:jpeg port:zlib port:tiff

      Patch Files: patch-configure patch-source_png_pov.cpp

      # uses its own cflags in addition to the ones we pass anyway
      configure.optflags
      configure.args --includedir=${prefix}/include --mandir=${prefix}/share/man COMPILED_BY="MacPorts"

      set branch [join [lrange [split ${version} .] 0 1] .]
      post-destroot {
      foreach f {povray.conf povray.ini} {
      move ${destroot}${prefix}/etc/povray/${branch}/${f} ${destroot}${prefix}/etc/povray/${branch}/${f}.sample
      }
      }
      post-activate {
      foreach f {povray.conf povray.ini} {
      if {![file exists ${prefix}/etc/povray/${branch}/${f}]} {
      copy ${prefix}/etc/povray/${branch}/${f}.sample ${prefix}/etc/povray/${branch}/${f}
      }
      }
      }

      test.run yes
      test.target check

      platform darwin {
      if {![variant_isset universal]} {
      configure.args-append --build=${build_arch}-apple-darwin${os.major}
      }
      }

      livecheck.type regex
      livecheck.url ${homepage}ftp/pub/povray/Official/Unix/
      livecheck.regex {CURRENT-VERSION-IS-([0-9.]+)}

    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/povray
      % sudo port install povray
      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 povray
      ---> Verifying checksum for povray
      ---> Extracting povray
      ---> Configuring povray
      ---> Building povray with target all
      ---> Staging povray into destroot
      ---> Installing povray
    - 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 povray with these commands:
      %  man povray
      % apropos povray
      % which povray
      % locate povray

     Where to find more information:

    Darwin Ports



    Lightbox this page.