diff options
author | lioux <lioux@FreeBSD.org> | 2002-05-16 04:10:16 +0800 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2002-05-16 04:10:16 +0800 |
commit | 1fac788a0b6686de719e874708790ffb5db0ee5b (patch) | |
tree | a815cb175566a4da4e9bb672b592583797be1284 /math/djbfft/Makefile | |
parent | 4e8fb4fd4354ecc4a42d900b09c3855b0e44108b (diff) | |
download | freebsd-ports-gnome-1fac788a0b6686de719e874708790ffb5db0ee5b.tar.gz freebsd-ports-gnome-1fac788a0b6686de719e874708790ffb5db0ee5b.tar.zst freebsd-ports-gnome-1fac788a0b6686de719e874708790ffb5db0ee5b.zip |
New port djbfft version 0.76: An extremely fast library for
floating-point convolution
Diffstat (limited to 'math/djbfft/Makefile')
-rw-r--r-- | math/djbfft/Makefile | 56 |
1 files changed, 56 insertions, 0 deletions
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> |