diff options
author | tg <tg@FreeBSD.org> | 1997-02-14 08:53:05 +0000 |
---|---|---|
committer | tg <tg@FreeBSD.org> | 1997-02-14 08:53:05 +0000 |
commit | 50b2a7523752a429340ddbf865084bca3ba493a1 (patch) | |
tree | aeaca6ba13683e02deaf8339d1ff45c1ff4e236b /math/fftpack | |
parent | cfc864f4976f552911af3a7692d89ad36aee4e5c (diff) | |
download | FreeBSD-ports-50b2a7523752a429340ddbf865084bca3ba493a1.zip FreeBSD-ports-50b2a7523752a429340ddbf865084bca3ba493a1.tar.gz |
Import of fftpack, a library of FFT routines from netlib.
Closes PR #2574.
Submitted by: Pedro Giffuni S.
Diffstat (limited to 'math/fftpack')
-rw-r--r-- | math/fftpack/Makefile | 35 | ||||
-rw-r--r-- | math/fftpack/distinfo | 1 | ||||
-rw-r--r-- | math/fftpack/files/makefile.lib | 28 | ||||
-rw-r--r-- | math/fftpack/pkg-comment | 1 | ||||
-rw-r--r-- | math/fftpack/pkg-descr | 5 | ||||
-rw-r--r-- | math/fftpack/pkg-plist | 4 |
6 files changed, 74 insertions, 0 deletions
diff --git a/math/fftpack/Makefile b/math/fftpack/Makefile new file mode 100644 index 0000000..9ac962b --- /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 0000000..0a8371d --- /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 0000000..616db36 --- /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 0000000..83c7ad7 --- /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 0000000..7b202fc --- /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 0000000..b800839 --- /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 |