diff --git a/math/libtommath/Makefile b/math/libtommath/Makefile index fd06b01442e5..7067681409d1 100644 --- a/math/libtommath/Makefile +++ b/math/libtommath/Makefile @@ -1,28 +1,27 @@ # Ports collection makefile for: libtommath # Date created: 05 Aug 2005 # Whom: Wesley Shields # # $FreeBSD$ # PORTNAME= libtommath -PORTVERSION= 0.41 +PORTVERSION= 0.42.0 CATEGORIES= math -MASTER_SITES= http://libtom.org/files/ \ - http://www.atarininja.org/~wxs/distfiles/ +MASTER_SITES= http://libtom.org/files/ DISTNAME= ltm-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Comprehensive, modular and portable mathematical routines WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} MAKEFILE= makefile USE_BZIP2= yes USE_GMAKE= yes ALL_TARGET= default MAKE_JOBS_SAFE= yes PLIST_FILES= include/tommath.h include/tommath_class.h \ include/tommath_superclass.h lib/libtommath.a .include diff --git a/math/libtommath/distinfo b/math/libtommath/distinfo index b9545dd83dc9..dca3fa55f6e5 100644 --- a/math/libtommath/distinfo +++ b/math/libtommath/distinfo @@ -1,3 +1,3 @@ -MD5 (ltm-0.41.tar.bz2) = 96fafb55f86be27490957b89dea7b31b -SHA256 (ltm-0.41.tar.bz2) = 8e397fc42a12f520ea50c29e477a8768a6f974af2470636f6f807141c13a240c -SIZE (ltm-0.41.tar.bz2) = 1972854 +MD5 (ltm-0.42.0.tar.bz2) = 7380da904b020301be7045cb3a89039b +SHA256 (ltm-0.42.0.tar.bz2) = 7b5c258304c34ac5901cfddb9f809b9b3b8ac7d04f700cf006ac766a923eb217 +SIZE (ltm-0.42.0.tar.bz2) = 1968961 diff --git a/math/libtommath/files/patch-makefile b/math/libtommath/files/patch-makefile index e7b8edc00a88..3cdf61f9dedd 100644 --- a/math/libtommath/files/patch-makefile +++ b/math/libtommath/files/patch-makefile @@ -1,24 +1,24 @@ ---- makefile.orig Mon Aug 1 12:34:44 2005 -+++ makefile Wed Aug 31 15:19:42 2005 -@@ -10,7 +10,7 @@ +--- makefile.bak 2010-07-30 12:05:21.219322050 +0200 ++++ makefile 2010-07-30 12:07:19.588144344 +0200 +@@ -14,7 +14,7 @@ ifndef IGNORE_SPEED #for speed -CFLAGS += -O3 -funroll-loops +CFLAGS += -funroll-loops #for size #CFLAGS += -Os -@@ -48,9 +48,9 @@ +@@ -53,9 +53,9 @@ #INCPATH-The directory to install the header files for libtommath. #DATAPATH-The directory to install the pdf docs. DESTDIR= -LIBPATH=/usr/lib -INCPATH=/usr/include -DATAPATH=/usr/share/doc/libtommath/pdf +LIBPATH=${PREFIX}/lib +INCPATH=${PREFIX}/include +DATAPATH=${PREFIX}/share/doc/libtommath/pdf OBJECTS=bncore.o bn_mp_init.o bn_mp_clear.o bn_mp_exch.o bn_mp_grow.o bn_mp_shrink.o \ bn_mp_clamp.o bn_mp_zero.o bn_mp_set.o bn_mp_set_int.o bn_mp_init_size.o bn_mp_copy.o \ diff --git a/math/libtommath/pkg-descr b/math/libtommath/pkg-descr index 8aa3acc3c70d..fa6528272ce3 100644 --- a/math/libtommath/pkg-descr +++ b/math/libtommath/pkg-descr @@ -1,5 +1,5 @@ LibTomMath provides highly optimized and portable routines for a vast majority of integer based number theoretic applications (including public key cryptography). -WWW: http://math.libtomcrypt.com +WWW: http://libtom.org