freebsd-ports/math/mingw32-libgmp/Makefile
Ruslan Makhmatkhanov e20d134a46 math/mingw32-libgmp: update to 5.1.3 and support staging
- update to 5.1.3
- support staging

PR:		187242
Submitted by:	Naram Qashat <cyberbotx@cyberbotx.com> (maintainer)
2014-03-04 11:37:57 +00:00

38 lines
1 KiB
Makefile

# Created by: Timothy Bourke <timbob@bigpond.com>
# $FreeBSD$
PORTNAME= libgmp
PORTVERSION= 5.1.3
CATEGORIES= math devel
MASTER_SITES= ftp://ftp.gmplib.org/pub/gmp-${PORTVERSION}/
PKGNAMEPREFIX= mingw32-
DISTNAME= gmp-${PORTVERSION}
MAINTAINER= cyberbotx@cyberbotx.com
COMMENT= Library for arbitrary precision arithmetic (MinGW32)
BUILD_DEPENDS= ${PKGNAMEPREFIX}gcc:${PORTSDIR}/devel/${PKGNAMEPREFIX}gcc \
mingwm10.dll:${PORTSDIR}/devel/mingw32-bin-msvcrt
USE_BZIP2= yes
GMP_TARG= ${PKGNAMEPREFIX:S/-$//}
GNU_CONFIGURE= yes
CC= ${PKGNAMEPREFIX}gcc
CXX= ${PKGNAMEPREFIX}c++
CFLAGS+= -I/usr/include
CONFIGURE_ENV= MAKEINFO="makeinfo --no-split" \
PREFIX="${PREFIX}/${GMP_TARG}"
CONFIGURE_ARGS= --enable-cxx --host=${GMP_TARG} \
--includedir=${PREFIX}/${GMP_TARG}/include \
--exec_prefix=${PREFIX}/${GMP_TARG} \
--datadir=${PREFIX}/${GMP_TARG}/share \
--libdir=${PREFIX}/${GMP_TARG}/lib
CONFIGURE_TARGET=
INFO= gmp
INFO_PATH= ${GMP_TARG}/info
post-extract:
@${RM} -f ${WRKSRC}/doc/gmp.info*
.include <bsd.port.mk>