Lines 2-12
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= libgmp |
4 |
PORTNAME= libgmp |
5 |
PORTVERSION= 5.1.3 |
5 |
PORTVERSION= 6.0.0 |
6 |
CATEGORIES= math devel |
6 |
CATEGORIES= math devel |
7 |
MASTER_SITES= ftp://ftp.gmplib.org/pub/gmp-${PORTVERSION}/ |
7 |
MASTER_SITES= GNU/gmp |
8 |
PKGNAMEPREFIX= mingw32- |
8 |
PKGNAMEPREFIX= mingw32- |
9 |
DISTNAME= gmp-${PORTVERSION} |
9 |
DISTNAME= gmp-${DISTVERSION}a |
10 |
|
10 |
|
11 |
MAINTAINER= cyberbotx@cyberbotx.com |
11 |
MAINTAINER= cyberbotx@cyberbotx.com |
12 |
COMMENT= Library for arbitrary precision arithmetic (MinGW32) |
12 |
COMMENT= Library for arbitrary precision arithmetic (MinGW32) |
Lines 14-20
Link Here
|
14 |
BUILD_DEPENDS= ${PKGNAMEPREFIX}gcc:${PORTSDIR}/devel/${PKGNAMEPREFIX}gcc \ |
14 |
BUILD_DEPENDS= ${PKGNAMEPREFIX}gcc:${PORTSDIR}/devel/${PKGNAMEPREFIX}gcc \ |
15 |
mingwm10.dll:${PORTSDIR}/devel/mingw32-bin-msvcrt |
15 |
mingwm10.dll:${PORTSDIR}/devel/mingw32-bin-msvcrt |
16 |
|
16 |
|
17 |
USE_BZIP2= yes |
17 |
WRKSRC= ${WRKDIR}/gmp-${PORTVERSION} |
|
|
18 |
|
19 |
USES= tar:bzip2 |
18 |
GMP_TARG= ${PKGNAMEPREFIX:S/-$//} |
20 |
GMP_TARG= ${PKGNAMEPREFIX:S/-$//} |
19 |
GNU_CONFIGURE= yes |
21 |
GNU_CONFIGURE= yes |
20 |
CC= ${PKGNAMEPREFIX}gcc |
22 |
CC= ${PKGNAMEPREFIX}gcc |
Lines 21-27
Link Here
|
21 |
CXX= ${PKGNAMEPREFIX}c++ |
23 |
CXX= ${PKGNAMEPREFIX}c++ |
22 |
CFLAGS+= -I/usr/include |
24 |
CFLAGS+= -I/usr/include |
23 |
CONFIGURE_ENV= MAKEINFO="makeinfo --no-split" \ |
25 |
CONFIGURE_ENV= MAKEINFO="makeinfo --no-split" \ |
24 |
PREFIX="${PREFIX}/${GMP_TARG}" |
26 |
PREFIX="${PREFIX}/${GMP_TARG}" \ |
|
|
27 |
M4="/usr/bin/m4" |
25 |
CONFIGURE_ARGS= --enable-cxx --host=${GMP_TARG} \ |
28 |
CONFIGURE_ARGS= --enable-cxx --host=${GMP_TARG} \ |
26 |
--includedir=${PREFIX}/${GMP_TARG}/include \ |
29 |
--includedir=${PREFIX}/${GMP_TARG}/include \ |
27 |
--exec_prefix=${PREFIX}/${GMP_TARG} \ |
30 |
--exec_prefix=${PREFIX}/${GMP_TARG} \ |