freebsd-ports/math/p5-Math-BigInt-GMP/Makefile
Frederic Culot a288d48de7 - Fix LICENSE (Artistic 1 instead of Artistic 2)
- Pet portlint(1)

PR:		ports/161336
Submitted by:	Simon Olofsson <simon@olofsson.de>
2011-10-07 11:22:46 +00:00

34 lines
874 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.37
CATEGORIES= math perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Math::BigInt::GMP - Use the GMP library for Math::BigInt routines
LICENSE= ART10 GPLv1
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
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>