Files
Lawrence VelázquezandMojca Miklavec 34b3070336 Remove all $Id$ lines
for pf in */*/Portfile
do
    ed -s "$pf" <<-'EOF'
	1,3g/^[[:space:]]*#[[:space:]]*\$Id.*\$[[:space:]]*$/d
	1g/^[[:space:]]*$/d
	w
	q
	EOF
done
2016-12-28 18:14:04 +01:00

40 lines
1.5 KiB
Plaintext

PortSystem 1.0
# Future versions (with asm redc support) will need this...
#PortGroup muniversal 1.0
name gmp-ecm
version 6.3
categories math
license GPL-2+
platforms darwin
maintainers nomaintainer
description Factor integers using the Elliptic Curve Method
long_description Free implementation of the Elliptic Curve Method (ECM) \
for integer factorization.
homepage https://gforge.inria.fr/projects/ecm/
master_sites https://gforge.inria.fr/frs/download.php/26838/
distname ecm-${version}
depends_lib port:gmp
checksums md5 b30b59e48d65c94e3b034a0296b02c1b \
sha1 4ce7a903d9ff2cedf54f0f66cb43acf2ee819a48 \
rmd160 4d58fb34b379942501b6c55e50e7edad814b3608
# Due to bugs:
# https://gforge.inria.fr/tracker/index.php?func=detail&aid=10646&group_id=135&atid=623
# https://gforge.inria.fr/tracker/index.php?func=detail&aid=10648&group_id=135&atid=623
configure.args --disable-asm-redc
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.type regex
livecheck.url http://ecm.gforge.inria.fr/
livecheck.regex GMP-ECM (\[0-9.\]+)