aboutsummaryrefslogtreecommitdiffstats
path: root/math/p5-Math-MPC/Makefile
blob: 1206f50b13c5660f8ea91dc38bb21091f0697e98 (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
# Created by: Wen Heping <wenheping@gmail.com>
# $FreeBSD$

PORTNAME=   Math-MPC
PORTVERSION=    1.00
PORTREVISION=   1
CATEGORIES= math perl5
MASTER_SITES=   CPAN
#MASTER_SITE_SUBDIR=    CPAN:SISYPHUS
PKGNAMEPREFIX=  p5-

MAINTAINER= perl@FreeBSD.org
COMMENT=    Perl interface to MPC Library

BUILD_DEPENDS=  p5-Math-MPFR>=2.01:${PORTSDIR}/math/p5-Math-MPFR
LIB_DEPENDS=    libgmp.so:${PORTSDIR}/math/gmp \
        libmpc.so:${PORTSDIR}/math/mpc \
        libmpfr.so:${PORTSDIR}/math/mpfr
RUN_DEPENDS:=   ${BUILD_DEPENDS}
TEST_DEPENDS=   p5-Test-Pod>=1:${PORTSDIR}/devel/p5-Test-Pod

MAKE_ENV=   INC="-I${LOCALBASE}/include"
USES=       perl5
USE_PERL5=  configure

.include <bsd.port.mk>