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-05-17 09:33:17 +02:00
|
|
|
PORTVERSION= 1.36
|
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
|
|
|
|
|
2010-04-19 12:43:42 +02:00
|
|
|
LIB_DEPENDS= gmp.10:${PORTSDIR}/math/gmp
|
2007-02-10 15:38:16 +01:00
|
|
|
|
2011-05-16 17:01:43 +02:00
|
|
|
LICENSE_COMB= dual
|
|
|
|
LICENSE= ART20 GPLv1
|
|
|
|
|
2007-02-10 15:38:16 +01:00
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS+= INC="-I${LOCALBASE}/include"
|
|
|
|
|
|
|
|
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>
|