2017-12-03 23:12:34 +00:00
|
|
|
PORTNAME= nfft
|
2020-12-17 09:30:49 +00:00
|
|
|
PORTVERSION= 3.5.2
|
2021-01-08 07:47:02 +00:00
|
|
|
PORTREVISION= 1
|
2017-12-03 23:12:34 +00:00
|
|
|
CATEGORIES= math
|
|
|
|
|
2020-03-02 17:35:42 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2017-12-03 23:12:34 +00:00
|
|
|
COMMENT= Nonequispaced fast Fourier transform
|
|
|
|
|
|
|
|
LICENSE= GPLv2
|
|
|
|
|
|
|
|
BUILD_DEPENDS= bash:shells/bash
|
2020-08-02 18:07:43 +00:00
|
|
|
LIB_DEPENDS= libfftw3.so:math/fftw3
|
2017-12-03 23:12:34 +00:00
|
|
|
|
|
|
|
USES= autoreconf libtool
|
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= NFFT
|
2020-08-02 18:07:43 +00:00
|
|
|
USE_LDCONFIG= yes
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --with-fftw3=${PREFIX}
|
|
|
|
|
|
|
|
INSTALL_TARGET= install-strip
|
|
|
|
TEST_TARGET= check
|
2017-12-03 23:12:34 +00:00
|
|
|
|
2018-09-10 13:14:50 +00:00
|
|
|
OPTIONS_DEFINE= DOCS DOXYGEN
|
2018-09-10 13:16:16 +00:00
|
|
|
OPTIONS_SUB= yes
|
2017-12-03 23:12:34 +00:00
|
|
|
|
|
|
|
DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen
|
|
|
|
DOXYGEN_ALL_TARGET= all doc
|
2018-09-10 13:14:50 +00:00
|
|
|
DOXYGEN_IMPLIES= DOCS
|
2017-12-03 23:12:34 +00:00
|
|
|
|
|
|
|
.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>
|