Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Dec 2011 13:01:01 -0500 (EST)
From:      Naram Qashat <cyberbotx@cyberbotx.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/163187: [NEW PORT] math/mingw32-libgmp: Library for arbitrary precision arithmetic (MinGW32)
Message-ID:  <20111211180101.51F2928439@kirby.cyberbotx.com>
Resent-Message-ID: <201112111810.pBBIA1DY055145@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         163187
>Category:       ports
>Synopsis:       [NEW PORT] math/mingw32-libgmp: 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 Dec 11 18:10:00 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Naram Qashat
>Release:        FreeBSD 8.2-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD kirby.cyberbotx.com 8.2-RELEASE FreeBSD 8.2-RELEASE #3: Sun Feb 27 08:58:31 EST 2011
>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/

---

NOTE: I would actually like to propose that math/mingw32-libgmp4 be
      moved to math/mingw32-libgmp using the below port. The GMP
      website no longer lists GMP 4.x at all, and the port name would
      not make much sense since it'll be for GMP 5.x.

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

--- mingw32-libgmp-5.0.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-libgmp
#	mingw32-libgmp/Makefile
#	mingw32-libgmp/distinfo
#	mingw32-libgmp/pkg-descr
#	mingw32-libgmp/pkg-plist
#
echo c - mingw32-libgmp
mkdir -p mingw32-libgmp > /dev/null 2>&1
echo x - mingw32-libgmp/Makefile
sed 's/^X//' >mingw32-libgmp/Makefile << '60558d8cbf76887f80c6ed7eca80d951'
X# New ports collection makefile for:   mingw32-libgmp
X# Date created:        11 December 2011
X# Whom:                Naram Qashat <cyberbotx@cyberbotx.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	libgmp
XPORTVERSION=	5.0.2
XCATEGORIES=	math devel
XMASTER_SITES=	${MASTER_SITE_GNU}
XMASTER_SITE_SUBDIR=	gmp
XPKGNAMEPREFIX=	mingw32-
XDISTNAME=	gmp-${PORTVERSION}
X
XMAINTAINER=	cyberbotx@cyberbotx.com
XCOMMENT=	Library for arbitrary precision arithmetic (MinGW32)
X
XBUILD_DEPENDS=	${PKGNAMEPREFIX}gcc:${PORTSDIR}/devel/${PKGNAMEPREFIX}gcc \
X		mingwm10.dll:${PORTSDIR}/devel/mingw32-bin-msvcrt
X
XGMP_TARG=	${PKGNAMEPREFIX:S/-$//}
XGNU_CONFIGURE=	yes
XCC=		${PKGNAMEPREFIX}gcc
XCXX=		${PKGNAMEPREFIX}c++
XCONFIGURE_ENV=	MAKEINFO="makeinfo --no-split" \
X		PREFIX="${PREFIX}/${GMP_TARG}"
XCONFIGURE_ARGS=	--enable-cxx --host=${GMP_TARG} \
X		--includedir=${PREFIX}/${GMP_TARG}/include \
X		--exec_prefix=${PREFIX}/${GMP_TARG} \
X		--datadir=${PREFIX}/${GMP_TARG}/share \
X		--libdir=${PREFIX}/${GMP_TARG}/lib
XCONFIGURE_TARGET=
X
XINFO=		gmp
XINFO_PATH=	${GMP_TARG}/info
X
Xpost-extract:
X	@${RM} -f ${WRKSRC}/doc/gmp.info*
X
Xpre-install:
X	${MKDIR} ${PREFIX}/${GMP_TARG}/info
X
X.include <bsd.port.mk>
60558d8cbf76887f80c6ed7eca80d951
echo x - mingw32-libgmp/distinfo
sed 's/^X//' >mingw32-libgmp/distinfo << 'eedc4bc13b82f6515384bdb281cfae4d'
XSHA256 (gmp-5.0.2.tar.gz) = 2f0d4bbbeff0660f42c5caf6464ac0fee526c06f4dfcc82a015081ea7df8b55d
XSIZE (gmp-5.0.2.tar.gz) = 2633571
eedc4bc13b82f6515384bdb281cfae4d
echo x - mingw32-libgmp/pkg-descr
sed 's/^X//' >mingw32-libgmp/pkg-descr << '9512796949a222b17ef457005322b211'
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/
9512796949a222b17ef457005322b211
echo x - mingw32-libgmp/pkg-plist
sed 's/^X//' >mingw32-libgmp/pkg-plist << '742efbd0bd027d9bab9c432bf29879fc'
Xmingw32/include/gmp.h
Xmingw32/include/gmpxx.h
Xmingw32/lib/libgmp.a
Xmingw32/lib/libgmp.la
Xmingw32/lib/libgmpxx.a
Xmingw32/lib/libgmpxx.la
X@dirrmtry mingw32/include
X@dirrmtry mingw32/lib
X@dirrmtry mingw32
742efbd0bd027d9bab9c432bf29879fc
exit
--- mingw32-libgmp-5.0.2.shar ends here ---

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111211180101.51F2928439>