From bea0900a06f206ad7bd6b45307981fe9d3542fd0 Mon Sep 17 00:00:00 2001 From: wulf Date: Sun, 2 Oct 2005 12:06:42 +0000 Subject: New package fftwf-3.0.1: A single precision library version of math/fftw --- math/fftwf/DESCR | 11 +++++++++++ math/fftwf/Makefile | 41 +++++++++++++++++++++++++++++++++++++++++ math/fftwf/PLIST | 5 +++++ math/fftwf/buildlink3.mk | 21 +++++++++++++++++++++ math/fftwf/distinfo | 5 +++++ 5 files changed, 83 insertions(+) create mode 100644 math/fftwf/DESCR create mode 100644 math/fftwf/Makefile create mode 100644 math/fftwf/PLIST create mode 100644 math/fftwf/buildlink3.mk create mode 100644 math/fftwf/distinfo (limited to 'math/fftwf') 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 -- cgit v1.2.3