aboutsummaryrefslogtreecommitdiffstats
path: root/math/mpfr/Makefile
blob: 92dd4594ca5a3cd79c32ed04758f5267ba46b8c9 (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
# New ports collection makefile for:    mpfr
# Date created:         28 Aug 2005
# Whom:             Alex Dupre <ale@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   mpfr
PORTVERSION=    3.0.0
CATEGORIES= math devel
MASTER_SITES=   http://www.mpfr.org/mpfr-current/
DIST_SUBDIR=    mpfr

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

LIB_DEPENDS=    gmp.10:${PORTSDIR}/math/gmp

LICENSE=    LGPL3
LICENSE_FILE=   ${WRKSRC}/COPYING.LESSER

USE_XZ=     yes
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --with-gmp=${LOCALBASE}
USE_LDCONFIG=   yes

INFO=       mpfr

PORTDOCS=   *

.if defined(NOPORTDOCS)
post-patch:
    @${REINPLACE_CMD} 's/install-nobase_dist_docDATA$$//' \
        ${WRKSRC}/Makefile.in
.endif

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

.include <bsd.port.mk>