Download and Install tokyocabinet version 1.2.8 on Mac OS X
Wednesday the 23rd of July, 2008

    tokyocabinet  most recent diff


      View the most recent changes for the tokyocabinet port at: tokyocabinet.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for tokyocabinet.
      The raw portfile for tokyocabinet 1.2.8 is located here:
      http://tokyocabinet.darwinports.com/dports/databases/tokyocabinet/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
      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 37790 2008-06-23 14:42:44Z brett macports.org $

      PortSystem 1.0

      Name: tokyocabinet
      Version: 1.2.8
      Category: databases
      Maintainers: openmaintainer gmail.com:rsky0711
      Platform: darwin
      Description: Tokyo Cabinet is a library of routines for managing a database.
      Long Description: Tokyo Cabinet is a library of routines for managing a database. The database is a simple data file containing records, each is a pair of a key and a value. Every key and value is serial bytes with variable length. Both binary data and character string can be used as a key and a value. There is neither concept of data tables nor data types. Records are organized in hash table or B+ tree.
      Homepage: http://tokyocabinet.sourceforge.net/
      master_sites ${homepage} sourceforge:${name}
      checksums md5 7e565820cca7215ba609b9c43017c9c2 sha1 4d38d5b716327594b00d479115aaff2859b7f5b9 rmd160 62895027ccb9492ed84976cdbe3b178c0e635990

      depends_lib port:zlib

      configure.args --mandir=${prefix}/share/man --datadir=${prefix}/share/doc

      post-patch {
      # configure
      reinplace "s|\$HOME|\${prefix}|g" ${worksrcpath}/configure
      # Makefile.in
      reinplace "s|\$(HOME)|\$(prefix)|g" ${worksrcpath}/Makefile.in
      }

      test.run yes
      test.target check

      #default_variants +fastest

      Variant: debug conflicts devel profile fastest description {build for debugging} {
      configure.args-append --enable-debug
      }

      Variant: devel conflicts debug profile fastest description {build for development} {
      configure.args-append --enable-devel
      }

      Variant: profile conflicts debug devel fastest description {build for profiling} {
      configure.args-append --enable-profile
      }

      Variant: fastest conflicts debug devel profile description {build for fastest run} {
      configure.args-append --enable-fastest
      }

      Variant: off64 description {build with 64-bit file offset on 32-bit system} {
      configure.args-append --enable-off64
      }

      Variant: swap description {build for swapping byte-orders} {
      configure.args-append --enable-swap
      }

      livecheck.check sourceforge

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

     Where to find more information:

    Darwin Ports



    image test