Commit 943e271c authored by Muhammad Moinur Rahman's avatar Muhammad Moinur Rahman
Browse files

math/djbfft: Remove expired port

2023-09-30 math/djbfft: Abandonware, slow and untouched by upstream for over 20 years
parent 370bff1e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -7884,3 +7884,4 @@ graphics/povray36|graphics/povray37|2023-09-30|Has expired: No longer supported
lang/onyx||2023-09-30|Has expired: Requires deprecated cook port
lang/perl5.32|lang/perl5.34|2023-09-30|Has expired: Support ends three years after .0 release. Please upgrade to a more recent version of Perl
mail/qtools||2023-09-30|Has expired: Upstream last activity in 2003
math/djbfft||2023-09-30|Has expired: Abandonware, slow and untouched by upstream for over 20 years
+0 −1
Original line number Diff line number Diff line
@@ -274,7 +274,6 @@
    SUBDIR += dihydrogen
    SUBDIR += dionysus
    SUBDIR += disco
    SUBDIR += djbfft
    SUBDIR += drgeo
    SUBDIR += dsdp
    SUBDIR += dune-alugrid

math/djbfft/Makefile

deleted100644 → 0
+0 −74
Original line number Diff line number Diff line
PORTNAME=	djbfft
PORTVERSION=	0.76
PORTREVISION=	2
CATEGORIES=	math
MASTER_SITES=	http://cr.yp.to/djbfft/

MAINTAINER=	multimedia@FreeBSD.org
COMMENT=	Extremely fast library for floating-point convolution
WWW=		https://cr.yp.to/djbfft.html

# Converted from LEGAL_TEXT
LICENSE=	djb
LICENSE_NAME=	djb
LICENSE_TEXT=	No license -- see http://cr.yp.to/softwarelaw.html
LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept

DEPRECATED=	Abandonware, slow and untouched by upstream for over 20 years
EXPIRATION_DATE=2023-09-30

DISABLE_SIZE=	yes
ALL_TARGET=
INSTALL_TARGET=setup check

HEADER_FILES=	complex4.h complex8.h fftc4.h fftc8.h fftfreq.h \
		fftr4.h fftr8.h real4.h real8.h
LIB_FILES=	libdjbfft.a

post-patch:
	@${FIND} ${WRKSRC} -type f -exec \
		${REINPLACE_CMD} -E -e 's!(djbfft.a)!lib\1!' {} \;
	@${REINPLACE_CMD} -E 's|("include)|\1/${PORTNAME}|' ${WRKSRC}/hier.c

do-configure:
	@${ECHO_CMD} '${CC} ${CFLAGS} -fPIC' > ${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-su-install:
	@${MKDIR} ${STAGEDIR}${PREFIX}/include/${PORTNAME}

do-install:
.for file in ${HEADER_FILES}
	@${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${PREFIX}/include/${PORTNAME}
.endfor
.for file in ${LIB_FILES}
	@${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${PREFIX}/lib
.endfor

.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>

math/djbfft/distinfo

deleted100644 → 0
+0 −2
Original line number Diff line number Diff line
SHA256 (djbfft-0.76.tar.gz) = 799d929c3631a77ef0e16a2449e4fc11af8540b62359f8733ac2899fca2b394c
SIZE (djbfft-0.76.tar.gz) = 80092
+0 −8
Original line number Diff line number Diff line
--- accuracy.c.orig	2009-03-27 09:48:32.000000000 -0300
+++ accuracy.c	2009-03-27 09:48:45.000000000 -0300
@@ -1,4 +1,5 @@
 #include <stdio.h>
+#include <stdlib.h>
 #include <math.h>
 #include "fftc4.h"
 #include "fftc8.h"
Loading