Tokyocabinet-clj version 20090505 - How to Download and Install on Mac OS X
Monday the 23rd of November, 2009

    tokyocabinet-clj  most recent diff


    version 20090505

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


      # -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
      The tokyocabinet-clj Portfile 55062 2009-08-06 13:23:51Z snc macports.org $

      PortSystem 1.0

      Name: tokyocabinet-clj
      Version: 20090505
      Category: databases java
      Maintainers: ime
      Description: Java API for Tokyo Cabinet, a modern DBM
      Long Description: Clojure is a dynamic programming language for the JVM.

      Homepage: http://github.com/jmtulloss/tokyo-cabinet-clj/tree/master
      Platform: darwin
      depends_build port:tokyocabinet port:tokyocabinet-java

      fetch.type git
      git.url git://github.com/jmtulloss/tokyo-cabinet-clj.git
      git.branch cfab6104b9f3635f97968fda526218c8a706954d

      Variant: universal {}

      ## configure ##
      use_configure no

      ## build ##
      build.cmd ant
      build.target jar

      destroot {
      set javadir ${destroot}${prefix}/share/java
      set clojuredir ${javadir}/clojure/lib
      set jarfile tokyo-cabinet.jar
      set destfile ${clojuredir}/${jarfile}

      xinstall -m 0755 -d ${javadir}
      xinstall -m 0755 -d ${clojuredir}
      xinstall -m 0644 -W ${worksrcpath} ${jarfile} ${destfile}
      }

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.