openbsd-ports/math/fftw3/Makefile

60 lines
1.3 KiB
Makefile
Raw Normal View History

2010-11-19 02:23:05 -05:00
# $OpenBSD: Makefile,v 1.20 2010/11/19 07:23:10 espie Exp $
COMMENT-main= C routines for computing the Discrete Fourier Transform
COMMENT-common= common files for the fftw3 packages
2009-07-26 16:54:32 -04:00
V= 3.2.2
DISTNAME= fftw-${V}
PKGNAME= fftw3-${V}
2008-10-08 18:27:22 -04:00
FULLPKGNAME-main= fftw3-${V}
# XXX set it to its default value so that bsd.port.mk won't whine
2010-02-26 13:50:32 -05:00
FULLPKGPATH-main= math/fftw3,-main${FLAVOR_EXT:S/-/,/g}
2008-10-08 18:27:22 -04:00
FULLPKGNAME-common= fftw3-common-${V}
2009-03-26 14:37:47 -04:00
SHARED_LIBS= fftw3 5.0 \
fftw3f 5.0
CATEGORIES= math
HOMEPAGE= http://www.fftw.org/
2006-03-05 18:17:29 -05:00
MAINTAINER= Steven Mestdagh <steven@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ftp://ftp.fftw.org/pub/fftw/ \
2006-02-18 16:14:42 -05:00
http://fftw.mirror.fr/ \
ftp://ftp.fftw.org/pub/fftw/old/
SEPARATE_BUILD= concurrent
2006-11-21 15:42:30 -05:00
MULTI_PACKAGES= -main -common
FLAVORS= double float
FLAVOR?= double
USE_GMAKE= Yes
USE_LIBTOOL= Yes
2010-10-18 16:52:05 -04:00
USE_GROFF = Yes
CONFIGURE_STYLE=gnu
2006-03-05 18:17:29 -05:00
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
2009-03-26 14:37:47 -04:00
--enable-portable-binary
.if ${FLAVOR} == "float"
CONFIGURE_ARGS+=--enable-float
2008-10-08 18:27:22 -04:00
FULLPKGNAME-main= fftw3-float-${V}
.endif
FULLPKGPATH-common= math/fftw3,-common
2010-11-19 02:23:05 -05:00
RUN_DEPENDS-main= ${FULLPKGPATH-common}
2006-11-21 15:42:30 -05:00
WANTLIB-main= c m
PKG_ARCH-common= *
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/fftw3
${INSTALL_DATA} ${WRKSRC}/doc/fftw3.pdf ${PREFIX}/share/doc/fftw3
.include <bsd.port.mk>