Tcl-sqlite3 version 3.6.18 - How to Download and Install on Mac OS X
Monday the 23rd of November, 2009

    tcl-sqlite3  most recent diff


    version 3.6.18

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


      The tcl-sqlite3 Portfile 58676 2009-10-02 18:35:27Z mww macports.org $

      PortSystem 1.0

      Name: tcl-sqlite3
      Version: 3.6.18
      Category: databases
      Platform: darwin
      Maintainers: mww
      Description: Tcl bindings for SQLite3
      Long Description: ${description}. SQLite3 is an SQL database engine in a C library. Programs that link the SQLite3 library can have SQL database access without running a separate RDBMS process. The distribution comes with a standalone command-line access program (sqlite3) that can be used to administer an SQLite3 database and which serves as an example of how to use the SQLite3 library.

      Homepage: http://www.sqlite.org/
      Master Sites: ${homepage}
      distname sqlite-${version}
      dist_subdir sqlite3/${version}
      Checksums: md5 54fa7782a56edf0bf6016a2548b86c4c sha1 0200f366657b00396bdc45ebd5b9ab6891ff825e rmd160 6894127ae650cf9745709338b57754681c0863cd

      depends_lib port:readline port:sqlite3 port:tcl

      post-patch {
      reinplace "s|tclsh8.4|tclsh|g" ${worksrcpath}/configure
      }

      # '-lm' makes freebsd happy & darwin not angry (and makes variants unnecessary)
      configure.args --enable-threadsafe --with-tcl=${prefix}/lib --with-readline-inc="-I${prefix}/include" --with-readline-lib="-L${prefix}/lib -lreadline -lm"
      configure.cppflags "-DSQLITE_ENABLE_COLUMN_METADATA=1 -I${worksrcpath} -I${prefix}/include"

      configure.awk "${prefix}/bin/gawk"

      use_parallel_build yes
      build.type gnu

      livecheck.type regex
      livecheck.url http://www.sqlite.org/download.html
      livecheck.regex sqlite-(\[0-9\\.\]+\[0-9\])\\.

      post-destroot {
      # Make sure the correct version is used, not sure why this is
      # necessary.
      reinplace "s|3.6|${version}|g" ${destroot}${prefix}/lib/tcl8.5/sqlite3/pkgIndex.tcl
      # Delete all normal SQLite 3 files, they are installed by the sqlite3
      # port.
      file delete -force ${destroot}${prefix}/bin
      file delete -force ${destroot}${prefix}/include
      file delete -force ${destroot}${prefix}/share
      file delete -force ${destroot}${prefix}/lib/pkgconfig
      foreach file [glob ${destroot}${prefix}/lib/libsqlite*] {
      file delete $file
      }
      }

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.