aboutsummaryrefslogtreecommitdiff
path: root/math/ntl
diff options
context:
space:
mode:
authorMichael Haro <mharo@FreeBSD.org>2001-09-03 03:33:45 +0000
committerMichael Haro <mharo@FreeBSD.org>2001-09-03 03:33:45 +0000
commit273a1cd59034be752d643dfe3b9949c37c7fd7f4 (patch)
treeea1853f877ec250b4c6d8f6a8e86925aa097904b /math/ntl
parentcc8b01acd3206e5ef783b5f7ce2fbeb9bea327df (diff)
downloadports-273a1cd59034be752d643dfe3b9949c37c7fd7f4.tar.gz
ports-273a1cd59034be752d643dfe3b9949c37c7fd7f4.zip
Notes
Diffstat (limited to 'math/ntl')
-rw-r--r--math/ntl/Makefile8
-rw-r--r--math/ntl/distinfo2
-rw-r--r--math/ntl/pkg-descr4
-rw-r--r--math/ntl/pkg-plist1
4 files changed, 10 insertions, 5 deletions
diff --git a/math/ntl/Makefile b/math/ntl/Makefile
index 4f5e35b4fd05..f46db51d3457 100644
--- a/math/ntl/Makefile
+++ b/math/ntl/Makefile
@@ -6,17 +6,21 @@
#
PORTNAME= ntl
-PORTVERSION= 5.0c
+PORTVERSION= 5.2
CATEGORIES= math
MASTER_SITES= http://www.shoup.net/ntl/
MAINTAINER= matthiasb@acm.org
+BUILD_DEPENDS= libgmp3:${PORTSDIR}/math/libgmp3
+RUN_DEPENDS= libgmp3:${PORTSDIR}/math/libgmp3
+
USE_GMAKE= yes
WRKSRC= ${WRKDIR}/${DISTNAME}/src
MAKEFILE= makefile
HAS_CONFIGURE= yes
-MAKE_ARGS= "DOCDIR=${LOCALBASE}/share/doc"
+CONFIGURE_ARGS= "GMP_INCDIR=${LOCALBASE}/include" "GMP_LIBDIR=${LOCALBASE}/lib" "GMP_PREFIX=${LOCALBASE}" "NTL_GMP_LIP=on"
+MAKE_ARGS= "DOCDIR=${LOCALBASE}/share/doc GMP_PREFIX=${LOCALBASE}"
do-install:
${MKDIR} ${PREFIX}/include/NTL
diff --git a/math/ntl/distinfo b/math/ntl/distinfo
index 4bcfdd3017cf..4b8c5bfdc441 100644
--- a/math/ntl/distinfo
+++ b/math/ntl/distinfo
@@ -1 +1 @@
-MD5 (ntl-5.0c.tar.gz) = c6bffdaf1a5f56d41daadb4c123b573e
+MD5 (ntl-5.2.tar.gz) = 09e3679e9c84ea5f3934fcfcb29989fa
diff --git a/math/ntl/pkg-descr b/math/ntl/pkg-descr
index d8915f34b801..f4eaf750512d 100644
--- a/math/ntl/pkg-descr
+++ b/math/ntl/pkg-descr
@@ -1,11 +1,11 @@
NTL is an object oriented library for number theory, written
-by Victor Shoup. It provides objects and methods for
+by Victor Shoup. It provides objects and methods for
- arbitrary length integers
- finite fields
- polynomials over fields
- extensions of fields.
- - vectors and matrices over extensions
+ - vectors and matrices over extensions
- finite rings
WWW: http://www.shoup.net/
diff --git a/math/ntl/pkg-plist b/math/ntl/pkg-plist
index 37b8174c6223..9601b574b265 100644
--- a/math/ntl/pkg-plist
+++ b/math/ntl/pkg-plist
@@ -167,6 +167,7 @@ lib/libntl.a
%%PORTDOCS%%share/doc/NTL/vec_lzz_p.txt
%%PORTDOCS%%share/doc/NTL/vec_lzz_pE.txt
%%PORTDOCS%%share/doc/NTL/vector.txt
+%%PORTDOCS%%share/doc/NTL/version.txt
%%PORTDOCS%%share/doc/NTL/xdouble.txt
@dirrm include/NTL
%%PORTDOCS%%@dirrm share/doc/NTL