Import of fftpack, a library of FFT routines from netlib.
Closes PR #2574. Submitted by: Pedro Giffuni S.
This commit is contained in:
parent
eaed37dd49
commit
9b7bcc6702
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=5603
12 changed files with 148 additions and 0 deletions
35
math/bihar/Makefile
Normal file
35
math/bihar/Makefile
Normal file
|
@ -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>
|
1
math/bihar/distinfo
Normal file
1
math/bihar/distinfo
Normal file
|
@ -0,0 +1 @@
|
|||
MD5 (fftpack.tar) = IGNORE
|
28
math/bihar/files/makefile.lib
Normal file
28
math/bihar/files/makefile.lib
Normal file
|
@ -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>
|
||||
|
1
math/bihar/pkg-comment
Normal file
1
math/bihar/pkg-comment
Normal file
|
@ -0,0 +1 @@
|
|||
Fast Fourier Transform libraries
|
5
math/bihar/pkg-descr
Normal file
5
math/bihar/pkg-descr
Normal file
|
@ -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.
|
4
math/bihar/pkg-plist
Normal file
4
math/bihar/pkg-plist
Normal file
|
@ -0,0 +1,4 @@
|
|||
lib/libfftpack.a
|
||||
lib/libfftpack.so.1.0
|
||||
share/doc/fftlib/doc.Z
|
||||
@exec ldconfig -m %B
|
35
math/fftpack/Makefile
Normal file
35
math/fftpack/Makefile
Normal file
|
@ -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>
|
1
math/fftpack/distinfo
Normal file
1
math/fftpack/distinfo
Normal file
|
@ -0,0 +1 @@
|
|||
MD5 (fftpack.tar) = IGNORE
|
28
math/fftpack/files/makefile.lib
Normal file
28
math/fftpack/files/makefile.lib
Normal file
|
@ -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>
|
||||
|
1
math/fftpack/pkg-comment
Normal file
1
math/fftpack/pkg-comment
Normal file
|
@ -0,0 +1 @@
|
|||
Fast Fourier Transform libraries
|
5
math/fftpack/pkg-descr
Normal file
5
math/fftpack/pkg-descr
Normal file
|
@ -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.
|
4
math/fftpack/pkg-plist
Normal file
4
math/fftpack/pkg-plist
Normal file
|
@ -0,0 +1,4 @@
|
|||
lib/libfftpack.a
|
||||
lib/libfftpack.so.1.0
|
||||
share/doc/fftlib/doc.Z
|
||||
@exec ldconfig -m %B
|
Loading…
Reference in a new issue