Files
ports/math/p5-Math-BigInt-GMP/Makefile
Baptiste Daroussin b347149373 math/p5-Math-BigInt is part of perl core modules since at least 5.6+
the lowest version of perl available in ports is 5.8.9 which embed version
1.89 of Math::BigInt which is the same as the one available in
math/p5-Math-BigInt, so remove the useless dependency.
Keeping math/p5-Math-BigInt as it evolves alone

Bump port revision
2010-09-22 07:48:02 +00:00

31 lines
714 B
Makefile

# 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
PORTVERSION= 1.24
PORTREVISION= 3
CATEGORIES= math perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Math::BigInt::GMP - Use the GMP library for Math::BigInt routines
LIB_DEPENDS= gmp.10:${PORTSDIR}/math/gmp
PERL_CONFIGURE= yes
CONFIGURE_ARGS+= INC="-I${LOCALBASE}/include"
MAN3= Math::BigInt::GMP.3
post-patch:
@${PERL} -pi -e "s!-lgmp!-L${LOCALBASE}/lib $$&!;" \
-e "if (/'LIBS'/) { print qq!'INC' => '-I${LOCALBASE}/include',!; }" \
${WRKSRC}/Makefile.PL
.include <bsd.port.mk>