aboutsummaryrefslogblamecommitdiff
path: root/math/nfft/Makefile
blob: 222d092eb7084f8c43c94882d077cadb865ba93a (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                    
                     
                 

                    
                                 



                                                    
                                
                                      
 
                                  

                    






                                      
 
                            
                   


                                             
                            












                                                                  
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>