2011-07-28 08:30:15 +02:00
|
|
|
# $NetBSD: Makefile,v 1.12 2011/07/28 06:30:15 adam Exp $
|
2005-10-02 14:06:42 +02:00
|
|
|
|
2011-07-28 08:30:15 +02:00
|
|
|
DISTNAME= fftw-3.3
|
|
|
|
PKGNAME= ${DISTNAME:C/fftw/fftwf/}
|
2009-02-17 11:40:47 +01:00
|
|
|
CATEGORIES= math
|
|
|
|
MASTER_SITES= ftp://ftp.fftw.org/pub/fftw/ \
|
|
|
|
http://www.fftw.org/
|
2005-10-02 14:06:42 +02:00
|
|
|
|
2009-02-17 11:40:47 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
|
|
HOMEPAGE= http://www.fftw.org/
|
|
|
|
COMMENT= Collection of fast C routines to compute DFTs
|
2011-07-28 08:30:15 +02:00
|
|
|
LICENSE= gnu-gpl-v2
|
2005-10-02 14:06:42 +02:00
|
|
|
|
2008-03-15 15:18:39 +01:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2005-10-02 14:06:42 +02:00
|
|
|
USE_LIBTOOL= yes
|
|
|
|
PKGCONFIG_OVERRIDE+= fftw.pc.in
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS+= --enable-shared
|
|
|
|
CONFIGURE_ARGS+= --enable-float
|
|
|
|
|
2009-01-18 14:00:07 +01:00
|
|
|
DEPENDS+= fftw>=3.2:../../math/fftw
|
2005-10-02 14:06:42 +02:00
|
|
|
|
|
|
|
.if (${MACHINE_ARCH} == "i386")
|
|
|
|
#CONFIGURE_ARGS+= --enable-sse
|
|
|
|
CONFIGURE_ARGS+= --with-our-malloc16
|
|
|
|
.endif
|
2010-07-30 12:36:22 +02:00
|
|
|
USE_LANGUAGES= c fortran77
|
2005-10-02 14:06:42 +02:00
|
|
|
USE_TOOLS+= gmake
|
2009-01-18 14:00:07 +01:00
|
|
|
# For the "test" target:
|
|
|
|
USE_TOOLS+= perl
|
2005-10-02 14:06:42 +02:00
|
|
|
|
|
|
|
TEST_TARGET= check
|
|
|
|
|
2006-10-14 03:33:50 +02:00
|
|
|
INSTALLATION_DIRS= ${PKGMANDIR}/man1
|
2008-03-15 15:18:39 +01:00
|
|
|
INSTALL_TARGET= install-libLTLIBRARIES install-pkgconfigDATA
|
2006-10-14 03:33:50 +02:00
|
|
|
|
2008-03-15 15:18:39 +01:00
|
|
|
post-install:
|
|
|
|
cd ${WRKSRC}/tools && \
|
|
|
|
${SETENV} ${INSTALL_ENV} ${MAKE_ENV} \
|
|
|
|
${MAKE_PROGRAM} ${MAKE_FLAGS} ${INSTALL_MAKE_FLAGS} \
|
|
|
|
install-binPROGRAMS
|
2006-10-14 03:33:50 +02:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/tools/fftwf-wisdom.1 \
|
2008-03-15 15:18:39 +01:00
|
|
|
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
|
2005-10-02 14:06:42 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|