pkgsrc/math/p5-Math-Pari/Makefile
tv 5d95012156 This build process is just plain evil. In any case, don't throw away a
failure code with ';' in a chain of shell commands; use '&&' instead.
2007-01-05 13:41:21 +00:00

35 lines
925 B
Makefile

# $NetBSD: Makefile,v 1.26 2007/01/05 13:41:21 tv Exp $
#
DISTNAME= Math-Pari-2.010703
PKGNAME= p5-${DISTNAME}
SVR4_PKGNAME= p5mpa
CATEGORIES= math perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Math/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/Math-Pari/
COMMENT= Perl5 interface to the pari math library
# XXX: to use or not to use...
#DEPENDS+= gnuplot-[0-9]*:../../graphics/gnuplot
GCC_REQD+= 2.95
MAKE_ENV+= MP_NOGNUPLOT=1
PERL5_PACKLIST= auto/Math/Pari/.packlist
# XXX: could be improved...
PKGSRCDIR.pari= ${.CURDIR}/../../math/pari
WRKSRC.pari_cmd= \
cd ${PKGSRCDIR.pari} && ${MAKE} show-var VARNAME=WRKSRC
post-extract:
cd ${PKGSRCDIR.pari:Q} && ${MAKE} configure && \
${RM} -f ${WRKSRC}/pari-*
${LN} -sf ${WRKSRC.pari_cmd:sh:Q} ${WRKSRC}
pre-clean:
cd ${PKGSRCDIR.pari:Q} && ${MAKE} clean
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"