2006-07-22 06:46:13 +02:00
|
|
|
# $NetBSD: Makefile,v 1.4 2006/07/22 04:46:16 rillig Exp $
|
2005-10-02 14:06:42 +02:00
|
|
|
|
|
|
|
.if (${MACHINE_ARCH} == "powerpc")
|
|
|
|
DISTNAME= fftw-3.0.1-fma
|
|
|
|
.else
|
|
|
|
DISTNAME= fftw-3.0.1
|
|
|
|
.endif
|
|
|
|
PKGNAME= fftwf-3.0.1
|
2006-02-06 00:08:03 +01:00
|
|
|
PKGREVISION= 1
|
2005-10-02 14:06:42 +02:00
|
|
|
CATEGORIES= math
|
|
|
|
MASTER_SITES= ftp://ftp.fftw.org/pub/fftw/ \
|
|
|
|
http://www.fftw.org/
|
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2005-10-02 14:06:42 +02:00
|
|
|
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
|
2006-07-22 06:46:13 +02:00
|
|
|
USE_LANGUAGES= c fortran
|
2005-10-02 14:06:42 +02:00
|
|
|
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"
|