[133537] trunk/dports/perl

devans at macports.org devans at macports.org
Wed Mar 4 11:54:58 PST 2015


Revision: 133537
          https://trac.macports.org/changeset/133537
Author:   devans at macports.org
Date:     2015-03-04 11:54:58 -0800 (Wed, 04 Mar 2015)
Log Message:
-----------
p5-pdl-fftw: new port, alternate fft support for PDL based on the FFTW library.

Added Paths:
-----------
    trunk/dports/perl/p5-pdl-fftw/
    trunk/dports/perl/p5-pdl-fftw/Portfile
    trunk/dports/perl/p5-pdl-fftw/files/
    trunk/dports/perl/p5-pdl-fftw/files/patch-fftw.conf.diff

Added: trunk/dports/perl/p5-pdl-fftw/Portfile
===================================================================
--- trunk/dports/perl/p5-pdl-fftw/Portfile	                        (rev 0)
+++ trunk/dports/perl/p5-pdl-fftw/Portfile	2015-03-04 19:54:58 UTC (rev 133537)
@@ -0,0 +1,31 @@
+# -*- 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
+PortGroup           perl5 1.0
+
+perl5.branches      5.16 5.18 5.20
+perl5.setup         PDL-FFTW 2.022
+license             {Artistic-1 GPL}
+maintainers         devans openmaintainer
+description         PDL::FFTW - PDL interface to the Fastest Fourier Transform in the West v2.x
+long_description    ${description} \
+                    It's similar to the standard PDL::FFT routine but it's usually faster \
+                    and has support for real transforms.
+
+platforms           darwin
+
+checksums           rmd160  26daa95f424f9d0fcf9786be6f214305860224be \
+                    sha256  f932f089b2228e05c1bd3c0a111a3fe47e99ff85ae9a939c963dde7a2d071f42
+
+if {${perl5.major} != ""} {
+    depends_lib-append \
+                    port:fftw \
+                    port:p${perl5.major}-pdl
+
+    patchfiles      patch-fftw.conf.diff
+
+    post-patch {
+        reinplace "s|__PREFIX__|${prefix}|" ${worksrcpath}/fftw.conf
+    }
+}


Property changes on: trunk/dports/perl/p5-pdl-fftw/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

Added: trunk/dports/perl/p5-pdl-fftw/files/patch-fftw.conf.diff
===================================================================
--- trunk/dports/perl/p5-pdl-fftw/files/patch-fftw.conf.diff	                        (rev 0)
+++ trunk/dports/perl/p5-pdl-fftw/files/patch-fftw.conf.diff	2015-03-04 19:54:58 UTC (rev 133537)
@@ -0,0 +1,15 @@
+--- fftw.conf.orig	2015-03-04 07:08:12.000000000 -0800
++++ fftw.conf	2015-03-04 07:09:23.000000000 -0800
+@@ -6,10 +6,10 @@
+ %FFTW_CONFIG = (
+ 
+   # Location to search for the FFTW libs, overrides default if defined
+-  FFTW_LIBS => undef,    # [ '/lib','/usr/lib','/usr/local/lib'],
++  FFTW_LIBS => [ '__PREFIX__/lib' ],    # [ '/lib','/usr/lib','/usr/local/lib'],
+ 
+   # Location to find FFTW includes, overrides default if defined
+-  FFTW_INC => undef,     # ['/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', # 'single'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150304/d075183b/attachment.html>


More information about the macports-changes mailing list