Ticket #23130: Portfile

File Portfile, 2.1 KB (added by tim@…, 14 years ago)

portfile for p5-pdl

Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id$
3
4PortSystem                  1.0
5PortGroup                   perl5 1.0
6perl5.setup                 PDL 2.4.6
7maintainers                 saao.ac.za:tim
8description                 Perl Data Language - scientific computing capability for perl
9long_description \
10        The perlDL project aims to turn perl into an efficient numerical \
11        language for scientific computing. The PDL module gives standard perl \
12        the ability to COMPACTLY store and SPEEDILY manipulate the large \
13        N-dimensional data sets which are the bread and butter of scientific \
14        computing.
15
16homepage                    http://pdl.perl.org/
17master_sites        http://search.cpan.org/CPAN/authors/id/C/CH/CHM/
18
19checksums           md5     a4aa5f3fd7363824e8f555d0245c4ac7 \
20                    sha1    f5edb7d10fdf603a42cb695a8320414b189ea3e5 \
21                    rmd160  e343a8af32ce3cd67af046f839618c596f02d2a2
22
23depends_lib-append  \
24    port:p5-text-balanced \
25    port:p5-inline \
26    port:p5-extutils-f77 \
27    port:p5-gd \
28    port:p5-astro-fits-header \
29    port:netpbm \
30    port:hdf5-18 \
31    port:jpeg \
32    port:gsl \
33    port:fftw-3 \
34    port:proj \
35    port:pgplot \
36    port:p5-term-readline-gnu \
37    port:plplot
38
39patch.pre_args      -p1
40patchfiles                      patch-plplot_build
41
42post-patch {
43    reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/Basic/Core/pdlsimple.h.PL
44    reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/Doc/Doc/Config.pm.PL
45    reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/Graphics/PLplot/Makefile.PL
46    reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/Graphics/TriD/Makefile.PL
47    reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/IO/Browser/Makefile.PL
48    reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/IO/GD/Makefile.PL
49    reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/IO/HDF/Makefile.PL
50    reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/Lib/FFTW/Makefile.PL
51    reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/Lib/GIS/Proj/Makefile.PL
52    reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/Lib/Transform/Proj4/Makefile.PL
53    reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/t/callext.t
54}