pkgsrc-wip/p5-PDL/Makefile
Alan Post 2f7290acc4 Initial import of PDL, the "Perl Data Language". The package currently supports
the builtin 3D graphing routines, but not the PLplot or PGPLOT bindings.  I hope
to soon package up PLplot so that PDL can use it.  I do not plan to do so for
PGPLOT, as it its license would be problematic for many people.

Fuller description of PDL follows:

=======

PDL ("Perl Data Language") gives standard Perl the ability to compactly store
and speedily manipulate the large N-dimensional data arrays which are the bread
and butter of scientific computing.

PDL turns perl in to a free, array-oriented, numerical language similar to (but,
we believe, better than) such commerical packages as IDL and MatLab.  One can
write simple perl expressions to manipulate entire numerical arrays all at once.
For example, using PDL the perl variable $a can hold a 1024x1024 floating point
image, it only takes 4MB of memory to store it and expressions like
$a=sqrt($a)+2 manipulate the whole image in a few milliseconds.

A simple interactive shell (perldl) is provided for use from the command line
and a module (PDL) for use in perl scripts.
2005-06-01 04:31:09 +00:00

31 lines
1,008 B
Makefile

# $NetBSD: Makefile,v 1.1.1.1 2005/06/01 04:31:09 apost Exp $
DISTNAME= PDL-2.4.2
PKGNAME= p5-${DISTNAME}
CATEGORIES= math perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=PDL/}
MAINTAINER= apost@recalcitrant.org
HOMEPAGE= http://pdl.perl.org/
COMMENT= PDL turns perl in to a free, array-oriented, numerical language
USE_X11= YES
DEPENDS+= p5-Term-ReadLine-[0-9]*:../../devel/p5-Term-ReadLine
DEPENDS+= p5-Filter-[0-9]*:../../textproc/p5-Filter
DEPENDS+= p5-Text-Balanced-[0-9]*:../../textproc/p5-Text-Balanced
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/PDL/.packlist
#
# These should work eventually, but are disabled for now. It looks like
# PDL::FFTW has problems on amd64, at the very least. Note that PDL-2.4.2
# requires FFTW 2.X, rather than FFTW 3.X.
#
#.include "../../math/fftw2/buildlink3.mk"
#.include "../../math/gsl/buildlink3.mk"
.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../graphics/glu/buildlink3.mk"
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"