2003-07-08 00:07:44 +02:00
|
|
|
# $NetBSD: Makefile,v 1.9 2003/07/07 22:07:44 jtb Exp $
|
2001-10-02 03:25:35 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= Math-Pari-2.001804
|
|
|
|
PKGNAME= p5-${DISTNAME}
|
2003-07-08 00:07:44 +02:00
|
|
|
PKGREVISION= 2
|
2001-10-18 17:20:01 +02:00
|
|
|
SVR4_PKGNAME= p5mpa
|
2001-10-02 03:25:35 +02:00
|
|
|
CATEGORIES= math perl5
|
|
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Math/}
|
|
|
|
|
2003-06-02 03:15:31 +02:00
|
|
|
MAINTAINER= tech-pkg@netbsd.org
|
2003-07-08 00:07:44 +02:00
|
|
|
#HOMEPAGE=
|
2001-10-02 03:25:35 +02:00
|
|
|
COMMENT= perl5 interface to the pari math library
|
|
|
|
|
2001-10-03 04:41:41 +02:00
|
|
|
DEPENDS+= pari-[0-9]*:../../math/pari
|
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
|
|
|
|
2002-10-27 22:20:37 +01:00
|
|
|
USE_BUILDLINK2= YES
|
2001-10-02 03:25:35 +02:00
|
|
|
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Math/Pari/.packlist
|
2003-07-08 00:07:44 +02:00
|
|
|
TEST_TARGET= # the tests need looking at
|
2001-10-02 03:25:35 +02:00
|
|
|
|
|
|
|
# XXX: could be improved...
|
|
|
|
post-extract:
|
2001-12-15 21:25:34 +01:00
|
|
|
if [ ! -d ${_PKGSRCDIR}/math/pari/${WRKDIR_BASENAME} ]; then \
|
|
|
|
cd ${_PKGSRCDIR}/math/pari && ${MAKE}; \
|
2001-10-02 03:25:35 +02:00
|
|
|
fi
|
|
|
|
${RM} -f ${WRKSRC}/pari-*
|
2001-12-15 21:25:34 +01:00
|
|
|
${LN} -sf ${_PKGSRCDIR}/math/pari/${WRKDIR_BASENAME}/pari-* ${WRKSRC}/
|
2001-10-02 03:25:35 +02:00
|
|
|
|
2001-10-16 02:44:25 +02:00
|
|
|
pre-clean:
|
2001-12-15 21:25:34 +01:00
|
|
|
cd ${_PKGSRCDIR}/math/pari && ${MAKE} clean
|
2001-10-16 02:44:25 +02:00
|
|
|
|
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"
|