summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>1997-02-14 08:53:05 +0000
committerThomas Gellekum <tg@FreeBSD.org>1997-02-14 08:53:05 +0000
commit9b7bcc6702e704ac87235a642dd536375fc9beed (patch)
tree58269260bd8ca7d22e1639105a812eb1c3c365f5
parent(1) Use IGNOREFILES correctly. The dist/patchfiles should either be (diff)
Import of fftpack, a library of FFT routines from netlib.
Closes PR #2574. Submitted by: Pedro Giffuni S.
Notes
Notes: svn path=/head/; revision=5603
-rw-r--r--math/bihar/Makefile35
-rw-r--r--math/bihar/distinfo1
-rw-r--r--math/bihar/files/makefile.lib28
-rw-r--r--math/bihar/pkg-comment1
-rw-r--r--math/bihar/pkg-descr5
-rw-r--r--math/bihar/pkg-plist4
-rw-r--r--math/fftpack/Makefile35
-rw-r--r--math/fftpack/distinfo1
-rw-r--r--math/fftpack/files/makefile.lib28
-rw-r--r--math/fftpack/pkg-comment1
-rw-r--r--math/fftpack/pkg-descr5
-rw-r--r--math/fftpack/pkg-plist4
12 files changed, 148 insertions, 0 deletions
diff --git a/math/bihar/Makefile b/math/bihar/Makefile
new file mode 100644
index 000000000000..9ac962bf84df
--- /dev/null
+++ b/math/bihar/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: fftpack
+# Version required: ?
+# Date created: 31 October 1996
+# Whom: pgs
+#
+# $Id$
+#
+
+DISTNAME= fftpack
+PKGNAME= fftpack-1.0
+CATEGORIES= math
+MASTER_SITES= ftp://netlib.bell-labs.com/netlib/
+EXTRACT_SUFX= .tar
+EXTRACT_ARGS= -xvf
+
+MAINTAINER= ports@FreeBSD.org
+
+# ${DISTFILES} is automatically created from the directory contents
+IGNOREFILES= ${DISTFILES}
+
+post-extract:
+ uncompress $(WRKSRC)/*.f.Z
+
+pre-build:
+ ${RM} $(WRKSRC)/.depend
+ ${CP} ${FILESDIR}/makefile.lib ${WRKSRC}/Makefile
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} $(PREFIX)/share/doc/fftlib
+ ${CP} $(WRKSRC)/doc.Z $(PREFIX)/share/doc/fftlib/
+.endif
+ ldconfig -m ${PREFIX}/lib
+
+.include <bsd.port.mk>
diff --git a/math/bihar/distinfo b/math/bihar/distinfo
new file mode 100644
index 000000000000..0a8371d6a718
--- /dev/null
+++ b/math/bihar/distinfo
@@ -0,0 +1 @@
+MD5 (fftpack.tar) = IGNORE
diff --git a/math/bihar/files/makefile.lib b/math/bihar/files/makefile.lib
new file mode 100644
index 000000000000..616db36d0a42
--- /dev/null
+++ b/math/bihar/files/makefile.lib
@@ -0,0 +1,28 @@
+# @(#)Makefile 5.7 (Berkeley) 6/27/91
+
+# FFTPACK sources
+LIBDIR= $(PREFIX)/lib
+NOPROFILE= no
+
+SHLIB_MAJOR= 1
+SHLIB_MINOR= 0
+LIB=fftpack
+SRCS = cfftb.f cfftb1.f cfftf.f cfftf1.f cffti.f cffti1.f cosqb.f \
+ cosqb1.f cosqf.f cosqf1.f cosqi.f cost.f costi.f ezfft1.f \
+ ezfftb.f ezfftf.f ezffti.f passb.f passb2.f passb3.f passb4.f \
+ passb5.f passf.f passf2.f passf3.f passf4.f passf5.f radb2.f \
+ radb3.f radb4.f radb5.f radbg.f radf2.f radf3.f radf4.f \
+ radf5.f radfg.f rfftb.f rfftb1.f rfftf.f rfftf1.f rffti.f \
+ rffti1.f sinqb.f sinqf.f sinqi.f sint.f sint1.f sinti.f
+
+CLEANFILES+= *.c
+
+test: test.o
+ f77 test.o -l$(LIB)
+ time a.out
+
+package: install pkg/+DESC pkg/+ONELINE pkg/+PLIST
+ pkg_create -c pkg/+ONELINE -d pkg/+DESC -f pkg/+PLIST fftpack_bin
+
+.include <bsd.lib.mk>
+
diff --git a/math/bihar/pkg-comment b/math/bihar/pkg-comment
new file mode 100644
index 000000000000..83c7ad75ec2d
--- /dev/null
+++ b/math/bihar/pkg-comment
@@ -0,0 +1 @@
+Fast Fourier Transform libraries
diff --git a/math/bihar/pkg-descr b/math/bihar/pkg-descr
new file mode 100644
index 000000000000..7b202fcc9545
--- /dev/null
+++ b/math/bihar/pkg-descr
@@ -0,0 +1,5 @@
+This package consists of programs which perform Fast Fourier Transforms
+for both complex and real periodic sequences and certain other symmetric
+sequences.
+
+ Paul Swarztrauber, NCAR.
diff --git a/math/bihar/pkg-plist b/math/bihar/pkg-plist
new file mode 100644
index 000000000000..b800839d42a0
--- /dev/null
+++ b/math/bihar/pkg-plist
@@ -0,0 +1,4 @@
+lib/libfftpack.a
+lib/libfftpack.so.1.0
+share/doc/fftlib/doc.Z
+@exec ldconfig -m %B
diff --git a/math/fftpack/Makefile b/math/fftpack/Makefile
new file mode 100644
index 000000000000..9ac962bf84df
--- /dev/null
+++ b/math/fftpack/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: fftpack
+# Version required: ?
+# Date created: 31 October 1996
+# Whom: pgs
+#
+# $Id$
+#
+
+DISTNAME= fftpack
+PKGNAME= fftpack-1.0
+CATEGORIES= math
+MASTER_SITES= ftp://netlib.bell-labs.com/netlib/
+EXTRACT_SUFX= .tar
+EXTRACT_ARGS= -xvf
+
+MAINTAINER= ports@FreeBSD.org
+
+# ${DISTFILES} is automatically created from the directory contents
+IGNOREFILES= ${DISTFILES}
+
+post-extract:
+ uncompress $(WRKSRC)/*.f.Z
+
+pre-build:
+ ${RM} $(WRKSRC)/.depend
+ ${CP} ${FILESDIR}/makefile.lib ${WRKSRC}/Makefile
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} $(PREFIX)/share/doc/fftlib
+ ${CP} $(WRKSRC)/doc.Z $(PREFIX)/share/doc/fftlib/
+.endif
+ ldconfig -m ${PREFIX}/lib
+
+.include <bsd.port.mk>
diff --git a/math/fftpack/distinfo b/math/fftpack/distinfo
new file mode 100644
index 000000000000..0a8371d6a718
--- /dev/null
+++ b/math/fftpack/distinfo
@@ -0,0 +1 @@
+MD5 (fftpack.tar) = IGNORE
diff --git a/math/fftpack/files/makefile.lib b/math/fftpack/files/makefile.lib
new file mode 100644
index 000000000000..616db36d0a42
--- /dev/null
+++ b/math/fftpack/files/makefile.lib
@@ -0,0 +1,28 @@
+# @(#)Makefile 5.7 (Berkeley) 6/27/91
+
+# FFTPACK sources
+LIBDIR= $(PREFIX)/lib
+NOPROFILE= no
+
+SHLIB_MAJOR= 1
+SHLIB_MINOR= 0
+LIB=fftpack
+SRCS = cfftb.f cfftb1.f cfftf.f cfftf1.f cffti.f cffti1.f cosqb.f \
+ cosqb1.f cosqf.f cosqf1.f cosqi.f cost.f costi.f ezfft1.f \
+ ezfftb.f ezfftf.f ezffti.f passb.f passb2.f passb3.f passb4.f \
+ passb5.f passf.f passf2.f passf3.f passf4.f passf5.f radb2.f \
+ radb3.f radb4.f radb5.f radbg.f radf2.f radf3.f radf4.f \
+ radf5.f radfg.f rfftb.f rfftb1.f rfftf.f rfftf1.f rffti.f \
+ rffti1.f sinqb.f sinqf.f sinqi.f sint.f sint1.f sinti.f
+
+CLEANFILES+= *.c
+
+test: test.o
+ f77 test.o -l$(LIB)
+ time a.out
+
+package: install pkg/+DESC pkg/+ONELINE pkg/+PLIST
+ pkg_create -c pkg/+ONELINE -d pkg/+DESC -f pkg/+PLIST fftpack_bin
+
+.include <bsd.lib.mk>
+
diff --git a/math/fftpack/pkg-comment b/math/fftpack/pkg-comment
new file mode 100644
index 000000000000..83c7ad75ec2d
--- /dev/null
+++ b/math/fftpack/pkg-comment
@@ -0,0 +1 @@
+Fast Fourier Transform libraries
diff --git a/math/fftpack/pkg-descr b/math/fftpack/pkg-descr
new file mode 100644
index 000000000000..7b202fcc9545
--- /dev/null
+++ b/math/fftpack/pkg-descr
@@ -0,0 +1,5 @@
+This package consists of programs which perform Fast Fourier Transforms
+for both complex and real periodic sequences and certain other symmetric
+sequences.
+
+ Paul Swarztrauber, NCAR.
diff --git a/math/fftpack/pkg-plist b/math/fftpack/pkg-plist
new file mode 100644
index 000000000000..b800839d42a0
--- /dev/null
+++ b/math/fftpack/pkg-plist
@@ -0,0 +1,4 @@
+lib/libfftpack.a
+lib/libfftpack.so.1.0
+share/doc/fftlib/doc.Z
+@exec ldconfig -m %B