aboutsummaryrefslogtreecommitdiffstats
path: root/math/mpfr/Makefile
blob: a0a3942a8c5415d29886df64957b16f562f29bac (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
# Created by: Alex Dupre <ale@FreeBSD.org>
# $FreeBSD$

PORTNAME=   mpfr
PORTVERSION=    3.1.3
PORTREVISION=   1
CATEGORIES= math devel
MASTER_SITES=   http://www.mpfr.org/mpfr-current/
DIST_SUBDIR=    ${DISTNAME}

PATCH_SITES=    ${MASTER_SITES}
PATCH_DIST_STRIP=   -p1

MAINTAINER= ale@FreeBSD.org
COMMENT=    Library for multiple-precision floating-point computations

LICENSE=    LGPL3

#PATCH_DEPENDS= gpatch:devel/patch
LIB_DEPENDS=    libgmp.so:math/gmp

#PATCHLEVEL=    10
#PATCHFILES!=   /usr/bin/jot -s " " -w patch%02d ${PATCHLEVEL} 1 ${PATCHLEVEL}
#PATCH=     ${LOCALBASE}/bin/gpatch

USES=       libtool tar:xz
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --with-gmp=${LOCALBASE}

USE_LDCONFIG=   yes

INFO=       mpfr

PORTDOCS=   *

regression-test: build
    @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} check

.include <bsd.port.mk>