summaryrefslogtreecommitdiffstats
path: root/math/p5-Math-GMP/Makefile
blob: 4ae645344a2116f5adf318e0197180ce1d24eb3e (plain)
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
# New ports collection makefile for:	Math-GMP
# Date created:				Wed Jan  3 11:09:25 2001
# Whom:					will
#
# $FreeBSD$
#

PORTNAME=	Math-GMP
PORTVERSION=	1.07
CATEGORIES=	math perl5
MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR=	Math
PKGNAMEPREFIX=	p5-

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

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 500000
LIB_DEPENDS=	gmp:${PORTSDIR}/math/libgmp4
CONFIGURE_ENV+=	GMP=${LOCALBASE}
.else
CONFIGURE_ENV+= GMP=/usr
.endif

PERL_CONFIGURE=	yes

MANPREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3=		Math::GMP.3

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud