diff options
author | sobomax <sobomax@FreeBSD.org> | 2001-08-29 00:31:18 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2001-08-29 00:31:18 +0800 |
commit | 668ec9dc6d698f06cbeb6155d2c39325564306b0 (patch) | |
tree | 8dc4ea3df60a340af7e990e9562b13d0a9d2eac8 /math/libgmp-freebsd | |
parent | b97b358f4b66b78728c9c180b997276982237491 (diff) | |
download | freebsd-ports-gnome-668ec9dc6d698f06cbeb6155d2c39325564306b0.tar.gz freebsd-ports-gnome-668ec9dc6d698f06cbeb6155d2c39325564306b0.tar.zst freebsd-ports-gnome-668ec9dc6d698f06cbeb6155d2c39325564306b0.zip |
Add libgmp 2001.08.07, a library for arbitrary precision arithmetic.
Note: This package contains version the the library just before it was
removed from the FreeBSD base system (5-CURRENT, mid-August 2001) and it is
provided solely for compatibility with packages that require it.
Diffstat (limited to 'math/libgmp-freebsd')
-rw-r--r-- | math/libgmp-freebsd/Makefile | 28 | ||||
-rw-r--r-- | math/libgmp-freebsd/distinfo | 1 | ||||
-rw-r--r-- | math/libgmp-freebsd/files/patch-Makefile | 14 | ||||
-rw-r--r-- | math/libgmp-freebsd/pkg-comment | 1 | ||||
-rw-r--r-- | math/libgmp-freebsd/pkg-descr | 17 | ||||
-rw-r--r-- | math/libgmp-freebsd/pkg-plist | 5 |
6 files changed, 66 insertions, 0 deletions
diff --git a/math/libgmp-freebsd/Makefile b/math/libgmp-freebsd/Makefile new file mode 100644 index 000000000000..caad5b6797fa --- /dev/null +++ b/math/libgmp-freebsd/Makefile @@ -0,0 +1,28 @@ +# New ports collection makefile for: libgmp +# Date created: 28 August 2001 +# Whom: Maxim Sobolev <sobomax@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= libgmp +PORTVERSION= 2001.08.07 +CATEGORIES= math +MASTER_SITES= ${MASTER_SITE_LOCAL} +MASTER_SITE_SUBDIR= sobomax + +MAINTAINER= ports@FreeBSD.org + +USE_BZIP2= yes +INSTALLS_SHLIB= yes +MAKE_FLAGS= INCDIR=${PREFIX}/include \ + LIBDIR=${PREFIX}/lib \ + INFODIR=${PREFIX}/info + +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 500000 +IGNORE= "is in the base system" +.endif + +.include <bsd.port.post.mk> diff --git a/math/libgmp-freebsd/distinfo b/math/libgmp-freebsd/distinfo new file mode 100644 index 000000000000..dad7238c1f15 --- /dev/null +++ b/math/libgmp-freebsd/distinfo @@ -0,0 +1 @@ +MD5 (libgmp-2001.08.07.tar.bz2) = 2309c9bb312c68a7aa2a957197104b0b diff --git a/math/libgmp-freebsd/files/patch-Makefile b/math/libgmp-freebsd/files/patch-Makefile new file mode 100644 index 000000000000..e2f5c0bdc2e8 --- /dev/null +++ b/math/libgmp-freebsd/files/patch-Makefile @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- Makefile 2001/08/28 16:21:28 1.1 ++++ Makefile 2001/08/28 16:21:41 +@@ -145,7 +145,7 @@ + + beforeinstall: + ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \ +- ${GMPDIR}/gmp.h ${DESTDIR}/usr/include ++ ${GMPDIR}/gmp.h ${DESTDIR}${INCDIR} + + .include "Makefile.inc" + .include <bsd.lib.mk> diff --git a/math/libgmp-freebsd/pkg-comment b/math/libgmp-freebsd/pkg-comment new file mode 100644 index 000000000000..04b7f02aa247 --- /dev/null +++ b/math/libgmp-freebsd/pkg-comment @@ -0,0 +1 @@ +A library for arbitrary precision arithmetic diff --git a/math/libgmp-freebsd/pkg-descr b/math/libgmp-freebsd/pkg-descr new file mode 100644 index 000000000000..69ba5950bd79 --- /dev/null +++ b/math/libgmp-freebsd/pkg-descr @@ -0,0 +1,17 @@ +GNU MP is a library for arbitrary precision arithmetic, operating on signed +integers, rational numbers, and floating point numbers. It has a rich set +of functions, and the functions have a regular interface. + +GNU MP is designed to be as fast as possible, both for small operands and for +huge operands. The speed is achieved by using fullwords as the basic +arithmetic type, by using fast algorithms, by carefully optimized assembly +code for the most common inner loops for a lots of CPUs, and by a general +emphasis on speed (instead of simplicity or elegance). + +The speed of GNU MP is believed to be faster than any other similar library. +The advantage for GNU MP increases with the operand sizes for certain +operations, since GNU MP in many cases has asymptotically faster algorithms. + +Note: This package contains version the the library just before it was +removed from the FreeBSD base system (5-CURRENT, mid-August 2001) and it is +provided solely for compatibility with packages that require it. diff --git a/math/libgmp-freebsd/pkg-plist b/math/libgmp-freebsd/pkg-plist new file mode 100644 index 000000000000..52332fa3dbad --- /dev/null +++ b/math/libgmp-freebsd/pkg-plist @@ -0,0 +1,5 @@ +include/gmp.h +info/gmp.info.gz +lib/libgmp.a +lib/libgmp.so +lib/libgmp.so.3 |