ntl version 5.4 for Mac OS X 10.5 Leopard
Friday the 16th of May, 2008

    ntl  most recent diff


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



      # $Id: Portfile 28510 2007-09-02 21:18:39Z mww macports.org $

      PortSystem 1.0
      Name: ntl
      Version: 5.4
      Category: math
      Maintainers: ralf fimaluka.org
      Description: NTL: A Library for doing Number Theory
      Long Description: NTL is a high-performance, portable C++ library providing data structures and algorithms for arbitrary length integers\; for vectors, matrices, and polynomials over the integers and over finite fields\; and for arbitrary precision floating point arithmetic.

      Homepage: http://shoup.net/ntl/
      master_sites ${homepage}
      checksums md5 1d2a683ecbc12cdf03bf92dbc97c0dd4

      depends_build bin:perl:perl5.8

      test.run no

      configure.pre_args "PREFIX=${prefix} DOCDIR=${prefix}/share/doc"
      configure.args "NTL_STD_CXX=on"

      worksrcdir ${name}-${version}/src

      destroot.destdir "PREFIX=${destroot}${prefix} DOCDIR=${destroot}${prefix}/share/doc"

      Variant: gmp {
      depends_lib-append port:gmp
      configure.args-append "NTL_GMP_LIP=on GMP_PREFIX=${prefix}"
      }

      post-destroot {
      system "cd ${destroot}${prefix}/share/doc && mv NTL tmp && mv tmp ntl"
      xinstall -m 0644 ${worksrcpath}/../README ${destroot}${prefix}/share/doc/${name}
      xinstall -m 0644 ${worksrcpath}/../doc/copying.txt ${destroot}${prefix}/share/doc/${name}/LICENSE
      }

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

     Where to find more information:

    Darwin Ports



    image test