diff options
Diffstat (limited to 'math/p5-Math-Pari/Makefile')
-rw-r--r-- | math/p5-Math-Pari/Makefile | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/math/p5-Math-Pari/Makefile b/math/p5-Math-Pari/Makefile new file mode 100644 index 00000000000..064c21c4bac --- /dev/null +++ b/math/p5-Math-Pari/Makefile @@ -0,0 +1,31 @@ +# $NetBSD: Makefile,v 1.1 2001/10/02 01:34:14 mcr Exp $ +# + +DISTNAME= Math-Pari-2.001804 +PKGNAME= p5-${DISTNAME} +CATEGORIES= math perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Math/} + +MAINTAINER= packages@netbsd.org +#HOMEPAGE= +COMMENT= perl5 interface to the pari math library + +DEPENDS+= pari-*:../../math/pari +# XXX: to use or not to use... +#DEPENDS+= gnuplot-*:../../graphics/gnuplot + +USE_PERL5= # defined +PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Math/Pari/.packlist + +# XXX: could be improved... +post-extract: + if [ ! -d ${BUILD_ROOT}/math/pari/${WRKDIR_BASENAME} ]; then \ + cd ${BUILD_ROOT}/math/pari && ${MAKE}; \ + fi + ${RM} -f ${WRKSRC}/pari-* + ${LN} -sf ${BUILD_ROOT}/math/pari/${WRKDIR_BASENAME}/pari-* ${WRKSRC}/ + +do-configure: + @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL + +.include "../../mk/bsd.pkg.mk" |