Download and Install lcrypto version 1.28 on Mac OS X
Friday the 25th of July, 2008

    lcrypto  most recent diff


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



      # $Id: Portfile 30233 2007-10-22 23:09:00Z jmpp macports.org $

      PortSystem 1.0

      Name: lcrypto
      Version: 1.28
      Category: java crypto
      Platform: darwin
      Maintainers: nomaintainer
      Description: Java cryptographic library
      Long Description: The Bouncy Castle Crypto package is a Java implementation of cryptographic algorithms.

      Homepage: http://lcrypto.sourceforge.net/
      master_sites http://www.bouncycastle.org/download/
      distname lcrypto-jdk14-128
      checksums md5 ce2fd4c5e28972bdaaed351bc5d7ece5

      depends_build port:jikes port:junit bin:jar:fastjar
      depends_lib port:gnu-classpath

      set buildpath ${workpath}/build

      post-extract {
      file mkdir ${buildpath}
      }

      use_configure no

      build.dir ${worksrcpath}/src
      build.cmd "/usr/bin/find org -name \\*.java -exec ${prefix}/bin/jikes -d ${buildpath} \{\} \\;"
      build.env BOOTCLASSPATH=${prefix}/share/java/glibj.jar CLASSPATH=${prefix}/share/java/junit.jar:.
      build.target

      post-build {
      system "jar cvf ${worksrcpath}/lcrypto.jar -C ${buildpath} ."
      }

      test.run yes
      test.cmd java org.bouncycastle.crypto.test.RegressionTest
      test.env CLASSPATH=${prefix}/share/java/gnumail.jar:${worksrcpath}/lcrypto.jar
      test.target

      destroot {
      xinstall -m 755 -d ${destroot}${prefix}/share/java/
      xinstall -m 644 ${worksrcpath}/lcrypto.jar ${destroot}${prefix}/share/java/
      }

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

     Where to find more information:

    Darwin Ports



    image test