freebsd-ports/math/mingw32-libgmp4/Makefile
Dmitry Marakasov 9f84fad1cc 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>
2008-09-23 13:16:00 +00:00

44 lines
1.2 KiB
Makefile

# 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>