aboutsummaryrefslogtreecommitdiffstats
path: root/math/p5-Math-GMP/Makefile
blob: 48a081ea5d832bbb84a0fd28221e05e7313f8963 (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: will
# $FreeBSD$

PORTNAME=   Math-GMP
PORTVERSION=    2.11
CATEGORIES= math perl5
MASTER_SITES=   CPAN
PKGNAMEPREFIX=  p5-

MAINTAINER= perl@FreeBSD.org
COMMENT=    Perl module that provides an interface to the GMP library

LICENSE=    LGPL20 LGPL21 LGPL3
LICENSE_COMB=   dual

BUILD_DEPENDS=  p5-Devel-CheckLib>=0.9:${PORTSDIR}/devel/p5-Devel-CheckLib
LIB_DEPENDS=    libgmp.so:${PORTSDIR}/math/gmp

CONFIGURE_ARGS= INC=-I${LOCALBASE}/include LIBS="-L${LOCALBASE}/lib -lgmp"
USES=       perl5
USE_PERL5=  configure

post-install:
    ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Math/GMP/GMP.so

.include <bsd.port.mk>