1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-15 07:56:36 +00:00
freebsd-ports/math/p5-Math-GMP/Makefile
Erwin Lansing f3eec5c13d - Update to 2.03
- Now uses gmp.6 from ports.
- Give maintainership to submitter

PR:		52292
Submitted by:	Mathieu Arnold <m@absolight.net>
Approved by:	edwin (mentor)
2003-06-04 18:36:41 +00:00

30 lines
640 B
Makefile

# New ports collection makefile for: Math-GMP
# Date created: Wed Jan 3 11:09:25 2001
# Whom: will
#
# $FreeBSD$
#
PORTNAME= Math-GMP
PORTVERSION= 2.03
CATEGORIES= math perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Math
PKGNAMEPREFIX= p5-
MAINTAINER= m@absolight.net
COMMENT= Perl module that provides an interface to the GMP library
LIB_DEPENDS= gmp.6:${PORTSDIR}/math/libgmp4
PERL_CONFIGURE= yes
MAN3= Math::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>