[67380] trunk/dports/perl/p5-pdl
ryandesign at macports.org
ryandesign at macports.org
Thu May 6 19:02:57 PDT 2010
Revision: 67380
http://trac.macports.org/changeset/67380
Author: ryandesign at macports.org
Date: 2010-05-06 19:02:55 -0700 (Thu, 06 May 2010)
Log Message:
-----------
p5-pdl: update to 2.4.6; new maintainer; see #23130
Modified Paths:
--------------
trunk/dports/perl/p5-pdl/Portfile
Added Paths:
-----------
trunk/dports/perl/p5-pdl/files/patch-plplot_build
Removed Paths:
-------------
trunk/dports/perl/p5-pdl/files/patch-IO_Dumper.pm
trunk/dports/perl/p5-pdl/files/patch-perldl.conf
Modified: trunk/dports/perl/p5-pdl/Portfile
===================================================================
--- trunk/dports/perl/p5-pdl/Portfile 2010-05-07 01:48:05 UTC (rev 67379)
+++ trunk/dports/perl/p5-pdl/Portfile 2010-05-07 02:02:55 UTC (rev 67380)
@@ -1,3 +1,4 @@
+# -*- 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
# $Id$
PortSystem 1.0
@@ -3,8 +4,7 @@
PortGroup perl5 1.0
-perl5.setup PDL 2.4.3
-revision 2
-maintainers nomaintainer
-description Perl Data Language - scientific computing capability
+perl5.setup PDL 2.4.6
+maintainers saao.ac.za:tim
+description Perl Data Language - scientific computing capability for perl
long_description The perlDL project aims to turn perl into an efficient numerical \
language for scientific computing. The PDL module gives standard perl \
@@ -17,25 +17,39 @@
homepage http://pdl.perl.org/
-checksums md5 8fa453a4ac90d5c0382020d5635ad90a
+checksums md5 a4aa5f3fd7363824e8f555d0245c4ac7 \
+ sha1 f5edb7d10fdf603a42cb695a8320414b189ea3e5 \
+ rmd160 e343a8af32ce3cd67af046f839618c596f02d2a2
depends_lib-append port:p5-text-balanced \
- port:p5-filter \
port:p5-inline \
port:p5-extutils-f77 \
+ port:p5-gd \
port:p5-astro-fits-header \
port:netpbm \
+ port:hdf5-18 \
port:jpeg \
port:gsl \
- port:fftw
+ port:fftw-3 \
+ port:proj \
+ port:pgplot \
+ port:p5-term-readline-gnu \
+ port:plplot
-patchfiles patch-perldl.conf \
- patch-IO_Dumper.pm
+patch.pre_args -p1
+patchfiles patch-plplot_build
post-patch {
- reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/perldl.conf
+ reinplace "s|/usr/local|${prefix}|g" \
+ ${worksrcpath}/Basic/Core/pdlsimple.h.PL \
+ ${worksrcpath}/Doc/Doc/Config.pm.PL \
+ ${worksrcpath}/Graphics/PLplot/Makefile.PL \
+ ${worksrcpath}/Graphics/TriD/Makefile.PL \
+ ${worksrcpath}/IO/Browser/Makefile.PL \
+ ${worksrcpath}/IO/GD/Makefile.PL \
+ ${worksrcpath}/IO/HDF/Makefile.PL \
+ ${worksrcpath}/Lib/FFTW/Makefile.PL \
+ ${worksrcpath}/Lib/GIS/Proj/Makefile.PL \
+ ${worksrcpath}/Lib/Transform/Proj4/Makefile.PL \
+ ${worksrcpath}/t/callext.t
}
-
-#variant plplot {
-# depends_lib-append port:p5-graphics-plplot
-#}
Deleted: trunk/dports/perl/p5-pdl/files/patch-IO_Dumper.pm
===================================================================
--- trunk/dports/perl/p5-pdl/files/patch-IO_Dumper.pm 2010-05-07 01:48:05 UTC (rev 67379)
+++ trunk/dports/perl/p5-pdl/files/patch-IO_Dumper.pm 2010-05-07 02:02:55 UTC (rev 67380)
@@ -1,11 +0,0 @@
---- IO/Dumper.pm.org 2006-03-14 15:19:11.000000000 -0800
-+++ IO/Dumper.pm 2007-05-16 13:32:37.000000000 -0700
-@@ -404,7 +404,7 @@
- #
- sub _make_tmpname () {
- # should we use File::Spec routines to create the file name?
-- return $PDL::Config{TEMPDIR} . "/tmp-$$.fits";
-+ return $PDL::Config{TEMPDIR} . "/tmp/tmp-$$.fits";
- }
-
- # For uudecode_PDL:
Deleted: trunk/dports/perl/p5-pdl/files/patch-perldl.conf
===================================================================
--- trunk/dports/perl/p5-pdl/files/patch-perldl.conf 2010-05-07 01:48:05 UTC (rev 67379)
+++ trunk/dports/perl/p5-pdl/files/patch-perldl.conf 2010-05-07 02:02:55 UTC (rev 67380)
@@ -1,14 +0,0 @@
---- perldl.conf.orig Mon Jan 5 14:27:04 2004
-+++ perldl.conf Mon May 17 16:31:37 2004
-@@ -129,9 +129,9 @@
- WITH_FFTW => undef, # Leave it up to PDL to decide
-
- # Location to search for the FFTW libs
-- FFTW_LIBS => [ '/lib','/usr/lib','/usr/local/lib'],
-+ FFTW_LIBS => [ '@@PREFIX@@/lib','/lib','/usr/lib','/usr/local/lib'],
- # Location to find FFTW includes:
-- FFTW_INC => ['/usr/include/','/usr/local/include'],
-+ FFTW_INC => ['@@PREFIX@@/include','/usr/include/','/usr/local/include'],
-
- # FFTW Numeric Precision Type to link in: (double or single precision)
- FFTW_TYPE => 'double',
Added: trunk/dports/perl/p5-pdl/files/patch-plplot_build
===================================================================
--- trunk/dports/perl/p5-pdl/files/patch-plplot_build (rev 0)
+++ trunk/dports/perl/p5-pdl/files/patch-plplot_build 2010-05-07 02:02:55 UTC (rev 67380)
@@ -0,0 +1,12 @@
+diff -Naur PDL-2.4.5_006.orig/Graphics/PLplot/Makefile.PL PDL-2.4.5_006/Graphics/PLplot/Makefile.PL
+--- PDL-2.4.5_006.orig/Graphics/PLplot/Makefile.PL 2009-10-17 23:37:41.000000000 +0200
++++ PDL-2.4.5_006/Graphics/PLplot/Makefile.PL 2009-12-23 12:53:38.000000000 +0200
+@@ -229,7 +229,7 @@
+ $hash{'LIBS'} = [$libs];
+ # add this to allow one to use the /ops/tools/lib plplot libs even when
+ # another plplot is installed in /usr/local/lib. D. Hunt 6/4/2004
+-$hash{'LDDLFLAGS'} = " -shared -L$plplot_lib_path -L/usr/local/lib ";
++$hash{'LDDLFLAGS'} = " -shared -flat_namespace -undefined suppress -L$plplot_lib_path -L/usr/local/lib ";
+ $hash{'INC'} .= " $plplot_include_path";
+ $hash{'clean'} = {'FILES' =>
+ 'PLplot.pm PLplot.xs PLplot.o PLplot.c PLplot.bs *.xfig temp* OPTIONS! Makefile.old'};
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100506/eaafc441/attachment.html>
More information about the macports-changes
mailing list