2016-06-08 21:22:13 +02:00
|
|
|
# $NetBSD: Makefile,v 1.51 2016/06/08 19:24:02 wiz Exp $
|
2011-08-06 22:49:25 +02:00
|
|
|
|
2016-05-22 19:50:57 +02:00
|
|
|
DISTNAME= Math-Pari-2.01080900
|
|
|
|
PKGNAME= p5-${DISTNAME:S/900/9.00/}
|
2016-06-08 21:22:13 +02:00
|
|
|
PKGREVISION= 1
|
2011-08-06 22:49:25 +02:00
|
|
|
CATEGORIES+= perl5
|
|
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Math/}
|
2015-12-30 00:21:11 +01:00
|
|
|
EXTRACT_SUFX= .zip
|
2011-08-06 22:49:25 +02:00
|
|
|
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
|
|
HOMEPAGE= http://search.cpan.org/dist/Math-Pari/
|
|
|
|
COMMENT= Perl5 interface to the pari math library
|
|
|
|
LICENSE= gnu-gpl-v2
|
2001-10-02 03:25:35 +02:00
|
|
|
|
2010-02-06 11:52:37 +01:00
|
|
|
#MAKE_PARAMS+= paridir=${WRKDIR}/${PARI_DISTNAME}
|
2007-11-22 10:25:45 +01:00
|
|
|
|
2001-10-02 03:25:35 +02:00
|
|
|
# XXX: to use or not to use...
|
2001-10-03 04:41:41 +02:00
|
|
|
#DEPENDS+= gnuplot-[0-9]*:../../graphics/gnuplot
|
2001-10-02 03:25:35 +02:00
|
|
|
|
2010-02-06 11:52:37 +01:00
|
|
|
#GCC_REQD+= 2.95
|
|
|
|
#MAKE_ENV+= MP_NOGNUPLOT=1
|
|
|
|
MAKE_PARAMS+= pariprefix=${PREFIX:Q}
|
2005-07-13 20:01:18 +02:00
|
|
|
PERL5_PACKLIST= auto/Math/Pari/.packlist
|
2001-10-02 03:25:35 +02:00
|
|
|
|
2010-02-06 11:52:37 +01:00
|
|
|
post-extract:
|
|
|
|
${RM} ${WRKSRC}/libPARI/Makefile.PL
|
|
|
|
|
2016-03-03 14:26:02 +01:00
|
|
|
BUILDLINK_API_DEPENDS.pari+= pari>=2.3.5nb1<2.4
|
|
|
|
.include "../../math/pari23/buildlink3.mk"
|
2010-02-06 11:52:37 +01:00
|
|
|
MAKE_PARAMS+= libpari=${PARI_LIB}
|
|
|
|
.if !empty(PKG_BUILD_OPTIONS.pari:Mgmp)
|
|
|
|
MAKE_PARAMS+= addlibs="-lgmp"
|
|
|
|
.endif
|
|
|
|
|
2002-10-27 22:20:37 +01:00
|
|
|
.include "../../lang/perl5/module.mk"
|
2001-10-02 03:25:35 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|