logtalk version 2.31.3 for Mac OS X 10.5 Leopard
Saturday the 17th of May, 2008

    logtalk  most recent diff


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



      # $Id: Portfile 33909 2008-02-07 06:21:38Z ryandesign macports.org $

      PortSystem 1.0
      Name: logtalk
      Version: 2.31.3

      Category: lang
      Maintainers: pmoura logtalk.org
      Platform: darwin freebsd linux
      Description: Logtalk - Open source object-oriented logic programming language

      Long Description: Logtalk is an open source object-oriented logic programming language that can use most Prolog implementations as a back-end compiler. As a multi-paradigm language, Logtalk includes support for both prototypes and classes, protocols, component-based programming through category-based composition, event-driven programming, and multi-threading programming.

      Homepage: http://logtalk.org/
      master_sites ${homepage}files/

      checksums md5 6bf6070b5c5ef6b082eadc05d98f7f94

      distname lgt[strsed ${version} {g/\.//}]

      use_bzip2 yes

      use_configure no

      build {}

      universal_variant no

      destroot {
      system "cd ${worksrcpath}/scripts && ./install.sh ${destroot}${prefix}"
      }

      post-pkg {
      set resources ${workpath}/${name}-${version}.pkg/Contents/Resources/
      file copy -force -- ${workpath}/${worksrcdir}/scripts/macosx/License.html ${resources}
      file copy -force -- ${workpath}/${worksrcdir}/scripts/macosx/ReadMe.html ${resources}
      file copy -force -- ${workpath}/${worksrcdir}/scripts/macosx/Welcome.html ${resources}
      file copy -force -- ${workpath}/${worksrcdir}/scripts/macosx/postflight ${resources}
      }

      post-activate {
      ui_msg "****************************************************************************"
      ui_msg "* Integration scripts have been created for running Logtalk with selected"
      ui_msg "* back-end Prolog compilers (which must be properly installed for running"
      ui_msg "* the scripts!):"
      ui_msg "*"
      ui_msg "* B-Prolog (version 7.0 or later): bplgt (first run must use sudo)"
      ui_msg "* CIAO (version 1.10#5 or later): ciaolgt (first run must use sudo)"
      ui_msg "* CxProlog (version 0.96.1 or later): cxlgt"
      ui_msg "* ECLiPSe (version 5.10#26 or later): eclipselgt"
      ui_msg "* GNU Prolog (version 1.2.16 or later): gplgt"
      ui_msg "* K-Prolog (version 5.1.2a or later): plclgt"
      ui_msg "* Qu-Prolog (version 8.1 or later): qplgt"
      ui_msg "* Quintus Prolog (version 3.5): quintuslgt"
      ui_msg "* SICStus Prolog (versions 3.12.x, 4.0.x): sicstuslgt"
      ui_msg "* SWI-Prolog (version 5.6.16 or later): swilgt"
      ui_msg "* XSB (version 3.1 or later): xsblgt (first run must use sudo)"
      ui_msg "* XSB MT (CVS version): xsbmtlgt (first run must use sudo)"
      ui_msg "* YAP (version 5.1.2 or later): yaplgt"
      ui_msg "*"
      ui_msg "* Remember to set the environment variable LOGTALKHOME to the path to"
      ui_msg "* the Logtalk distribution: ${prefix}/share/logtalk"
      ui_msg "* and the environment variable LOGTALKUSER to your local configuration"
      ui_msg "* directory (usually ~/logtalk), which you must create by running the"
      ui_msg "* command cplgtdirs. See the file \$LOGTALKHOME/CUSTOMIZE.txt for details"
      ui_msg "* on how to customize your working environment."
      ui_msg "****************************************************************************"
      }

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

     Where to find more information:

    Darwin Ports



    image test