Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

9
math/fftw/DESCR Normal file
View File

@@ -0,0 +1,9 @@
FFTW is a free collection of fast C routines for computing the
Discrete Fourier Transform in one or more dimensions. It includes
complex, real, symmetric, and parallel transforms, and can handle
arbitrary array sizes efficiently. FFTW is typically faster than
other publically-available FFT implementations, and is even
competitive with vendor-tuned libraries. (See our web page for
extensive benchmarks.) To achieve this performance, FFTW uses novel
code-generation and runtime self-optimization techniques (along with
many other tricks).

44
math/fftw/Makefile Normal file
View File

@@ -0,0 +1,44 @@
# $NetBSD: Makefile,v 1.45 2013/06/29 18:59:43 tsutsui Exp $
DISTNAME= fftw-3.3.3
PKGREVISION= 1
CATEGORIES= math
MASTER_SITES= ftp://ftp.fftw.org/pub/fftw/ \
http://www.fftw.org/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.fftw.org/
COMMENT= Collection of fast C routines to compute DFTs
LICENSE= gnu-gpl-v2
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_LANGUAGES= c
USE_LIBTOOL= yes
USE_TOOLS+= gmake
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-shared
.include "options.mk"
PKGCONFIG_OVERRIDE+= fftw.pc.in
INFO_FILES= yes
TEST_TARGET= check
.include "../../mk/bsd.prefs.mk"
.if defined(PKGSRC_RUN_TEST) && !empty(PKGSRC_RUN_TEST:M[Yy][Ee][Ss])
USE_TOOLS+= perl
.endif
PLIST_VARS+= pthreads
PTHREAD_OPTS= native
.include "../../mk/pthread.buildlink3.mk"
.if !empty(PTHREAD_TYPE:Mnative)
CONFIGURE_ARGS+= --enable-threads
PLIST.pthreads= yes
.endif
.include "../../mk/bsd.pkg.mk"

14
math/fftw/PLIST Normal file
View File

@@ -0,0 +1,14 @@
@comment $NetBSD: PLIST,v 1.12 2012/10/24 08:57:46 wiz Exp $
bin/fftw-wisdom
bin/fftw-wisdom-to-conf
include/fftw3.f
include/fftw3.f03
include/fftw3.h
include/fftw3l.f03
include/fftw3q.f03
info/fftw3.info
lib/libfftw3.la
${PLIST.pthreads}lib/libfftw3_threads.la
lib/pkgconfig/fftw3.pc
man/man1/fftw-wisdom-to-conf.1
man/man1/fftw-wisdom.1

13
math/fftw/buildlink3.mk Normal file
View File

@@ -0,0 +1,13 @@
# $NetBSD: buildlink3.mk,v 1.8 2009/03/20 19:24:56 joerg Exp $
BUILDLINK_TREE+= fftw
.if !defined(FFTW_BUILDLINK3_MK)
FFTW_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.fftw+= fftw>=3.0
BUILDLINK_ABI_DEPENDS.fftw+= fftw>=3.1nb1
BUILDLINK_PKGSRCDIR.fftw?= ../../math/fftw
.endif # FFTW_BUILDLINK3_MK
BUILDLINK_TREE+= -fftw

5
math/fftw/distinfo Normal file
View File

@@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.19 2012/11/26 17:36:50 adam Exp $
SHA1 (fftw-3.3.3.tar.gz) = 11487180928d05746d431ebe7a176b52fe205cf9
RMD160 (fftw-3.3.3.tar.gz) = f45e97f06ffaf59b5022ea5e33ef240cb5e84e74
Size (fftw-3.3.3.tar.gz) = 3920661 bytes

19
math/fftw/options.mk Normal file
View File

@@ -0,0 +1,19 @@
# $NetBSD: options.mk,v 1.1 2013/06/29 18:59:43 tsutsui Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.fftw
PKG_SUPPORTED_OPTIONS= fftw-fortran
# Enable fortran support by default on platforms supported by lang/g95.
.if (!empty(MACHINE_ARCH:Mi386) || !empty(MACHINE_ARCH:Mx86_64) || \
!empty(MACHINE_ARCH:Mia64) || !empty(MACHINE_ARCH:Mpowerpc*) || \
!empty(MACHINE_ARCH:Mhppa) || !empty(MACHINE_ARCH:Msparc*) || \
!empty(MACHINE_ARCH:Malpha) || !empty(MACHINE_ARCH:Mmips*))
PKG_SUGGESTED_OPTIONS= fftw-fortran
.endif
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mfftw-fortran)
USE_LANGUAGES+= fortran77
.else
CONFIGURE_ARGS+= --disable-fortran
.endif