summaryrefslogtreecommitdiff
path: root/math/dfftpack
diff options
context:
space:
mode:
authorjtb <jtb>2000-12-10 03:57:16 +0000
committerjtb <jtb>2000-12-10 03:57:16 +0000
commit690374303c6e6c3f27648901336381b285382408 (patch)
tree434364a3759d63b1ade4108d783a07b3a085e5ca /math/dfftpack
parent93d023058b4963192ee2ce6ada2d9f04b5bf66c7 (diff)
downloadpkgsrc-690374303c6e6c3f27648901336381b285382408.tar.gz
Initial import of new "dfftpack" package:
Double precision version of FFTPACK
Diffstat (limited to 'math/dfftpack')
-rw-r--r--math/dfftpack/Makefile28
-rw-r--r--math/dfftpack/files/Makefile28
-rw-r--r--math/dfftpack/files/md53
-rw-r--r--math/dfftpack/pkg/COMMENT1
-rw-r--r--math/dfftpack/pkg/DESCR6
-rw-r--r--math/dfftpack/pkg/PLIST10
6 files changed, 76 insertions, 0 deletions
diff --git a/math/dfftpack/Makefile b/math/dfftpack/Makefile
new file mode 100644
index 00000000000..e12c44f184b
--- /dev/null
+++ b/math/dfftpack/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/12/10 03:57:16 jtb Exp $
+
+DISTNAME= dfftpack-20001209
+CATEGORIES= math
+MASTER_SITES= ${MASTER_SITE_LOCAL}
+
+MAINTAINER= jtb@netbsd.org
+
+WRKSRC= ${WRKDIR}/dfftpack
+
+USE_FORTRAN= YES
+USE_LIBTOOL= YES
+
+.include "../../mk/bsd.prefs.mk"
+
+pre-build:
+ @${RM} -f ${WRKDIR}/dfftpack/Makefile
+ @${SED} -e 's:%%F77%%:'${FC}':g' \
+ < ${FILESDIR}/Makefile > ${WRKSRC}/Makefile
+
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/dfftpack
+ @for f in README doc doc.double ; do \
+ ${INSTALL_DATA} ${WRKSRC}/$$f ${PREFIX}/share/doc/dfftpack ; done
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/dfftpack
+ ${INSTALL_DATA} ${WRKSRC}/test.f ${PREFIX}/share/examples/dfftpack
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/math/dfftpack/files/Makefile b/math/dfftpack/files/Makefile
new file mode 100644
index 00000000000..0f38683cc7b
--- /dev/null
+++ b/math/dfftpack/files/Makefile
@@ -0,0 +1,28 @@
+LIB = dfftpack
+
+LIBDIR = ${PREFIX}/lib
+F77 = %%F77%%
+FFLAGS = -O3
+
+all: lib$(LIB)
+
+OBJ = zfftb.o cfftb1.o zfftf.o cfftf1.o zffti.o cffti1.o dcosqb.o \
+ cosqb1.o dcosqf.o cosqf1.o dcosqi.o dcost.o dcosti.o ezfft1.o \
+ dzfftb.o dzfftf.o dzffti.o passb.o passb2.o passb3.o passb4.o \
+ passb5.o passf.o passf2.o passf3.o passf4.o passf5.o radb2.o \
+ radb3.o radb4.o radb5.o radbg.o radf2.o radf3.o radf4.o \
+ radf5.o radfg.o dfftb.o rfftb1.o dfftf.o rfftf1.o dffti.o \
+ rffti1.o dsinqb.o dsinqf.o dsinqi.o dsint.o sint1.o dsinti.o
+
+lib$(LIB): $(OBJ)
+ @$(LIBTOOL) --mode=link $(F77) -O -o lib$(LIB).la $(OBJ:.o=.lo) \
+ -rpath $(LIBDIR) --version-info 0:0
+
+.f.o:
+ @$(LIBTOOL) --mode=compile $(F77) $(FFLAGS) -c $*.f
+
+install: lib$(LIB)
+ @$(LIBTOOL) --mode=install install -c lib$(LIB).la $(LIBDIR)
+
+clean:
+ rm -rf *.o *.lo .libs lib$(LIB).la
diff --git a/math/dfftpack/files/md5 b/math/dfftpack/files/md5
new file mode 100644
index 00000000000..6445bb9b01a
--- /dev/null
+++ b/math/dfftpack/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/12/10 03:57:16 jtb Exp $
+
+MD5 (dfftpack-20001209.tar.gz) = 9dcd2e14867e5c39aa09389d2d694062
diff --git a/math/dfftpack/pkg/COMMENT b/math/dfftpack/pkg/COMMENT
new file mode 100644
index 00000000000..82f8b57806c
--- /dev/null
+++ b/math/dfftpack/pkg/COMMENT
@@ -0,0 +1 @@
+Double precision version of FFTPACK
diff --git a/math/dfftpack/pkg/DESCR b/math/dfftpack/pkg/DESCR
new file mode 100644
index 00000000000..079128385ed
--- /dev/null
+++ b/math/dfftpack/pkg/DESCR
@@ -0,0 +1,6 @@
+FFTPACK is a collection of FORTRAN 77 subroutines for the computation
+of the Fast Fourier Transform of both real and complex periodic
+sequences.
+
+This version of FFTPACK was converted to double precision by
+Hugh C. Pumphrey.
diff --git a/math/dfftpack/pkg/PLIST b/math/dfftpack/pkg/PLIST
new file mode 100644
index 00000000000..8f2db55773b
--- /dev/null
+++ b/math/dfftpack/pkg/PLIST
@@ -0,0 +1,10 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/12/10 03:57:16 jtb Exp $
+lib/libdfftpack.a
+lib/libdfftpack.la
+lib/libdfftpack.so.0.0
+share/doc/dfftpack/README
+share/doc/dfftpack/doc
+share/doc/dfftpack/doc.double
+share/examples/dfftpack/test.f
+@dirrm share/examples/dfftpack
+@dirrm share/doc/dfftpack