mirror of
https://git.freebsd.org/ports.git
synced 2025-06-04 12:26:27 -04:00
GMP is a free library for arbitrary precision arithmetic, operating
on signed integers, rational numbers, and floating point numbers. There is no limit to the precision except the ones implied by the available memory in the machine GMP runs on. GMP has a rich set of functions, and the functions have a regular interface. This port compiles libgmp using MinGW32. WWW: http://www.swox.com/gmp/ PR: 123391 Submitted by: Timothy Bourke <timbob at bigpond dot com>
This commit is contained in:
parent
d57116026e
commit
9f84fad1cc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=220558
9 changed files with 129 additions and 0 deletions
|
@ -155,6 +155,7 @@
|
|||
SUBDIR += mbasecalc
|
||||
SUBDIR += metis
|
||||
SUBDIR += metis-edf
|
||||
SUBDIR += mingw32-libgmp4
|
||||
SUBDIR += miracl
|
||||
SUBDIR += moo
|
||||
SUBDIR += mpexpr
|
||||
|
|
43
math/mingw32-libgmp/Makefile
Normal file
43
math/mingw32-libgmp/Makefile
Normal file
|
@ -0,0 +1,43 @@
|
|||
# New ports collection makefile for: mingw32-libgmp4
|
||||
# Date created: 28 April 2008
|
||||
# Whom: Timothy Bourke <timbob@bigpond.com>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= libgmp4
|
||||
PORTVERSION= 4.2.2
|
||||
CATEGORIES= math devel
|
||||
MASTER_SITES= ${MASTER_SITE_GNU}
|
||||
MASTER_SITE_SUBDIR= gmp
|
||||
PKGNAMEPREFIX= mingw32-
|
||||
DISTNAME= gmp-${PORTVERSION}
|
||||
|
||||
MAINTAINER= timbob@bigpond.com
|
||||
COMMENT= Library for arbitrary precision arithmetic (MinGW32)
|
||||
|
||||
BUILD_DEPENDS= ${PKGNAMEPREFIX}gcc:${PORTSDIR}/devel/${PKGNAMEPREFIX}gcc \
|
||||
mingwm10.dll:${PORTSDIR}/devel/mingw32-bin-msvcrt
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CC= ${PKGNAMEPREFIX}gcc
|
||||
CXX= ${PKGNAMEPREFIX}c++
|
||||
CONFIGURE_ENV= MAKEINFO="makeinfo --no-split" \
|
||||
PREFIX="${PREFIX}/${PKGNAMEPREFIX:S/-$//}"
|
||||
CONFIGURE_ARGS= --enable-cxx --host=${PKGNAMEPREFIX:S/-$//} \
|
||||
--includedir=${PREFIX}/${PKGNAMEPREFIX:S/-$//}/include \
|
||||
--exec_prefix=${PREFIX}/${PKGNAMEPREFIX:S/-$//} \
|
||||
--datadir=${PREFIX}/${PKGNAMEPREFIX:S/-$//}/share \
|
||||
--libdir=${PREFIX}/${PKGNAMEPREFIX:S/-$//}/lib
|
||||
CONFIGURE_TARGET=
|
||||
|
||||
INFO= gmp
|
||||
INFO_PATH= ${PKGNAMEPREFIX:S/-$//}/info
|
||||
|
||||
post-extract:
|
||||
@${RM} -f ${WRKSRC}/doc/gmp.info*
|
||||
|
||||
pre-install:
|
||||
${MKDIR} ${PREFIX}/${PKGNAMEPREFIX:S/-$//}/info
|
||||
|
||||
.include <bsd.port.mk>
|
3
math/mingw32-libgmp/distinfo
Normal file
3
math/mingw32-libgmp/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
MD5 (gmp-4.2.2.tar.gz) = 1def49df60248a08374ecd6cdcaa5d3d
|
||||
SHA256 (gmp-4.2.2.tar.gz) = db1663aefaa37e6fe69898729ece2a86568792b9009cc1ae4b6b189e0f0fce6a
|
||||
SIZE (gmp-4.2.2.tar.gz) = 2279978
|
9
math/mingw32-libgmp/pkg-descr
Normal file
9
math/mingw32-libgmp/pkg-descr
Normal file
|
@ -0,0 +1,9 @@
|
|||
GMP is a free library for arbitrary precision arithmetic, operating
|
||||
on signed integers, rational numbers, and floating point numbers.
|
||||
There is no limit to the precision except the ones implied by the
|
||||
available memory in the machine GMP runs on. GMP has a rich set of
|
||||
functions, and the functions have a regular interface.
|
||||
|
||||
This port compiles libgmp using MinGW32.
|
||||
|
||||
WWW: http://www.swox.com/gmp/
|
9
math/mingw32-libgmp/pkg-plist
Normal file
9
math/mingw32-libgmp/pkg-plist
Normal file
|
@ -0,0 +1,9 @@
|
|||
mingw32/include/gmp.h
|
||||
mingw32/include/gmpxx.h
|
||||
mingw32/lib/libgmp.a
|
||||
mingw32/lib/libgmp.la
|
||||
mingw32/lib/libgmpxx.a
|
||||
mingw32/lib/libgmpxx.la
|
||||
@dirrmtry mingw32/include
|
||||
@dirrmtry mingw32/lib
|
||||
@dirrmtry mingw32
|
43
math/mingw32-libgmp4/Makefile
Normal file
43
math/mingw32-libgmp4/Makefile
Normal file
|
@ -0,0 +1,43 @@
|
|||
# New ports collection makefile for: mingw32-libgmp4
|
||||
# Date created: 28 April 2008
|
||||
# Whom: Timothy Bourke <timbob@bigpond.com>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= libgmp4
|
||||
PORTVERSION= 4.2.2
|
||||
CATEGORIES= math devel
|
||||
MASTER_SITES= ${MASTER_SITE_GNU}
|
||||
MASTER_SITE_SUBDIR= gmp
|
||||
PKGNAMEPREFIX= mingw32-
|
||||
DISTNAME= gmp-${PORTVERSION}
|
||||
|
||||
MAINTAINER= timbob@bigpond.com
|
||||
COMMENT= Library for arbitrary precision arithmetic (MinGW32)
|
||||
|
||||
BUILD_DEPENDS= ${PKGNAMEPREFIX}gcc:${PORTSDIR}/devel/${PKGNAMEPREFIX}gcc \
|
||||
mingwm10.dll:${PORTSDIR}/devel/mingw32-bin-msvcrt
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CC= ${PKGNAMEPREFIX}gcc
|
||||
CXX= ${PKGNAMEPREFIX}c++
|
||||
CONFIGURE_ENV= MAKEINFO="makeinfo --no-split" \
|
||||
PREFIX="${PREFIX}/${PKGNAMEPREFIX:S/-$//}"
|
||||
CONFIGURE_ARGS= --enable-cxx --host=${PKGNAMEPREFIX:S/-$//} \
|
||||
--includedir=${PREFIX}/${PKGNAMEPREFIX:S/-$//}/include \
|
||||
--exec_prefix=${PREFIX}/${PKGNAMEPREFIX:S/-$//} \
|
||||
--datadir=${PREFIX}/${PKGNAMEPREFIX:S/-$//}/share \
|
||||
--libdir=${PREFIX}/${PKGNAMEPREFIX:S/-$//}/lib
|
||||
CONFIGURE_TARGET=
|
||||
|
||||
INFO= gmp
|
||||
INFO_PATH= ${PKGNAMEPREFIX:S/-$//}/info
|
||||
|
||||
post-extract:
|
||||
@${RM} -f ${WRKSRC}/doc/gmp.info*
|
||||
|
||||
pre-install:
|
||||
${MKDIR} ${PREFIX}/${PKGNAMEPREFIX:S/-$//}/info
|
||||
|
||||
.include <bsd.port.mk>
|
3
math/mingw32-libgmp4/distinfo
Normal file
3
math/mingw32-libgmp4/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
MD5 (gmp-4.2.2.tar.gz) = 1def49df60248a08374ecd6cdcaa5d3d
|
||||
SHA256 (gmp-4.2.2.tar.gz) = db1663aefaa37e6fe69898729ece2a86568792b9009cc1ae4b6b189e0f0fce6a
|
||||
SIZE (gmp-4.2.2.tar.gz) = 2279978
|
9
math/mingw32-libgmp4/pkg-descr
Normal file
9
math/mingw32-libgmp4/pkg-descr
Normal file
|
@ -0,0 +1,9 @@
|
|||
GMP is a free library for arbitrary precision arithmetic, operating
|
||||
on signed integers, rational numbers, and floating point numbers.
|
||||
There is no limit to the precision except the ones implied by the
|
||||
available memory in the machine GMP runs on. GMP has a rich set of
|
||||
functions, and the functions have a regular interface.
|
||||
|
||||
This port compiles libgmp using MinGW32.
|
||||
|
||||
WWW: http://www.swox.com/gmp/
|
9
math/mingw32-libgmp4/pkg-plist
Normal file
9
math/mingw32-libgmp4/pkg-plist
Normal file
|
@ -0,0 +1,9 @@
|
|||
mingw32/include/gmp.h
|
||||
mingw32/include/gmpxx.h
|
||||
mingw32/lib/libgmp.a
|
||||
mingw32/lib/libgmp.la
|
||||
mingw32/lib/libgmpxx.a
|
||||
mingw32/lib/libgmpxx.la
|
||||
@dirrmtry mingw32/include
|
||||
@dirrmtry mingw32/lib
|
||||
@dirrmtry mingw32
|
Loading…
Add table
Reference in a new issue