[141518] trunk/dports/math

dstrubbe at macports.org dstrubbe at macports.org
Sat Dec 12 01:52:15 PST 2015


Revision: 141518
          https://trac.macports.org/changeset/141518
Author:   dstrubbe at macports.org
Date:     2015-10-19 18:40:39 -0700 (Mon, 19 Oct 2015)
Log Message:
-----------
pfft: New port. parallel FFTW.

Added Paths:
-----------
    trunk/dports/math/pfft/
    trunk/dports/math/pfft/Portfile

Added: trunk/dports/math/pfft/Portfile
===================================================================
--- trunk/dports/math/pfft/Portfile	                        (rev 0)
+++ trunk/dports/math/pfft/Portfile	2015-10-20 01:40:39 UTC (rev 141518)
@@ -0,0 +1,55 @@
+# -*- 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       mpi 1.0
+PortGroup       active_variants 1.1
+
+name            pfft
+version         1.0.8-alpha
+categories      math
+license         GPL-3
+platforms       darwin
+maintainers     dstrubbe
+homepage        https://www-user.tu-chemnitz.de/~potts/workgroup/pippig/software.php.en#pfft
+
+master_sites    http://www.tu-chemnitz.de/~potts/workgroup/pippig/software
+
+description     An extension of FFTW to massively parallel architectures
+
+long_description \
+PFFT is a parallel FFT software library based on MPI.
+
+checksums       rmd160  afb6d254b2b517e4c39c8eb1e73166c5736b8087 \
+                sha256  6c43960ad72fcff7e49b87c604c5f471fb5890f1bd11ce750ab52f035e7c5317
+
+mpi.setup       require
+
+depends_lib     port:fftw-3
+mpi.enforce_variant fftw-3
+
+test.run        yes
+test.target     check
+# strangely, "make check" only builds the test executables but does not run them.
+post-test {
+    reinplace -W ${worksrcpath}/tests "s|mpirun|${mpi.exec}|g" run_checks.sh
+    system -W ${worksrcpath}/tests ./run_checks.sh
+}
+
+use_parallel_build yes
+
+require_active_variants fftw-3 pfft_patches
+
+pre-configure {
+    if {![active_variants fftw-3 pfft_patches]} {
+        ui_warn "You are recommended to install fftw-3 with variant +pfft_patches."
+    }
+
+    configure.args-append  MPICC=${mpi.cc} MPIFC=${mpi.f90} \
+        CPPFLAGS=-I${prefix}/include LDFLAGS=-L${prefix} --disable-shared
+}
+
+livecheck.type  regex
+# [sic], it is really pnfft in the URL even though that refers to a different piece of software
+livecheck.url   https://www-user.tu-chemnitz.de/~potts/workgroup/pippig/software.php.en#pnfftDownloads
+livecheck.regex ${name}-(\[0-9\\-a-z\.\]+).tar.gz


Property changes on: trunk/dports/math/pfft/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/b01e06b2/attachment.html>


More information about the macports-changes mailing list