2004-12-20 12:30:55 +01:00
|
|
|
# $NetBSD: Makefile,v 1.15 2004/12/20 11:31:05 grant Exp $
|
2001-10-02 03:25:35 +02:00
|
|
|
#
|
|
|
|
|
2004-02-22 23:04:54 +01:00
|
|
|
DISTNAME= Math-Pari-2.010501
|
2001-10-02 03:25:35 +02:00
|
|
|
PKGNAME= p5-${DISTNAME}
|
2004-02-22 23:04:54 +01:00
|
|
|
PKGREVISION= # empty
|
2001-10-18 17:20:01 +02:00
|
|
|
SVR4_PKGNAME= p5mpa
|
2004-12-20 12:30:55 +01:00
|
|
|
PKGREVISION= 1
|
2001-10-02 03:25:35 +02:00
|
|
|
CATEGORIES= math perl5
|
|
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Math/}
|
|
|
|
|
2003-07-17 23:41:05 +02:00
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
2004-02-22 23:04:54 +01:00
|
|
|
HOMEPAGE= http://search.cpan.org/dist/Math-Pari/
|
2003-07-21 18:56:41 +02:00
|
|
|
COMMENT= Perl5 interface to the pari math library
|
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
|
|
|
|
2004-02-22 23:04:54 +01:00
|
|
|
GCC_REQD= 2.95
|
|
|
|
MAKE_ENV+= MP_NOGNUPLOT=1
|
2004-04-27 23:26:08 +02:00
|
|
|
USE_BUILDLINK3= YES
|
2001-10-02 03:25:35 +02:00
|
|
|
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Math/Pari/.packlist
|
2004-02-22 23:04:54 +01:00
|
|
|
#TEST_TARGET= # the tests need looking at
|
2001-10-02 03:25:35 +02:00
|
|
|
|
|
|
|
# XXX: could be improved...
|
|
|
|
post-extract:
|
2004-10-07 04:01:37 +02:00
|
|
|
if [ ! -d ${PKGSRCDIR}/math/pari/${WRKDIR_BASENAME} ]; then \
|
|
|
|
cd ${PKGSRCDIR}/math/pari && ${MAKE} configure; \
|
2001-10-02 03:25:35 +02:00
|
|
|
fi
|
|
|
|
${RM} -f ${WRKSRC}/pari-*
|
2004-10-07 04:01:37 +02: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:
|
2004-10-07 04:01:37 +02: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"
|