# $Id: Portfile 39003 2008-08-06 00:58:17Z vinc17@macports.org $ PortSystem 1.0 name gmp-ecm version 6.2.1 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/4837/ distname ecm-${version} depends_lib port:gmp checksums md5 acd90a6063072b2e5d6f7617fee1aab2 \ sha1 bb08c4f1b412110ef64572c387baa5bc45ae8a60 \ rmd160 daa268a93cf43a7236f26435cf013de2fcaa016a 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.\]+)