summaryrefslogtreecommitdiff
path: root/math/fftw2
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2003-06-05 20:50:29 +0000
committerwiz <wiz@pkgsrc.org>2003-06-05 20:50:29 +0000
commit594ef3e29dcf8bc2d8c0ccf5f24209df0918e4c3 (patch)
tree1be3d90aa4efe16f475c02ceb36c55894cd9bc7d /math/fftw2
parent5d14a26a4a525e1340b97139af9c5459a6c3336b (diff)
downloadpkgsrc-594ef3e29dcf8bc2d8c0ccf5f24209df0918e4c3.tar.gz
Re-import version 2.1.3 of fftw as fftw2.
Diffstat (limited to 'math/fftw2')
-rw-r--r--math/fftw2/DESCR2
-rw-r--r--math/fftw2/Makefile23
-rw-r--r--math/fftw2/PLIST21
-rw-r--r--math/fftw2/buildlink2.mk26
-rw-r--r--math/fftw2/distinfo6
-rw-r--r--math/fftw2/patches/patch-aa16
-rw-r--r--math/fftw2/patches/patch-ab44
7 files changed, 138 insertions, 0 deletions
diff --git a/math/fftw2/DESCR b/math/fftw2/DESCR
new file mode 100644
index 00000000000..64f045f1436
--- /dev/null
+++ b/math/fftw2/DESCR
@@ -0,0 +1,2 @@
+This is FFTW, v. 2.1.3. FFTW is a collection of fast C routines to
+compute the Discrete Fourier Transform in one or more dimensions.
diff --git a/math/fftw2/Makefile b/math/fftw2/Makefile
new file mode 100644
index 00000000000..bca9fb4e77e
--- /dev/null
+++ b/math/fftw2/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/06/05 20:50:29 wiz Exp $
+
+DISTNAME= fftw-2.1.3
+PKGNAME= fftw2-2.1.3
+CATEGORIES= math
+MASTER_SITES= ftp://ftp.fftw.org/pub/fftw/
+
+MAINTAINER= root@garbled.net
+HOMEPAGE= http://www.fftw.org/
+COMMENT= Collection of fast C routines to compute DFTs
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --enable-shared
+.if ${MACHINE_ARCH} == "i386"
+CONFIGURE_ARGS+= --enable-i386-hacks
+.endif
+USE_FORTRAN= yes
+USE_GMAKE= yes
+INFO_FILES= fftw.info
+TEXINFO_OVERRIDE= YES
+
+.include "../../mk/texinfo.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/math/fftw2/PLIST b/math/fftw2/PLIST
new file mode 100644
index 00000000000..057c98cd14e
--- /dev/null
+++ b/math/fftw2/PLIST
@@ -0,0 +1,21 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/06/05 20:50:29 wiz Exp $
+@unexec ${INSTALL_INFO} --delete %D/info/fftw.info %D/info/dir
+info/fftw.info
+info/fftw.info-1
+info/fftw.info-2
+info/fftw.info-3
+info/fftw.info-4
+info/fftw.info-5
+@exec ${INSTALL_INFO} %D/info/fftw.info %D/info/dir
+include/fftw.h
+include/rfftw.h
+lib/libfftw.a
+lib/libfftw.la
+lib/libfftw.so
+lib/libfftw.so.2
+lib/libfftw.so.2.5
+lib/librfftw.a
+lib/librfftw.la
+lib/librfftw.so
+lib/librfftw.so.2
+lib/librfftw.so.2.5
diff --git a/math/fftw2/buildlink2.mk b/math/fftw2/buildlink2.mk
new file mode 100644
index 00000000000..4033a9be738
--- /dev/null
+++ b/math/fftw2/buildlink2.mk
@@ -0,0 +1,26 @@
+# $NetBSD: buildlink2.mk,v 1.1.1.1 2003/06/05 20:50:29 wiz Exp $
+#
+# This Makefile fragment is included by packages that use fftw2.
+#
+# This file was created automatically using createbuildlink 2.2.
+#
+
+.if !defined(FFTW2_BUILDLINK2_MK)
+FFTW2_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= fftw2
+BUILDLINK_DEPENDS.fftw2?= fftw2>=2.1.3
+BUILDLINK_PKGSRCDIR.fftw2?= ../../math/fftw2
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.fftw2=fftw2
+BUILDLINK_PREFIX.fftw2_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.fftw2+= include/fftw.h
+BUILDLINK_FILES.fftw2+= include/rfftw.h
+BUILDLINK_FILES.fftw2+= lib/libfftw.*
+BUILDLINK_FILES.fftw2+= lib/librfftw.*
+
+BUILDLINK_TARGETS+= fftw2-buildlink
+
+fftw2-buildlink: _BUILDLINK_USE
+
+.endif # FFTW2_BUILDLINK2_MK
diff --git a/math/fftw2/distinfo b/math/fftw2/distinfo
new file mode 100644
index 00000000000..44c0b3df7fe
--- /dev/null
+++ b/math/fftw2/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/06/05 20:50:29 wiz Exp $
+
+SHA1 (fftw-2.1.3.tar.gz) = 5796f2f904f66630024bf130880ec845333cda18
+Size (fftw-2.1.3.tar.gz) = 1139406 bytes
+SHA1 (patch-aa) = 7a451f7aa2d4fe0e5134d014006c63d077951726
+SHA1 (patch-ab) = 64fdc5b9a8d6da22714ec0f05ff7716bfcbc696a
diff --git a/math/fftw2/patches/patch-aa b/math/fftw2/patches/patch-aa
new file mode 100644
index 00000000000..61434ceecf4
--- /dev/null
+++ b/math/fftw2/patches/patch-aa
@@ -0,0 +1,16 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/06/05 20:50:29 wiz Exp $
+
+--- doc/fftw.texi.orig Sat Mar 3 16:17:10 2001
++++ doc/fftw.texi
+@@ -5,6 +5,11 @@
+ @settitle FFTW
+ @c %**end of header
+
++@dircategory Libraries
++@direntry
++* FFTW: (fftw). Collection of fast C routines to compute DFTs.
++@end direntry
++
+ @include version.texi
+ @setchapternewpage odd
+ @c define constant index (ct)
diff --git a/math/fftw2/patches/patch-ab b/math/fftw2/patches/patch-ab
new file mode 100644
index 00000000000..05dce109217
--- /dev/null
+++ b/math/fftw2/patches/patch-ab
@@ -0,0 +1,44 @@
+$NetBSD: patch-ab,v 1.1.1.1 2003/06/05 20:50:29 wiz Exp $
+
+--- configure.orig Mon Nov 8 01:45:45 1999
++++ configure
+@@ -2215,6 +2215,7 @@
+ int main() {
+ foobar();
+ ; return 0; }
++void MAIN__(void){abort();}
+ EOF
+ if { (eval echo configure:2220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+ rm -rf conftest*
+@@ -2230,6 +2231,7 @@
+ int main() {
+ foobar_();
+ ; return 0; }
++void MAIN__(void){abort();}
+ EOF
+ if { (eval echo configure:2235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+ rm -rf conftest*
+@@ -2245,6 +2247,7 @@
+ int main() {
+ FOOBAR();
+ ; return 0; }
++void MAIN__(void){abort();}
+ EOF
+ if { (eval echo configure:2250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+ rm -rf conftest*
+@@ -2260,6 +2263,7 @@
+ int main() {
+ FOOBAR_();
+ ; return 0; }
++void MAIN__(void){abort();}
+ EOF
+ if { (eval echo configure:2265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+ rm -rf conftest*
+@@ -2337,6 +2341,7 @@
+ int main() {
+ $mangle_try();
+ ; return 0; }
++void MAIN__(void){abort();}
+ EOF
+ if { (eval echo configure:2342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+ rm -rf conftest*