freebsd-ports/math/p5-Math-GMP/Makefile

30 lines
613 B
Makefile
Raw Normal View History

# New ports collection makefile for: Math-GMP
# Date created: Wed Jan 3 11:09:25 2001
# Whom: will
#
# $FreeBSD$
#
PORTNAME= Math-GMP
2009-02-13 15:00:10 +01:00
PORTVERSION= 2.05
2009-05-13 11:46:02 +02:00
PORTREVISION= 1
CATEGORIES= math perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= mat@FreeBSD.org
2003-02-20 20:00:52 +01:00
COMMENT= Perl module that provides an interface to the GMP library
2009-05-13 11:46:02 +02:00
LIB_DEPENDS= gmp.8:${PORTSDIR}/math/libgmp4
PERL_CONFIGURE= yes
MAN3= Math::GMP.3
post-patch:
@${PERL} -pi -e "s!-lgmp!-L${LOCALBASE}/lib $$&!;" \
2009-02-13 15:00:10 +01:00
-e "if (/'LIBS'/) { print qq!'INC' => '-I${LOCALBASE}/include',!; }" \
${WRKSRC}/Makefile.PL
.include <bsd.port.mk>