diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2002-05-15 20:10:16 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2002-05-15 20:10:16 +0000 |
commit | 6dc9df4da91cb922c2936b7bc5a1bcce7e926341 (patch) | |
tree | 4d74f222df63ba7aa8d45cb19b430b6af489939d /math | |
parent | f023fb8b4d7b75d0e8e62e78a47741c73e9cea6c (diff) |
Notes
Diffstat (limited to 'math')
-rw-r--r-- | math/Makefile | 1 | ||||
-rw-r--r-- | math/djbfft/Makefile | 56 | ||||
-rw-r--r-- | math/djbfft/distinfo | 1 | ||||
-rw-r--r-- | math/djbfft/pkg-comment | 1 | ||||
-rw-r--r-- | math/djbfft/pkg-descr | 9 | ||||
-rw-r--r-- | math/djbfft/pkg-plist | 11 |
6 files changed, 79 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile index d4b2b246379d..07c9a076bf14 100644 --- a/math/Makefile +++ b/math/Makefile @@ -21,6 +21,7 @@ SUBDIR += concorde SUBDIR += cxsc SUBDIR += dcdflib + SUBDIR += djbfft SUBDIR += eispack SUBDIR += eval SUBDIR += femlab diff --git a/math/djbfft/Makefile b/math/djbfft/Makefile new file mode 100644 index 000000000000..91af6aeec616 --- /dev/null +++ b/math/djbfft/Makefile @@ -0,0 +1,56 @@ +# New ports collection makefile for: djbfft +# Date created: Wed May 15 16:29:51 BRT 2002 +# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= djbfft +PORTVERSION= 0.76 +CATEGORIES= math +MASTER_SITES= http://cr.yp.to/djbfft/ + +MAINTAINER= lioux@FreeBSD.org + +ALL_TARGET= +INSTALL_TARGET=setup check + +post-patch: + @find ${WRKSRC} -type f -exec \ + ${PERL} -pi -e 's!(djbfft.a)!lib\1!' {} \; + @${PERL} -pi -e 's|("include)|\1/${PORTNAME}|' ${WRKSRC}/hier.c + +do-configure: + @${ECHO_CMD} '${CC} ${CFLAGS}' > ${WRKSRC}/conf-cc + @${ECHO_CMD} '${CC}' > ${WRKSRC}/conf-ld + @${ECHO_CMD} ${PREFIX} > ${WRKSRC}/conf-home +.ifdef(WITH_OPT_PENTIUM) + @${ECHO_CMD} 'pentium' > ${WRKSRC}/conf-opt +.endif +.ifdef(WITH_OPT_PPRO) + @${ECHO_CMD} 'ppro' > ${WRKSRC}/conf-opt +.endif +.ifdef(WITH_OPT_SPARC) + @${ECHO_CMD} 'sparc' > ${WRKSRC}/conf-opt +.endif + +pre-install: + @${MKDIR} ${PREFIX}/include/${PORTNAME} + +.include <bsd.port.pre.mk> + +pre-everything:: +.ifndef(WITH_OPT_PENTIUM) + @${ECHO_MSG} '===> Set WITH_OPT_PENTIUM to optimize for both Pentium and Pentium MMX' + @${ECHO_MSG} ' like processors.' +.endif +.ifndef(WITH_OPT_PPRO) + @${ECHO_MSG} '===> Set WITH_OPT_PPRO to optimize for Pentium Pro, Pentium II, and' + @${ECHO_MSG} ' Pentium III like processors.' +.endif +.ifndef(WITH_OPT_SPARC) + @${ECHO_MSG} '===> Set WITH_OPT_SPARC to optimize for Sparc family of processors.' + @${ECHO_MSG} ' Works well with UltraSPARC-I and UltraSPARC-II processors.' +.endif + +.include <bsd.port.post.mk> diff --git a/math/djbfft/distinfo b/math/djbfft/distinfo new file mode 100644 index 000000000000..febafa7af64e --- /dev/null +++ b/math/djbfft/distinfo @@ -0,0 +1 @@ +MD5 (djbfft-0.76.tar.gz) = 9349eff24c1f9fdfb98cfb51bece8efb diff --git a/math/djbfft/pkg-comment b/math/djbfft/pkg-comment new file mode 100644 index 000000000000..8aa7fac42c6c --- /dev/null +++ b/math/djbfft/pkg-comment @@ -0,0 +1 @@ +An extremely fast library for floating-point convolution diff --git a/math/djbfft/pkg-descr b/math/djbfft/pkg-descr new file mode 100644 index 000000000000..53fdf4daa11a --- /dev/null +++ b/math/djbfft/pkg-descr @@ -0,0 +1,9 @@ +djbfft is an extremely fast library for floating-point convolution. +The current version holds most of the speed records for double-precision +FFTs on general-purpose computers. + +djbfft provides power-of-2 complex FFTs, real FFTs at twice the +speed, and fast multiplication of complex arrays. Single precision +and double precision are equally supported. + +WWW: http://cr.yp.to/djbfft.html diff --git a/math/djbfft/pkg-plist b/math/djbfft/pkg-plist new file mode 100644 index 000000000000..b48bbc3edabb --- /dev/null +++ b/math/djbfft/pkg-plist @@ -0,0 +1,11 @@ +include/djbfft/complex4.h +include/djbfft/complex8.h +include/djbfft/fftc4.h +include/djbfft/fftc8.h +include/djbfft/fftfreq.h +include/djbfft/fftr4.h +include/djbfft/fftr8.h +include/djbfft/real4.h +include/djbfft/real8.h +lib/libdjbfft.a +@dirrm include/djbfft |