Download and Install spidermonkey version 1.7.0 on Mac OS X
Tuesday the 2nd of December, 2008

    spidermonkey  most recent diff


    version 1.7.0

      View the most recent changes for the spidermonkey port at: spidermonkey.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for spidermonkey.
      The raw portfile for spidermonkey 1.7.0 is located here:
      http://spidermonkey.darwinports.com/dports/lang/spidermonkey/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/spidermonkey
      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 40225 2008-09-26 10:01:08Z ryandesign macports.org $

      PortSystem 1.0

      Name: spidermonkey
      Version: 1.7.0
      epoch 1
      Category: lang
      Platform: darwin
      Maintainers: akira openmaintainer
      Description: JavaScript-C Engine
      Long Description: ${description}

      Homepage: http://www.mozilla.org/js/spidermonkey/
      master_sites http://ftp.mozilla.org/pub/mozilla.org/js/ ftp://ftp.mozilla.org/pub/mozilla.org/js/ http://ftp.mozilla.org/pub/mozilla.org/js/older-packages/ ftp://ftp.mozilla.org/pub/mozilla.org/js/older-packages/
      distname js-${version}
      checksums md5 5571134c3863686b623ebe4e6b1f6fe6 sha1 1a99e8e10cb6600a03ea98895583a8ed42136d1f rmd160 6eadf1ac7c10a13b3db3d499856c9e18ddbcdfdb

      depends_build port:readline port:nspr
      worksrcdir js/src

      patchfiles spidermonkey-1.5-build.patch spidermonkey-1.5-threadsafe.diff spidermonkey-1.5-header.diff patch-config-Darwin.mk

      post-patch {
      reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/Makefile.ref
      reinplace "s|__USER__|${install.user}|g" ${worksrcpath}/Makefile.ref
      reinplace "s|__GROUP__|${install.group}|g" ${worksrcpath}/Makefile.ref
      }

      use_configure no

      use_parallel_build no

      build.args -f Makefile.ref LIBDIR="/lib" SO_SUFFIX=dylib JS_THREADSAFE=1

      Variant: fileobject description {add File object support} {
      build.args-append JS_HAS_FILE_OBJECT=1
      }

      post-build {
      system "ranlib ${worksrcpath}/Darwin_OPT.OBJ/libjs.a"
      }

      destroot.args -f Makefile.ref LIBDIR="/lib" SO_SUFFIX=dylib

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.