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

    tokyocabinet-java  most recent diff


    version 1.18

      View the most recent changes for the tokyocabinet-java port at: tokyocabinet-java.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for tokyocabinet-java.
      The raw portfile for tokyocabinet-java 1.18 is located here:
      http://tokyocabinet-java.darwinports.com/dports/databases/tokyocabinet-java/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-java


      # -*- 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-java Portfile 55061 2009-08-06 13:22:08Z snc macports.org $

      PortSystem 1.0

      Name: tokyocabinet-java
      Version: 1.18
      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://tokyocabinet.sourceforge.net/
      Platform: darwin
      depends_build port:tokyocabinet
      Master Sites: sourceforge:tokyocabinet

      Checksums: md5 b87d892620df55e1088b6b8e22d87ad5 sha1 d7e98944fbdc0753477c0d430a056de2fac07695 rmd160 f354be0d0929860062812278f5f178aae64d2a36

      set javahome /System/Library/Frameworks/JavaVM.framework


      ## patch ##
      patch.args -p1
      Patch Files: patch-Makefile.in.diff

      ## configure ##
      configure.env MYJAVAHOME=${javahome} CFLAGS="-I${prefix}/include -I${javahome}/Headers" LDFLAGS=-L${prefix}/lib INCLUDEDIR=${javahome}/Headers

      ## build ##
      build.env CFLAGS="-I${prefix}/include -I${javahome}/Headers" LDFLAGS=-L${prefix}/lib

      post-destroot {
      set jarfile tokyocabinet.jar
      set javadir ${destroot}${prefix}/share/java
      set dest ${javadir}/${jarfile}

      xinstall -m 0755 -d ${javadir}
      file rename ${destroot}/${prefix}/lib/${jarfile} ${dest}
      }

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.