908e765695
module directory has changed (eg. "darwin-2level" vs. "darwin-thread-multi-2level"). binary packages of perl modules need to be distinguishable between being built against threaded perl and unthreaded perl, so bump the PKGREVISION of all perl module packages and introduce BUILDLINK_RECOMMENDED for perl as perl>=5.8.5nb5 so the correct dependencies are registered and the binary packages are distinct. addresses PR pkg/28619 from H. Todd Fujinaka.
37 lines
1,019 B
Makefile
37 lines
1,019 B
Makefile
# $NetBSD: Makefile,v 1.15 2004/12/20 11:31:05 grant Exp $
|
|
#
|
|
|
|
DISTNAME= Math-Pari-2.010501
|
|
PKGNAME= p5-${DISTNAME}
|
|
PKGREVISION= # empty
|
|
SVR4_PKGNAME= p5mpa
|
|
PKGREVISION= 1
|
|
CATEGORIES= math perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Math/}
|
|
|
|
MAINTAINER= tech-pkg@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
|
|
USE_BUILDLINK3= YES
|
|
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Math/Pari/.packlist
|
|
#TEST_TARGET= # the tests need looking at
|
|
|
|
# XXX: could be improved...
|
|
post-extract:
|
|
if [ ! -d ${PKGSRCDIR}/math/pari/${WRKDIR_BASENAME} ]; then \
|
|
cd ${PKGSRCDIR}/math/pari && ${MAKE} configure; \
|
|
fi
|
|
${RM} -f ${WRKSRC}/pari-*
|
|
${LN} -sf ${PKGSRCDIR}/math/pari/${WRKDIR_BASENAME}/pari-* ${WRKSRC}/
|
|
|
|
pre-clean:
|
|
cd ${PKGSRCDIR}/math/pari && ${MAKE} clean
|
|
|
|
.include "../../lang/perl5/module.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|