diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2008-09-23 13:16:00 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2008-09-23 13:16:00 +0000 |
commit | 9f84fad1cc0fbeb1af3e738c798ad87e4c8b0c20 (patch) | |
tree | 3ecd57c53042eebac2c78615b7614b4dea40ab51 /math/mingw32-libgmp | |
parent | d57116026ec4f7c8e2b46676b9c13eee29ea447e (diff) | |
download | ports-9f84fad1cc0fbeb1af3e738c798ad87e4c8b0c20.tar.gz ports-9f84fad1cc0fbeb1af3e738c798ad87e4c8b0c20.zip |
Notes
Diffstat (limited to 'math/mingw32-libgmp')
-rw-r--r-- | math/mingw32-libgmp/Makefile | 43 | ||||
-rw-r--r-- | math/mingw32-libgmp/distinfo | 3 | ||||
-rw-r--r-- | math/mingw32-libgmp/pkg-descr | 9 | ||||
-rw-r--r-- | math/mingw32-libgmp/pkg-plist | 9 |
4 files changed, 64 insertions, 0 deletions
diff --git a/math/mingw32-libgmp/Makefile b/math/mingw32-libgmp/Makefile new file mode 100644 index 000000000000..edaff7b30043 --- /dev/null +++ b/math/mingw32-libgmp/Makefile @@ -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> diff --git a/math/mingw32-libgmp/distinfo b/math/mingw32-libgmp/distinfo new file mode 100644 index 000000000000..dcb12714f169 --- /dev/null +++ b/math/mingw32-libgmp/distinfo @@ -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 diff --git a/math/mingw32-libgmp/pkg-descr b/math/mingw32-libgmp/pkg-descr new file mode 100644 index 000000000000..159ccbf3d124 --- /dev/null +++ b/math/mingw32-libgmp/pkg-descr @@ -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/ diff --git a/math/mingw32-libgmp/pkg-plist b/math/mingw32-libgmp/pkg-plist new file mode 100644 index 000000000000..423bcbdfbdb2 --- /dev/null +++ b/math/mingw32-libgmp/pkg-plist @@ -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 |