2007-02-10 15:38:16 +01:00
|
|
|
# New ports collection makefile for: math/p5-Math-BigInt-GMP
|
|
|
|
# Date created: 7 February 2007
|
|
|
|
# Whom: Maxime Henrion <mux@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= Math-BigInt-GMP
|
2011-09-10 15:21:29 +02:00
|
|
|
PORTVERSION= 1.37
|
2007-02-10 15:38:16 +01:00
|
|
|
CATEGORIES= math perl5
|
2008-04-17 16:30:31 +02:00
|
|
|
MASTER_SITES= CPAN
|
2007-02-10 15:38:16 +01:00
|
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
|
|
|
|
MAINTAINER= perl@FreeBSD.org
|
|
|
|
COMMENT= Math::BigInt::GMP - Use the GMP library for Math::BigInt routines
|
|
|
|
|
2011-10-07 13:22:46 +02:00
|
|
|
LICENSE= ART10 GPLv1
|
2011-09-10 15:21:29 +02:00
|
|
|
LICENSE_COMB= dual
|
|
|
|
|
|
|
|
BUILD_DEPENDS= p5-Math-BigInt>=1.997:${PORTSDIR}/math/p5-Math-BigInt
|
|
|
|
LIB_DEPENDS= gmp.10:${PORTSDIR}/math/gmp
|
|
|
|
RUN_DEPENDS= p5-Math-BigInt>=1.997:${PORTSDIR}/math/p5-Math-BigInt
|
2011-05-16 17:01:43 +02:00
|
|
|
|
2007-02-10 15:38:16 +01:00
|
|
|
PERL_CONFIGURE= yes
|
2011-09-10 15:21:29 +02:00
|
|
|
CONFIGURE_ARGS= INC="-I${LOCALBASE}/include"
|
2007-02-10 15:38:16 +01:00
|
|
|
|
|
|
|
MAN3= Math::BigInt::GMP.3
|
|
|
|
|
2010-07-26 13:33:35 +02:00
|
|
|
post-patch:
|
|
|
|
@${PERL} -pi -e "s!-lgmp!-L${LOCALBASE}/lib $$&!;" \
|
|
|
|
-e "if (/'LIBS'/) { print qq!'INC' => '-I${LOCALBASE}/include',!; }" \
|
|
|
|
${WRKSRC}/Makefile.PL
|
|
|
|
|
2007-02-10 15:38:16 +01:00
|
|
|
.include <bsd.port.mk>
|