b486893f1e
-- Math::GMP is designed to be a drop-in replacement both for Math::BigInt and for regular integer arithmetic. Unlike BigInt, though, Math::GMP uses the GNU gmp library for all of its calculations, as opposed to straight Perl functions. This results in a speed increase of anywhere from 5 to 30 times. A Math::GMP object can be used just as a normal numeric scalar would be -- the module overloads the normal arithmetic operators to provide as seamless an interface as possible.
24 lines
534 B
Makefile
24 lines
534 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2001/01/28 15:28:54 avsm Exp $
|
|
|
|
DISTNAME= Math-GMP-1.03
|
|
PKGNAME= p5-${DISTNAME}
|
|
CATEGORIES= math perl5
|
|
NEED_VERSION= 1.351
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
|
MASTER_SITE_SUBDIR= Math
|
|
|
|
MAINTAINER= Anil Madhavapeddy <avsm@openbsd.org>
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
LIB_DEPENDS= gmp.4::devel/gmp
|
|
|
|
CONFIGURE_STYLE= perl
|
|
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
.include <bsd.port.mk>
|