pkgsrc/math/p5-Math-Pari/Makefile
sno 31c67f0944 Updating math/p5-Math-Pari from 2.010806.03 to 2.010806.04
pkgsrc changes:
- Adjust patch which allows to use math/pari

Upstream changes:
2.01080604
  Add (missing in 2.1.*) declaration for pari_init().
  Minor miscount in docs.
  Math::PariBuild: detecting `patch --binary' missed -p1; same for inc_h.diff
  Work around bug in XSUB.h (at least up to 5.11.2) with puts.
  Get GPDATADIR from gp, if present.
  Make self-documentation for switching to 2.3.* more explicit.
  kmx patch for mingw 32-bit Win-build:
	include windows.h (early!) in Pari.xs and highlvl.c
	enable assembler for this build
  x86_64 assembler detection after 2.2.7; thanks to Alexander Haeckel
2010-03-10 09:24:52 +00:00

43 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.38 2010/03/10 09:24:52 sno Exp $
#
DISTNAME= Math-Pari-2.01080604
PKGNAME= p5-${DISTNAME:S/01080604/010806.04/}
#PKGREVISION= 1
SVR4_PKGNAME= p5mpa
CATEGORIES+= perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Math/}
#DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
${PARI_DISTNAME}${PARI_SUFX}
#SITES.${PARI_DISTNAME}${PARI_SUFX}= ${PARI_SITES}
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
PKG_DESTDIR_SUPPORT= user-destdir
#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
.include "../../math/pari/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"