LibTomMath provides highly optimized and portable routines for a vast
majority of integer based number theoretic applications (including public key cryptography). PR: ports/85043 Submitted by: Wesley Shields <wxs@csh.rit.edu>
This commit is contained in:
@@ -108,6 +108,7 @@
|
||||
SUBDIR += libneural
|
||||
SUBDIR += libqalculate
|
||||
SUBDIR += libranlib
|
||||
SUBDIR += libtommath
|
||||
SUBDIR += linalg
|
||||
SUBDIR += linpack
|
||||
SUBDIR += linux-relview
|
||||
|
||||
23
math/libtommath/Makefile
Normal file
23
math/libtommath/Makefile
Normal file
@@ -0,0 +1,23 @@
|
||||
# Ports collection makefile for: libtommath
|
||||
# Date created: 05 Aug 2005
|
||||
# Whom: Wesley Shields <wxs@csh.rit.edu>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= libtommath
|
||||
PORTVERSION= 0.36
|
||||
CATEGORIES= math
|
||||
MASTER_SITES= http://math.libtomcrypt.org/files/
|
||||
DISTNAME= ltm-${PORTVERSION}
|
||||
|
||||
MAINTAINER= wxs@csh.rit.edu
|
||||
COMMENT= Comprehensive, modular and portable mathematical routines
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
||||
MAKEFILE= makefile
|
||||
USE_BZIP2= yes
|
||||
USE_GMAKE= yes
|
||||
ALL_TARGET= default
|
||||
|
||||
.include <bsd.port.mk>
|
||||
2
math/libtommath/distinfo
Normal file
2
math/libtommath/distinfo
Normal file
@@ -0,0 +1,2 @@
|
||||
MD5 (ltm-0.36.tar.bz2) = cd4f9305e1b721b3c3eb7bcdc25abfc6
|
||||
SIZE (ltm-0.36.tar.bz2) = 1924150
|
||||
15
math/libtommath/files/patch-makefile
Normal file
15
math/libtommath/files/patch-makefile
Normal file
@@ -0,0 +1,15 @@
|
||||
--- makefile.orig Fri Aug 5 09:34:54 2005
|
||||
+++ makefile Fri Aug 5 09:36:36 2005
|
||||
@@ -48,9 +48,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 \
|
||||
5
math/libtommath/pkg-descr
Normal file
5
math/libtommath/pkg-descr
Normal file
@@ -0,0 +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.org
|
||||
4
math/libtommath/pkg-plist
Normal file
4
math/libtommath/pkg-plist
Normal file
@@ -0,0 +1,4 @@
|
||||
include/tommath.h
|
||||
include/tommath_class.h
|
||||
include/tommath_superclass.h
|
||||
lib/libtommath.a
|
||||
Reference in New Issue
Block a user