2001-01-04 00:40:35 +01:00
|
|
|
# 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
|
2001-01-04 00:40:35 +01:00
|
|
|
CATEGORIES= math perl5
|
2007-08-31 15:37:23 +02:00
|
|
|
MASTER_SITES= CPAN
|
2001-01-04 00:40:35 +01:00
|
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
|
2003-08-16 11:13:44 +02:00
|
|
|
MAINTAINER= mat@FreeBSD.org
|
2003-02-20 20:00:52 +01:00
|
|
|
COMMENT= Perl module that provides an interface to the GMP library
|
2001-01-04 00:40:35 +01:00
|
|
|
|
2009-05-13 11:46:02 +02:00
|
|
|
LIB_DEPENDS= gmp.8:${PORTSDIR}/math/libgmp4
|
2002-11-28 16:27:15 +01:00
|
|
|
|
2001-01-04 00:40:35 +01:00
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
|
|
|
|
MAN3= Math::GMP.3
|
|
|
|
|
2003-06-04 20:36:41 +02:00
|
|
|
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',!; }" \
|
2003-06-04 20:36:41 +02:00
|
|
|
${WRKSRC}/Makefile.PL
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|