summaryrefslogtreecommitdiff
path: root/math/fftwf/Makefile
diff options
context:
space:
mode:
authorwulf <wulf@pkgsrc.org>2005-10-02 12:06:42 +0000
committerwulf <wulf@pkgsrc.org>2005-10-02 12:06:42 +0000
commitbea0900a06f206ad7bd6b45307981fe9d3542fd0 (patch)
tree201795c7157239f668513b2d0e2d198b71cdba25 /math/fftwf/Makefile
parent3cb54ed23e3057af7d8a9e3928fb020f95b2afdc (diff)
downloadpkgsrc-bea0900a06f206ad7bd6b45307981fe9d3542fd0.tar.gz
New package fftwf-3.0.1: A single precision library version of math/fftw
Diffstat (limited to 'math/fftwf/Makefile')
-rw-r--r--math/fftwf/Makefile41
1 files changed, 41 insertions, 0 deletions
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"