aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2018-10-27 01:14:43 +0000
committerSteve Wills <swills@FreeBSD.org>2018-10-27 01:14:43 +0000
commit00a1dd98480b59ea52f125685d6fce27049eda28 (patch)
tree365cbbfc6566a26658b6658db4f8a699c99db322 /math
parentae51ca79504ac36eddb68ebf668c2596272ff083 (diff)
downloadports-00a1dd98480b59ea52f125685d6fce27049eda28.tar.gz
ports-00a1dd98480b59ea52f125685d6fce27049eda28.zip
Notes
Diffstat (limited to 'math')
-rw-r--r--math/ntl/Makefile18
-rw-r--r--math/ntl/distinfo6
-rw-r--r--math/ntl/pkg-descr3
-rw-r--r--math/ntl/pkg-plist2
4 files changed, 14 insertions, 15 deletions
diff --git a/math/ntl/Makefile b/math/ntl/Makefile
index cb35cbfc0248..17abb844564b 100644
--- a/math/ntl/Makefile
+++ b/math/ntl/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= ntl
-PORTVERSION= 11.3.0
+PORTVERSION= 11.3.1
CATEGORIES= math
MASTER_SITES= http://www.shoup.net/ntl/
@@ -15,23 +15,22 @@ LICENSE_FILE= ${WRKSRC}/../doc/copying.txt
USES= compiler:c11 libtool perl5
USE_LDCONFIG= yes
USE_PERL5= build
+
HAS_CONFIGURE= yes
-CONFIGURE_ARGS+= AR="${AR}" \
- CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" \
- DEF_PREFIX="${LOCALBASE}" \
- LDFLAGS="${LDFLAGS}" PREFIX="${PREFIX}" \
- RANLIB="${RANLIB}" SHARED=on
+CONFIGURE_ARGS+=AR="${AR}" CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" \
+ DEF_PREFIX="${LOCALBASE}" LDFLAGS="${LDFLAGS}" \
+ PREFIX="${PREFIX}" RANLIB="${RANLIB}" SHARED=on
CFLAGS+= -fPIC
WRKSRC= ${WRKDIR}/${DISTNAME}/src
MAKEFILE= makefile
-OPTIONS_DEFINE= DOCS GMP
+OPTIONS_DEFINE= DOCS GMP
OPTIONS_DEFAULT= GMP
GMP_DESC= Arbitrary precision arithmetic(Faster)
-GMP_CONFIGURE_OFF= NTL_GMP_LIP=off
GMP_LIB_DEPENDS= libgmp.so:math/gmp
+GMP_CONFIGURE_OFF= NTL_GMP_LIP=off
NTLDOCSDIR= share/doc/NTL
PLIST_SUB= NTLDOCS=${NTLDOCSDIR}
@@ -40,6 +39,9 @@ do-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/../doc/* ${STAGEDIR}${DOCSDIR}
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libntl.so.*
+
test: build
@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} \
${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check)
diff --git a/math/ntl/distinfo b/math/ntl/distinfo
index 1a73dd28de22..fe4485b861bb 100644
--- a/math/ntl/distinfo
+++ b/math/ntl/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1534652335
-SHA256 (ntl-11.3.0.tar.gz) = 3ae0d3647e5d52bc0907e1f4cb4a958460ee8e5b3c9862c1a4b8e9f0f75891dd
-SIZE (ntl-11.3.0.tar.gz) = 2364356
+TIMESTAMP = 1540341212
+SHA256 (ntl-11.3.1.tar.gz) = fa1f10a4b4dc50ba142a1e9ef662425cf888989cbd1c77a99171042d45da4121
+SIZE (ntl-11.3.1.tar.gz) = 2364444
diff --git a/math/ntl/pkg-descr b/math/ntl/pkg-descr
index 827f7f92eeb8..50ed27bd1eed 100644
--- a/math/ntl/pkg-descr
+++ b/math/ntl/pkg-descr
@@ -11,6 +11,3 @@ by Victor Shoup. It provides objects and methods for
Unless you define WITHOUT_GMP, NTL requires libgmp4.
WWW: http://www.shoup.net/
-
-Matthias Bauer
-matthiasb@acm.org
diff --git a/math/ntl/pkg-plist b/math/ntl/pkg-plist
index af7a19458587..454f1cead7fe 100644
--- a/math/ntl/pkg-plist
+++ b/math/ntl/pkg-plist
@@ -116,7 +116,7 @@ include/NTL/xdouble.h
lib/libntl.a
lib/libntl.so
lib/libntl.so.39
-lib/libntl.so.39.0.0
+lib/libntl.so.39.0.1
%%NTLDOCS%%/BasicThreadPool.cpp.html
%%NTLDOCS%%/BasicThreadPool.txt
%%NTLDOCS%%/GF2.cpp.html