aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorculot <culot@FreeBSD.org>2018-04-03 16:18:06 +0800
committerculot <culot@FreeBSD.org>2018-04-03 16:18:06 +0800
commit4d74b8504f538aa0f3cd6f3003062dd8c5c93b75 (patch)
treeba4f9910f7c7a4ecc1a9c78578c63a3b012ed20f /math
parentcd83c984710807eb69fb73b80a86034f9d59e25d (diff)
downloadfreebsd-ports-gnome-4d74b8504f538aa0f3cd6f3003062dd8c5c93b75.tar.gz
freebsd-ports-gnome-4d74b8504f538aa0f3cd6f3003062dd8c5c93b75.tar.zst
freebsd-ports-gnome-4d74b8504f538aa0f3cd6f3003062dd8c5c93b75.zip
- Update to 7.0.4
Changes: https://gforge.inria.fr/forum/forum.php?forum_id=11510 PR: 227106 Submitted by: yuri@
Diffstat (limited to 'math')
-rw-r--r--math/gmp-ecm/Makefile21
-rw-r--r--math/gmp-ecm/distinfo5
2 files changed, 16 insertions, 10 deletions
diff --git a/math/gmp-ecm/Makefile b/math/gmp-ecm/Makefile
index 26dd3f471c90..469abba8c440 100644
--- a/math/gmp-ecm/Makefile
+++ b/math/gmp-ecm/Makefile
@@ -2,11 +2,10 @@
# $FreeBSD$
PORTNAME= gmp-ecm
-PORTVERSION= 6.3
-PORTREVISION= 2
+DISTVERSION= 7.0.4
CATEGORIES= math
-MASTER_SITES= https://gforge.inria.fr/frs/download.php/26838/
-DISTNAME= ecm-${PORTVERSION}
+MASTER_SITES= https://gforge.inria.fr/frs/download.php/file/36224/
+DISTNAME= ecm-${DISTVERSION}
MAINTAINER= culot@FreeBSD.org
COMMENT= Elliptic Curve Method for Integer Factorization
@@ -20,12 +19,18 @@ LIB_DEPENDS= libgmp.so:math/gmp
CONFLICTS= ecm-[0-9]*
+USES= gmake libtool
GNU_CONFIGURE= yes
CONFIGURE_ARGS= ac_cv_prog_XSLTPROC=no \
- --with-gmp=${LOCALBASE}
-USES= libtool
-
-PLIST_FILES= bin/ecm include/ecm.h lib/libecm.a \
+ --with-gmp=${LOCALBASE} \
+ --enable-shared \
+ --disable-static
+INSTALL_TARGET= install-strip
+
+PLIST_FILES= bin/ecm include/ecm.h \
+ lib/libecm.so \
+ lib/libecm.so.1 \
+ lib/libecm.so.1.0.0 \
man/man1/ecm.1.gz
post-patch:
diff --git a/math/gmp-ecm/distinfo b/math/gmp-ecm/distinfo
index 47e15c18adba..43293fb7c022 100644
--- a/math/gmp-ecm/distinfo
+++ b/math/gmp-ecm/distinfo
@@ -1,2 +1,3 @@
-SHA256 (ecm-6.3.tar.gz) = fd88b89d6f499b9916a181ca1bfec53fe2fd6a57c254f5fc4502fc4a47f0fa41
-SIZE (ecm-6.3.tar.gz) = 849409
+TIMESTAMP = 1522429265
+SHA256 (ecm-7.0.4.tar.gz) = 0cf7b3eee8462cc6f98b418b47630e1eb6b3f4f8c3fc1fb005b08e2a1811ba43
+SIZE (ecm-7.0.4.tar.gz) = 1101899