Openpgpsdk version 0.9 - How to Download and Install on Mac OS X
Sunday the 22nd of November, 2009

    openpgpsdk  most recent diff


    version 0.9

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


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

      PortSystem 1.0
      Name: openpgpsdk
      Version: 0.9
      Category: security devel
      Maintainers: blb openmaintainer
      Description: OpenPGP library SDK
      Long Description: The OpenPGP SDK project provides an open source library, written in C, which implements the OpenPGP specification.

      Platform: darwin

      Homepage: http://openpgp.nominet.org.uk/
      Master Sites: ${homepage}downloads/
      extract.suffix .tgz

      Checksums: md5 a2fe87ee864e6bcc0d5ea3db20e0f57a sha1 faa2eb844da0f1689dee29c3220364545ca7746b rmd160 9260e464f8f9b385d0cc8348d20e1c264856cee3

      depends_build bin:perl:perl5

      depends_lib port:openssl port:bzip2 port:zlib port:cunit

      universal_variant no

      configure.pre_args
      configure.args --with-bz2lib=${prefix}/lib --with-cunit=${prefix} --with-openssl=${prefix} --with-zlib=${prefix}/lib --cc=${configure.cc}

      test.run yes

      destroot {
      copy ${worksrcpath}/include/${name} ${destroot}${prefix}/include
      xinstall -m 644 -W ${worksrcpath}/lib libops.a ${destroot}${prefix}/lib
      xinstall -m 755 -W ${worksrcpath}/bin openpgp ${destroot}${prefix}/bin
      }

      Variant: doc description {Install doxygen-generated documentation} {
      depends_build-append port:doxygen
      build.target-append doc
      post-destroot {
      xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
      # Using foreach instead of copy due to the number of files
      foreach htmlfile [glob ${worksrcpath}/doc/doxy-user/html/*] {
      xinstall -m 644 ${htmlfile} ${destroot}${prefix}/share/doc/${name}
      }
      foreach manpage [glob ${worksrcpath}/doc/doxy-user/man/man3/*] {
      xinstall -m 644 ${manpage} ${destroot}${prefix}/share/man/man3/
      }
      }
      }

      livecheck.type none


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

     Where to find more information:

    Darwin Ports



    Lightbox this page.