Postgresql80 version 8.0.22 - How to Download and Install on Mac OS X
Saturday the 7th of November, 2009

    postgresql80  most recent diff


    version 8.0.22

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


      The postgresql80 Portfile 57375 2009-09-10 08:16:41Z ryandesign macports.org $

      PortSystem 1.0

      Name: postgresql80
      Version: 8.0.22
      Category: databases
      Platform: darwin
      Maintainers: mww jwa
      Description: The most advanced open-source database available anywhere
      Long Description: PostgreSQL is Object-Relational Database Management System. It supports almost all SQL constructs, including transactions, subselects, and user-defined types and functions. Write-ahead logging means increased performance while retaining data integrity.

      Homepage: http://www.postgresql.org/
      Master Sites: http://ftp.de.postgresql.org/mirror/postgresql//source/v${version} postgresql:source/v${version}
      distname postgresql-${version}

      Checksums: md5 4b163fa4748e9fd9fb41de12c7259926 sha1 81bee76a2ad2ff9e4bdd4b12ac750a74bb80b5cb rmd160 379f45b48e7ab630977fc38a1cf84c939da48421

      use_bzip2 yes

      depends_lib port:readline port:openssl port:zlib
      depends_build port:bison

      set libdir ${prefix}/lib/${name}
      configure.args --sysconfdir=${prefix}/etc/${name} --bindir=${libdir}/bin --libdir=${libdir} --includedir=${prefix}/include/${name} --datadir=${prefix}/share/${name} --mandir=${prefix}/share/man --with-docdir=${prefix}/share/doc/${name} --with-includes=${prefix}/include --with-libraries=${prefix}/lib --with-openssl --with-rendezvous --with-readline --with-zlib --enable-thread-safety --enable-integer-datetimes --enable-multibyte --enable-unicode

      build.type gnu
      build.target

      test.run yes
      test.target check

      livecheck.type regex
      livecheck.url ${homepage}
      livecheck.regex (8.0.\[0-9\]+)

      set contribs "fulltextindex fuzzystrmatch pg_trgm tsearch2 vacuumlo"

      post-build {
      foreach contrib ${contribs} {
      system "cd ${worksrcpath}/contrib/${contrib}/ && ${build.cmd}"
      }
      }

      post-destroot {
      foreach contrib ${contribs} {
      system "echo contrib: \"${contrib}\""
      system "cd ${worksrcpath}/contrib/${contrib}/ && ${build.cmd} install ${destroot.destdir} && touch DONE"
      }
      system "cd ${destroot}${prefix}/bin && ln -sf ${libdir}/bin/psql psql8"
      file delete -force ${destroot}${prefix}/share/doc/${name} ${destroot}${prefix}/share/man
      }

      Variant: python description {add support for python} {
      depends_lib-append port:python25
      configure.args-append --with-python
      configure.env-append PYTHON=${prefix}/bin/python2.5
      }

      Variant: krb5 description {add support for Kerberos 5 authentication} {
      # depends_lib-append bin:kerberos:kerberos5
      configure.args-append --with-krb5
      }

      Variant: perl description {add Perl support} {
      depends_lib-append bin:perl:perl5
      configure.args-append --with-perl
      }

      post-install {
      ui_msg "\nTo use the postgresql server, install the postgresql80-server port"
      }


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

     Where to find more information:

    Darwin Ports



    Lightbox this page.