aboutsummaryrefslogtreecommitdiff
path: root/math/nfft/Makefile
blob: c9f6de2a80393be95a335699da04c4b8814ddfec (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
34
35
36
37
38
39
40
41
42
43
44

PORTNAME=	nfft
PORTVERSION=	3.5.2
PORTREVISION=	1
CATEGORIES=	math

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Nonequispaced fast Fourier transform

LICENSE=	GPLv2

BUILD_DEPENDS=	bash:shells/bash
LIB_DEPENDS=	libfftw3.so:math/fftw3

USES=		autoreconf libtool
USE_GITHUB=	yes
GH_ACCOUNT=	NFFT
USE_LDCONFIG=	yes

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--with-fftw3=${PREFIX}

INSTALL_TARGET=	install-strip
TEST_TARGET=	check

OPTIONS_DEFINE=	DOCS DOXYGEN
OPTIONS_SUB=	yes

DOXYGEN_BUILD_DEPENDS=	doxygen:devel/doxygen
DOXYGEN_ALL_TARGET=	all doc
DOXYGEN_IMPLIES=	DOCS

.include <bsd.port.pre.mk>

post-extract:
	${CP} ${PATCHDIR}/cpow.c ${WRKSRC}/3rdparty

pre-configure:
	cd ${WRKSRC} && bash ./bootstrap.sh

do-configure:
	cd ${WRKSRC} && bash ${WRKSRC}/configure ${CONFIGURE_ARGS}

.include <bsd.port.post.mk>