Gnustep-base version 1.19.1 - How to Download and Install on Mac OS X
Saturday the 7th of November, 2009

    gnustep-base  most recent diff


    version 1.19.1

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


      The gnustep-base Portfile 57750 2009-09-16 04:33:35Z ryandesign macports.org $

      PortSystem 1.0
      PortGroup gnustep 1.0

      Name: gnustep-base
      Version: 1.19.1
      Platform: darwin
      Maintainers: nomaintainer

      Description: A library of general-purpose Objective C objects.
      Long Description: The GNUstep Base Library is a library of general-purpose, non-graphical Objective C objects. For example, it includes classes for strings, object collections, byte streams, typed coders, invocations, notifications, notification dispatchers, moments in time, network ports, remote object messaging support (distributed objects), and event loops. It provides functionality that aims to implement the non-graphical portion of the OpenStep standard (the Foundation library).

      Checksums: md5 100e433a7e0624a6e4e5727b87e48c82 sha1 98d1881b44f412432547abd7504ad654dc9f711f rmd160 056e1d1a40479eddf6cd93b452897896e869733e

      depends_lib port:gnustep-make port:libxslt port:openssl

      destroot.violate_mtree yes

      universal_variant no

      use_configure yes
      configure.env-append LIBOBJC=-lobjc-gnu
      configure.args-append --disable-tls

      destroot.keepdirs ${destroot}${prefix}/var/run

      pre-extract {
      if { [variant_isset with_docs] &&
      [catch {set ilist [registry_installed ${name}]} result ]
      } then {
      return -code error "

      gnustep-base documentation depends on gnustep-base ...
      You must install gnustep-base before trying to install gnustep-base +with_docs
      "
      }
      }

      post-patch {
      reinplace "s|CODING-STANDARDS|GS-CODING-STANDARDS|g" ${worksrcpath}/Documentation/GNUmakefile
      }

      startupitem.create yes
      startupitem.name gdomap
      set my_pid ${prefix}/var/run/gdomap.pid
      startupitem.start "GNUSTEP_SYSTEM_ROOT=${prefix}/GNUstep/System" "\[ -f \$GNUSTEP_SYSTEM_ROOT/Tools/gdomap \] && \\" "rm -f ${my_pid} && \\" "\$GNUSTEP_SYSTEM_ROOT/Tools/gdomap -p -I ${my_pid}"
      startupitem.stop "\[ -r ${prefix}/var/run/gdomap.pid \] && \\" "kill -9 `cat ${my_pid}` && \\" "rm -f ${my_pid}"


      if { ![variant_isset ffcall] } {
      default_variants +ffi
      }

      Variant: ffi description conflicts ffcall description {Build with ffi} {
      depends_lib-append port:libffi
      configure.args-append --enable-libffi --with-ffi-include=${prefix}/include/gcc42 --with-ffi-library=${prefix}/lib/gcc42
      }

      Variant: ffcall conflicts ffi description {Build with ffcall} {
      depends_lib-append port:ffcall
      configure.args-append --enable-ffcall
      }

      platform darwin {
      patchfiles-append patch-SSL-GNUMakefile.diff

      post-destroot {
      set system_dir ${destroot}${prefix}/GNUstep/Local
      move ${system_dir}/Tools/defaults ${system_dir}/Tools/gdefaults
      move ${system_dir}/Library/Documentation/man/man1/defaults.1.gz ${system_dir}/Library/Documentation/man/man1/gdefaults.1.gz
      }
      post-install {
      ui_msg "
      **** GNUstep 'defaults' tool is renamed 'gdefaults' to avoid overriding Apple's defaults tool. *****
      "
      }
      }

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.