[42142] trunk/dports/math/ntl/Portfile

mcalhoun at macports.org mcalhoun at macports.org
Sat Nov 15 18:59:43 PST 2008


Revision: 42142
          http://trac.macports.org/changeset/42142
Author:   mcalhoun at macports.org
Date:     2008-11-15 18:59:43 -0800 (Sat, 15 Nov 2008)
Log Message:
-----------
ntl: Upgrade version 5.4 -> 5.4.2
change perl dependency from port:perl5.8 to path:bin/perl (see #16830)
Fixes #17124 (maintainer timeout)

Modified Paths:
--------------
    trunk/dports/math/ntl/Portfile

Modified: trunk/dports/math/ntl/Portfile
===================================================================
--- trunk/dports/math/ntl/Portfile	2008-11-16 02:51:19 UTC (rev 42141)
+++ trunk/dports/math/ntl/Portfile	2008-11-16 02:59:43 UTC (rev 42142)
@@ -1,10 +1,11 @@
 # $Id$
 
 PortSystem 1.0
+
 name            ntl
-version         5.4
+version         5.4.2
 categories      math
-maintainers     ralf at fimaluka.org
+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\
@@ -14,19 +15,27 @@
 
 homepage		http://shoup.net/ntl/
 master_sites    ${homepage}
-checksums       md5 1d2a683ecbc12cdf03bf92dbc97c0dd4
+checksums       md5 0aac5c680eee09a19732e1601b237a0b \
+                sha1 0250461a5e205663f7e446211c9571b6aad249e9 \
+                rmd160 5657f4f3b18281787b85f561b184c757254f656f
 
-depends_build   bin:perl:perl5.8
+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}"
@@ -39,3 +48,6 @@
         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+)*)"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081115/30b2dae4/attachment-0001.html>


More information about the macports-changes mailing list