summaryrefslogtreecommitdiff
path: root/math/fftwf
diff options
context:
space:
mode:
authorwulf <wulf>2005-10-02 12:06:42 +0000
committerwulf <wulf>2005-10-02 12:06:42 +0000
commitd8b7d9a5ad8606e9930c1090a117723a80eb578b (patch)
tree201795c7157239f668513b2d0e2d198b71cdba25 /math/fftwf
parent70e039a538a4706837ac90961e79d83bb46f947e (diff)
downloadpkgsrc-d8b7d9a5ad8606e9930c1090a117723a80eb578b.tar.gz
New package fftwf-3.0.1: A single precision library version of math/fftw
Diffstat (limited to 'math/fftwf')
-rw-r--r--math/fftwf/DESCR11
-rw-r--r--math/fftwf/Makefile41
-rw-r--r--math/fftwf/PLIST5
-rw-r--r--math/fftwf/buildlink3.mk21
-rw-r--r--math/fftwf/distinfo5
5 files changed, 83 insertions, 0 deletions
diff --git a/math/fftwf/DESCR b/math/fftwf/DESCR
new file mode 100644
index 00000000000..35035176bbd
--- /dev/null
+++ b/math/fftwf/DESCR
@@ -0,0 +1,11 @@
+FFTW is a free collection of fast C routines for computing the
+Discrete Fourier Transform in one or more dimensions. It includes
+complex, real, symmetric, and parallel transforms, and can handle
+arbitrary array sizes efficiently. FFTW is typically faster than
+other publically-available FFT implementations, and is even
+competitive with vendor-tuned libraries. (See our web page for
+extensive benchmarks.) To achieve this performance, FFTW uses novel
+code-generation and runtime self-optimization techniques (along with
+many other tricks).
+
+This package provides the single precision library.
diff --git a/math/fftwf/Makefile b/math/fftwf/Makefile
new file mode 100644
index 00000000000..3f38529e592
--- /dev/null
+++ b/math/fftwf/Makefile
@@ -0,0 +1,41 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/10/02 12:06:42 wulf Exp $
+
+.if (${MACHINE_ARCH} == "powerpc")
+DISTNAME= fftw-3.0.1-fma
+.else
+DISTNAME= fftw-3.0.1
+.endif
+PKGNAME= fftwf-3.0.1
+CATEGORIES= math
+MASTER_SITES= ftp://ftp.fftw.org/pub/fftw/ \
+ http://www.fftw.org/
+
+MAINTAINER= tech-pkg@NetBSD.org
+HOMEPAGE= http://www.fftw.org/
+COMMENT= Collection of fast C routines to compute DFTs
+
+USE_LIBTOOL= yes
+PKGCONFIG_OVERRIDE+= fftw.pc.in
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --enable-shared
+CONFIGURE_ARGS+= --enable-float
+
+DEPENDS+= fftw>=3.0.1:../../math/fftw
+
+.if (${MACHINE_ARCH} == "i386")
+#CONFIGURE_ARGS+= --enable-sse
+CONFIGURE_ARGS+= --with-our-malloc16
+.endif
+USE_LANGUAGES= fortran
+USE_TOOLS+= gmake
+
+TEST_TARGET= check
+
+do-install:
+ ${GMAKE} -C ${WRKSRC} install-libLTLIBRARIES
+ ${GMAKE} -C ${WRKSRC} install-pkgconfigDATA
+ ${GMAKE} -C ${WRKSRC}/tools install-binPROGRAMS
+ ${INSTALL_MAN} ${WRKSRC}/tools/fftwf-wisdom.1 \
+ ${LOCALBASE}/man/man1
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/math/fftwf/PLIST b/math/fftwf/PLIST
new file mode 100644
index 00000000000..0db26fc5871
--- /dev/null
+++ b/math/fftwf/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/10/02 12:06:42 wulf Exp $
+bin/fftwf-wisdom
+lib/libfftw3f.la
+lib/pkgconfig/fftw3f.pc
+man/man1/fftwf-wisdom.1
diff --git a/math/fftwf/buildlink3.mk b/math/fftwf/buildlink3.mk
new file mode 100644
index 00000000000..ef256c18435
--- /dev/null
+++ b/math/fftwf/buildlink3.mk
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2005/10/02 12:06:42 wulf Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+FFTWF_BUILDLINK3_MK:= ${FFTWF_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= fftwf
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nfftwf}
+BUILDLINK_PACKAGES+= fftwf
+
+.if !empty(FFTWF_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.fftwf+= fftwf>=3.0
+BUILDLINK_RECOMMENDED.fftwf+= fftwf>=3.0.1
+BUILDLINK_PKGSRCDIR.fftwf?= ../../math/fftwf
+.endif # FFTWF_BUILDLINK3_MK
+
+.include "../../math/fftw/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/math/fftwf/distinfo b/math/fftwf/distinfo
new file mode 100644
index 00000000000..5ad4d571842
--- /dev/null
+++ b/math/fftwf/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/10/02 12:06:42 wulf Exp $
+
+SHA1 (fftw-3.0.1.tar.gz) = e392a005dd93583f47de29ec4992687aa21bf3a2
+RMD160 (fftw-3.0.1.tar.gz) = 075bbdf5da67bb29117f9f54864db26acd971034
+Size (fftw-3.0.1.tar.gz) = 1946361 bytes