d14975a27c
* Performance improvements for some multidimensional r2c/c2r transforms; thanks to Eugene Miloslavsky for his benchmark reports. * Compile with icc on MacOS X, use better icc compiler flags. * Compilation fixes for systems where snprintf is defined as a macro; thanks to Marcus Mae for the bug report. * Fortran documentation now recommends not using dfftw_execute, because of reports of problems with various Fortran compilers; it is better to use dfftw_execute_dft etcetera. * Some documentation clarifications, e.g. of fact that --enable-openmp and --enable-threads are mutually exclusive (thanks to Long To), and document slightly odd behavior of plan_guru_r2r in Fortran. * FAQ was accidentally omitted from 3.2 tarball. * Remove some extraneous (harmless) files accidentally included in a subdirectory of the 3.2 tarball.
45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.9 2009/02/17 10:40:47 adam Exp $
|
|
|
|
DISTNAME= fftw-3.2.1
|
|
PKGNAME= fftwf-3.2.1
|
|
CATEGORIES= math
|
|
MASTER_SITES= ftp://ftp.fftw.org/pub/fftw/ \
|
|
http://www.fftw.org/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.fftw.org/
|
|
COMMENT= Collection of fast C routines to compute DFTs
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
USE_LIBTOOL= yes
|
|
PKGCONFIG_OVERRIDE+= fftw.pc.in
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --enable-shared
|
|
CONFIGURE_ARGS+= --enable-float
|
|
|
|
DEPENDS+= fftw>=3.2:../../math/fftw
|
|
|
|
.if (${MACHINE_ARCH} == "i386")
|
|
#CONFIGURE_ARGS+= --enable-sse
|
|
CONFIGURE_ARGS+= --with-our-malloc16
|
|
.endif
|
|
USE_LANGUAGES= c fortran
|
|
USE_TOOLS+= gmake
|
|
# For the "test" target:
|
|
USE_TOOLS+= perl
|
|
|
|
TEST_TARGET= check
|
|
|
|
INSTALLATION_DIRS= ${PKGMANDIR}/man1
|
|
INSTALL_TARGET= install-libLTLIBRARIES install-pkgconfigDATA
|
|
|
|
post-install:
|
|
cd ${WRKSRC}/tools && \
|
|
${SETENV} ${INSTALL_ENV} ${MAKE_ENV} \
|
|
${MAKE_PROGRAM} ${MAKE_FLAGS} ${INSTALL_MAKE_FLAGS} \
|
|
install-binPROGRAMS
|
|
${INSTALL_MAN} ${WRKSRC}/tools/fftwf-wisdom.1 \
|
|
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|