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

    tokyocabinet  most recent diff


    version 1.4.35

      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.4.35 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


      # -*- 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
      The tokyocabinet Portfile 59528 2009-10-16 05:54:16Z stromnov macports.org $

      PortSystem 1.0

      Name: tokyocabinet
      Version: 1.4.35
      Category: databases
      Maintainers: openmaintainer kallisys.net:pguyot
      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://1978th.net/tokyocabinet/
      Master Sites: ${homepage}

      Checksums: md5 5bd47a29645282e3bdbee1b165e9bf98 sha1 3c97e96d3b304121ec0d4eaf5000bf6cc6b727e6 rmd160 6090852386c87da04d29a97d74fd0b87d8f030c7

      depends_lib port:zlib

      # To avoid linking against a previously installed version, remove the default
      # CPPFLAGS and LDFLAGS. The build scripts already add the
      # destination include and lib directories.
      configure.cppflags
      configure.ldflags

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

      test.run yes
      test.target check

      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.type regex
      livecheck.url ${homepage}
      livecheck.regex "Latest Source Package \\(version (\\d+(?:\\.\\d+)*)\\)"

    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



    Lightbox this page.