ports/123391: [NEW PORT] math/mingw32-libgmp4: Library for arbitrary precision arithmetic (MinGW32)

Timothy Bourke timbob at bigpond.com
Sun May 4 10:50:02 UTC 2008


>Number:         123391
>Category:       ports
>Synopsis:       [NEW PORT] math/mingw32-libgmp4: Library for arbitrary precision arithmetic (MinGW32)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 04 10:50:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Timothy Bourke
>Release:        FreeBSD 6.3-RELEASE i386
>Organization:
>Environment:
System: FreeBSD triptrop 6.3-RELEASE FreeBSD 6.3-RELEASE #4: Thu Mar 13 14:01:14 EST 2008
>Description:
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/

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- mingw32-libgmp4-4.2.2.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	mingw32-libgmp4
#	mingw32-libgmp4/Makefile
#	mingw32-libgmp4/pkg-descr
#	mingw32-libgmp4/distinfo
#	mingw32-libgmp4/pkg-plist
#
echo c - mingw32-libgmp4
mkdir -p mingw32-libgmp4 > /dev/null 2>&1
echo x - mingw32-libgmp4/Makefile
sed 's/^X//' >mingw32-libgmp4/Makefile << 'END-of-mingw32-libgmp4/Makefile'
X# New ports collection makefile for:   mingw32-libgmp4
X# Date created:        28 April 2008
X# Whom:                Timothy Bourke <timbob at bigpond.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	libgmp4
XPORTVERSION=	4.2.2
XCATEGORIES=	math devel
XMASTER_SITES=	${MASTER_SITE_GNU}
XMASTER_SITE_SUBDIR=	gmp
XPKGNAMEPREFIX=	mingw32-
XDISTNAME=	gmp-${PORTVERSION}
X
XMAINTAINER=	timbob at bigpond.com
XCOMMENT=	Library for arbitrary precision arithmetic (MinGW32)
X
XBUILD_DEPENDS=	${PKGNAMEPREFIX}gcc:${PORTSDIR}/devel/${PKGNAMEPREFIX}gcc
X# Add RUN_DEPENDS because installation is to mingw subdirectories:
XRUN_DEPENDS=	${PKGNAMEPREFIX}gcc:${PORTSDIR}/devel/${PKGNAMEPREFIX}gcc
X
XGNU_CONFIGURE=	yes
XCC=		${PKGNAMEPREFIX}gcc
XCXX=		${PKGNAMEPREFIX}c++
XCONFIGURE_ENV=	MAKEINFO="makeinfo --no-split" \
X		PREFIX="${PREFIX}/${PKGNAMEPREFIX:S/-$//}"
XCONFIGURE_ARGS=	--enable-cxx --host=${PKGNAMEPREFIX:S/-$//} \
X		--includedir=${PREFIX}/${PKGNAMEPREFIX:S/-$//}/include \
X		--exec_prefix=${PREFIX}/${PKGNAMEPREFIX:S/-$//} \
X		--datadir=${PREFIX}/${PKGNAMEPREFIX:S/-$//}/share \
X		--libdir=${PREFIX}/${PKGNAMEPREFIX:S/-$//}/lib
XCONFIGURE_TARGET=
X
XINFO=		gmp
XINFO_PATH=	${PKGNAMEPREFIX:S/-$//}/info
X
XPLIST_SUB=	PKGNAMEPREFIX="${PKGNAMEPREFIX:S/-$//}/"
X
Xpost-extract:
X	@${RM} -f ${WRKSRC}/doc/gmp.info*
X
Xpre-install:
X	-${MKDIR} ${PREFIX}/${PKGNAMEPREFIX:S/-$//}/info
X
X.include <bsd.port.mk>
END-of-mingw32-libgmp4/Makefile
echo x - mingw32-libgmp4/pkg-descr
sed 's/^X//' >mingw32-libgmp4/pkg-descr << 'END-of-mingw32-libgmp4/pkg-descr'
XGMP is a free library for arbitrary precision arithmetic, operating
Xon signed integers, rational numbers, and floating point numbers.
XThere is no limit to the precision except the ones implied by the
Xavailable memory in the machine GMP runs on. GMP has a rich set of
Xfunctions, and the functions have a regular interface. 
X
XThis port compiles libgmp using MinGW32.
X
XWWW: http://www.swox.com/gmp/
END-of-mingw32-libgmp4/pkg-descr
echo x - mingw32-libgmp4/distinfo
sed 's/^X//' >mingw32-libgmp4/distinfo << 'END-of-mingw32-libgmp4/distinfo'
XMD5 (gmp-4.2.2.tar.gz) = 1def49df60248a08374ecd6cdcaa5d3d
XSHA256 (gmp-4.2.2.tar.gz) = db1663aefaa37e6fe69898729ece2a86568792b9009cc1ae4b6b189e0f0fce6a
XSIZE (gmp-4.2.2.tar.gz) = 2279978
END-of-mingw32-libgmp4/distinfo
echo x - mingw32-libgmp4/pkg-plist
sed 's/^X//' >mingw32-libgmp4/pkg-plist << 'END-of-mingw32-libgmp4/pkg-plist'
X%%PKGNAMEPREFIX%%include/gmp.h
X%%PKGNAMEPREFIX%%include/gmpxx.h
X%%PKGNAMEPREFIX%%lib/libgmp.a
X%%PKGNAMEPREFIX%%lib/libgmp.la
X%%PKGNAMEPREFIX%%lib/libgmpxx.a
X%%PKGNAMEPREFIX%%lib/libgmpxx.la
END-of-mingw32-libgmp4/pkg-plist
exit
--- mingw32-libgmp4-4.2.2.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list