pkgsrc/math/p5-Math-Pari/Makefile
nia d5c846b3af Update packages using a search.cpan.org HOMEPAGE to metacpan.org.
The former now redirects to the latter.

This covers the most simple cases where http://search.cpan.org/dist/name
can be changed to https://metacpan.org/release/name.

Reviewed by hand to hopefully make sure no unwanted changes sneak in.
2019-06-30 20:14:13 +00:00

36 lines
968 B
Makefile

# $NetBSD: Makefile,v 1.54 2019/06/30 20:16:20 nia Exp $
DISTNAME= Math-Pari-2.01080900
PKGNAME= p5-${DISTNAME:S/900/9.00/}
PKGREVISION= 3
CATEGORIES+= perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Math/}
EXTRACT_SUFX= .zip
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://metacpan.org/release/Math-Pari
COMMENT= Perl5 interface to the pari math library
LICENSE= gnu-gpl-v2
#MAKE_PARAMS+= paridir=${WRKDIR}/${PARI_DISTNAME}
# XXX: to use or not to use...
#DEPENDS+= gnuplot-[0-9]*:../../graphics/gnuplot
#GCC_REQD+= 2.95
#MAKE_ENV+= MP_NOGNUPLOT=1
MAKE_PARAMS+= pariprefix=${PREFIX:Q}
PERL5_PACKLIST= auto/Math/Pari/.packlist
post-extract:
${RM} ${WRKSRC}/libPARI/Makefile.PL
BUILDLINK_API_DEPENDS.pari+= pari>=2.3.5nb1<2.4
.include "../../math/pari23/buildlink3.mk"
MAKE_PARAMS+= libpari=${PARI_LIB}
.if !empty(PKG_BUILD_OPTIONS.pari:Mgmp)
MAKE_PARAMS+= addlibs="-lgmp"
.endif
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"