# $Id: Portfile 32146 2007-12-18 01:23:47Z vinc17@macports.org $ PortSystem 1.0 name gmp-ecm version 6.1.3 categories math platforms darwin maintainers vincent-opdarw@vinc17.org description Factor integers using the Elliptic Curve Method long_description Free implementation of the Elliptic Curve Method (ECM) \ for integer factorization. homepage http://gforge.inria.fr/projects/ecm/ master_sites http://gforge.inria.fr/frs/download.php/2752/ distname ecm-${version} depends_lib port:gmp checksums md5 67ca52f18a0d217dceff70fffcea1017 \ sha1 9988db86873864614f52f72cc02fc7ec4ad37bba \ rmd160 1785ed953906158d9debf32438828defa5be93b4 post-destroot { set docdir ${destroot}${prefix}/share/doc/${name} file mkdir ${docdir} xinstall -m 644 -v -W ${worksrcpath} \ AUTHORS COPYING COPYING.LIB NEWS README README.lib TODO ${docdir} set mandir ${destroot}${prefix}/share/man/man1 file mkdir ${mandir} xinstall -m 644 -v -W ${worksrcpath} ecm.1 ${mandir} } livecheck.check regex livecheck.url ${homepage} livecheck.regex GMP-ECM (\[0-9.\]+)