|
|||||||||
Saturday the 7th of November, 2009 |
|||||||||
ntl most recent diffversion 5.4.2
Scroll down toward the bottom of the page to get installation instructions for ntl. The raw portfile for ntl 5.4.2 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 The ntl Portfile 56061 2009-08-24 00:33:19Z ryandesign PortSystem 1.0 Name: ntl Version: 5.4.2 Category: math Platform: darwin Maintainers: fimaluka.org:ralf 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 0aac5c680eee09a19732e1601b237a0b sha1 0250461a5e205663f7e446211c9571b6aad249e9 rmd160 5657f4f3b18281787b85f561b184c757254f656f depends_build path:bin/perl:perl5 test.run no configure.pre_args "PREFIX=${prefix} DOCDIR=${prefix}/share/doc" configure.args "NTL_STD_CXX=on" configure.args-append "CC=\$CC CXX=\$CXX CFLAGS=\$CFLAGS CXXFLAGS=\$CXXFLAGS" worksrcdir ${name}-${version}/src destroot.destdir "PREFIX=${destroot}${prefix} DOCDIR=${destroot}${prefix}/share/doc" post-patch { # Ensure that the correct perl is used reinplace "s|perl DoConfig|${prefix}/bin/perl DoConfig|g" ${worksrcpath}/configure } 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 } livecheck.url http://shoup.net/ntl/download.html livecheck.regex "Download NTL (\\d(?:\\.\\d+)*)" 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/ntlYou 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: 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 Where to find more information:
|
![]() |
![]()
Order Snow Leopard MacOSX 10.6 for only $29!
Other Helpful SitesMacOSForgeDebian Packages MacPorts - SVN Freshports - FreeBSD Fink Package List RPM for MacOSX Port Categories
accounting
amusements aqua archivers audio benchmarks biology blinkenlights cad chat chinese comms compression cross crypto databases devel editors education electronics emacs emulators erlang finance fonts framework fuse games genealogy gis gnome gnustep graphics gtk haskell iphone irc japanese java kde kde4 lang macports math mercurial ml mono multimedia net network news ocaml office palm parallel perl php pim project python reporting rox ruby russian scheme science security shells spelling squeak sysutils tcl tex textproc tk unicode vnc win32 wsn www x11 x11-font x11-wm xfce zope
Current SVN DownloadsDarwin Ports Current :nightly SVN snapshot SSH Key Gen See also: GNU-Darwin Ports for GNU-only software |
|||||||
| |




