mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-16 03:24:07 +00:00
d1850a3d8c
Use DISTVERSION in place of DISTNAME where possible. Remove perl 5.005 shims.
30 lines
611 B
Makefile
30 lines
611 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.04
|
|
PORTREVISION= 1
|
|
CATEGORIES= math perl5
|
|
MASTER_SITES= CPAN
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= mat@FreeBSD.org
|
|
COMMENT= Perl module that provides an interface to the GMP library
|
|
|
|
LIB_DEPENDS= gmp.7:${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>
|