blob: 0da84d5c17ac3076ebe6325440c19892843ed0ad (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Created by: Timothy Bourke <timbob@bigpond.com>
# $FreeBSD$
PORTNAME= libgmp
PORTVERSION= 5.1.2
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++
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
NO_STAGE= yes
post-extract:
@${RM} -f ${WRKSRC}/doc/gmp.info*
pre-install:
${MKDIR} ${PREFIX}/${GMP_TARG}/info
.include <bsd.port.mk>
|