2006-06-03 13:57:46 +00:00
|
|
|
# New ports collection makefile for: gmp-ecm
|
|
|
|
# Date created: 2006-06-03
|
|
|
|
# Whom: Gea-Suan Lin <gslin@gslin.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gmp-ecm
|
2010-08-03 20:33:06 +00:00
|
|
|
PORTVERSION= 6.3
|
2006-06-03 13:57:46 +00:00
|
|
|
CATEGORIES= math
|
2010-08-03 20:33:06 +00:00
|
|
|
MASTER_SITES= https://gforge.inria.fr/frs/download.php/26838/
|
2006-06-03 13:57:46 +00:00
|
|
|
DISTNAME= ecm-${PORTVERSION}
|
|
|
|
|
2010-10-20 05:53:20 +00:00
|
|
|
MAINTAINER= culot@FreeBSD.org
|
2006-06-03 13:57:46 +00:00
|
|
|
COMMENT= Elliptic Curve Method for Integer Factorization
|
|
|
|
|
2010-04-19 10:43:42 +00:00
|
|
|
LIB_DEPENDS= gmp.10:${PORTSDIR}/math/gmp
|
2008-05-30 19:39:14 +00:00
|
|
|
|
2010-08-03 20:33:06 +00:00
|
|
|
LICENSE= GPLv2 LGPL21
|
|
|
|
LICENSE_COMB= multi
|
|
|
|
|
2006-06-03 13:57:46 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2008-05-30 19:39:14 +00:00
|
|
|
CONFIGURE_ARGS= ac_cv_prog_XSLTPROC=no \
|
|
|
|
--with-gmp=${LOCALBASE}
|
|
|
|
|
|
|
|
MAN1= ecm.1
|
|
|
|
PLIST_FILES= bin/ecm include/ecm.h lib/libecm.a lib/libecm.la
|
2006-06-03 13:57:46 +00:00
|
|
|
|
2010-04-19 10:43:42 +00:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} s/__GMP_BITS_PER_MP_LIMB/GMP_NUMB_BITS/g \
|
|
|
|
${WRKSRC}/*.c ${WRKSRC}/*.h
|
|
|
|
@${REINPLACE_CMD} s/GMP_BITS_PER_LIMB/GMP_NUMB_BITS/g \
|
|
|
|
${WRKSRC}/*.c ${WRKSRC}/*.h
|
|
|
|
@${REINPLACE_CMD} s/mp_bits_per_limb/GMP_NUMB_BITS/g \
|
|
|
|
${WRKSRC}/*.c ${WRKSRC}/*.h
|
|
|
|
|
2006-06-03 13:57:46 +00:00
|
|
|
.include <bsd.port.mk>
|