aboutsummaryrefslogtreecommitdiffstats
path: root/math/fftw3/Makefile
blob: cd6ce1b0aad568a5cf6888e0ac642e05ee92a6f3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# New ports collection makefile for: fftw
# Version required: 2.1.2
# Date created:     Dec 28 1998
# Whom:         Lars Koeller <lkoeller@cc.fh-lippe.de>
#
# $FreeBSD$
#

DISTNAME=   fftw-2.1.2
CATEGORIES= math
MASTER_SITES=   ftp://ftp.fftw.org/pub/fftw/ \
        ftp://theory.lcs.mit.edu/pub/fftw/  \
        ftp://pm.cse.rmit.edu.au/pub/dsp/fftw/

MAINTAINER= lkoeller@cc.fh-lippe.de

.include <bsd.port.pre.mk>

GNU_CONFIGURE=  yes
USE_GMAKE=  yes

.if ${ARCH} == "i386"
CONFIGURE_ARGS= --enable-i386-hacks
.endif
CONFIGURE_ARGS+=--enable-shared

post-install:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${PREFIX}/share/doc/fftw
    ${CP} ${WRKSRC}/doc/fftw.ps ${PREFIX}/share/doc/fftw
.endif

.include <bsd.port.post.mk>