git: 99ae457d298b - main - math/rapid: Remove expired port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 31 Dec 2025 11:38:32 UTC
The branch main has been updated by rene:
URL: https://cgit.FreeBSD.org/ports/commit/?id=99ae457d298b6eedc4202cfc82c52b971d85eb30
commit 99ae457d298b6eedc4202cfc82c52b971d85eb30
Author: Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2025-12-31 11:37:28 +0000
Commit: Rene Ladan <rene@FreeBSD.org>
CommitDate: 2025-12-31 11:38:26 +0000
math/rapid: Remove expired port
2025-12-31 math/rapid: unfetchable
---
MOVED | 1 +
math/Makefile | 1 -
math/rapid/Makefile | 39 -------------
math/rapid/distinfo | 2 -
math/rapid/files/patch-Makefile | 9 ---
math/rapid/files/patch-RAPID.C | 11 ----
math/rapid/files/patch-build.C | 22 -------
math/rapid/files/patch-collide.C | 11 ----
math/rapid/files/patch-overlap.C | 22 -------
math/rapid/files/patch-sample_client.C | 11 ----
math/rapid/files/pkg-message.in | 13 -----
math/rapid/files/rapid.1 | 102 ---------------------------------
math/rapid/pkg-descr | 10 ----
math/rapid/pkg-plist | 9 ---
14 files changed, 1 insertion(+), 262 deletions(-)
diff --git a/MOVED b/MOVED
index cc9040e141ce..7385fe20d4a7 100644
--- a/MOVED
+++ b/MOVED
@@ -4950,3 +4950,4 @@ audio/pc-mixer||2025-12-31|Has expired: Abandoned upstream and depends on deprec
devel/bam||2025-12-31|Has expired: Outdated, current release in tree is from 2013 while latest upstream is 2018
devel/libunit||2025-12-31|Has expired: Upstream repo archived on Oct 8 2025
x11-fonts/powerline-fonts|x11-fonts/nerd-fonts|2025-12-31|Has expired: Use x11-fonts/nerd-fonts instead
+math/rapid||2025-12-31|Has expired: unfetchable
diff --git a/math/Makefile b/math/Makefile
index 6b53c1230054..fdb2cc3502c3 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -1164,7 +1164,6 @@
SUBDIR += qxfun
SUBDIR += randlib
SUBDIR += rankwidth
- SUBDIR += rapid
SUBDIR += readstat
SUBDIR += reduce
SUBDIR += reduce-psl
diff --git a/math/rapid/Makefile b/math/rapid/Makefile
deleted file mode 100644
index 609e712bbe37..000000000000
--- a/math/rapid/Makefile
+++ /dev/null
@@ -1,39 +0,0 @@
-PORTNAME= rapid
-PORTVERSION= 2.01
-PORTREVISION= 1
-CATEGORIES= math science graphics
-MASTER_SITES= http://www.cs.sunysb.edu/~algorith/implement/RAPID/distrib/
-DISTNAME= RAPID_v2_01
-
-MAINTAINER= jwb@FreeBSD.org
-COMMENT= Robust and Accurate Polygon Interference Detection
-WWW= http://www.cs.unc.edu/~geom/OBB/OBBT.html
-
-LICENSE= UNKNOWN
-LICENSE_NAME= unknown
-LICENSE_TEXT= For any commercial purpose, you must request a license from \
- http://www.cs.unc.edu/~geom/OBB/OBBT.html
-LICENSE_PERMS= dist-mirror no-dist-sell pkg-mirror no-pkg-sell no-pkg-mirror \
- auto-accept
-
-BROKEN= unfetchable
-EXPIRATION_DATE= 2025-12-31
-
-SUB_FILES= pkg-message
-
-ALL_TARGET=
-MAKE_JOBS_UNSAFE= yes
-MAKE_ENV+= V=1
-
-.include <bsd.port.pre.mk>
-
-post-extract:
- ${REINPLACE_CMD} -E "s/friend RAPID_Collide/friend int RAPID_Collide/" ${WRKSRC}/RAPID_private.H
-
-do-install:
- ${MKDIR} ${STAGEDIR}${PREFIX}/include/RAPID
- ${INSTALL_DATA} ${WRKSRC}/*.H ${STAGEDIR}${PREFIX}/include/RAPID
- ${INSTALL_DATA} ${WRKSRC}/libRAPID.a ${STAGEDIR}${PREFIX}/lib
- ${INSTALL_MAN} ${FILESDIR}/rapid.1 ${STAGEDIR}${PREFIX}/share/man/man1
-
-.include <bsd.port.post.mk>
diff --git a/math/rapid/distinfo b/math/rapid/distinfo
deleted file mode 100644
index 39b2f2858c2d..000000000000
--- a/math/rapid/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (RAPID_v2_01.tar.gz) = f924759b9fe144a2ed40fab54047d3bad091ff2ee857e81b70e1b466dde91143
-SIZE (RAPID_v2_01.tar.gz) = 24123
diff --git a/math/rapid/files/patch-Makefile b/math/rapid/files/patch-Makefile
deleted file mode 100644
index 51fc70b66e7e..000000000000
--- a/math/rapid/files/patch-Makefile
+++ /dev/null
@@ -1,9 +0,0 @@
---- Makefile.orig 1997-07-03 16:54:09 UTC
-+++ Makefile
-@@ -1,5 +1,5 @@
-
--CC = CC -O
-+CC = $(CXX) -O
-
- CFLAGS = -I. -I..
-
diff --git a/math/rapid/files/patch-RAPID.C b/math/rapid/files/patch-RAPID.C
deleted file mode 100644
index 1318747cdee6..000000000000
--- a/math/rapid/files/patch-RAPID.C
+++ /dev/null
@@ -1,11 +0,0 @@
---- RAPID.C.orig 2018-05-16 10:56:45 UTC
-+++ RAPID.C
-@@ -40,7 +40,7 @@
-
- #include "RAPID_version.H"
-
--static char rapidtag_data[] = "RAPIDTAG file: "__FILE__" date: "__DATE__" time: "__TIME__;
-+static char rapidtag_data[] = "RAPIDTAG file: " __FILE__ " date: " __DATE__ " time: " __TIME__;
-
- // to silence the compiler's complaints about unreferenced identifiers.
- static void r1(char *f){ r1(f); r1(rapidtag_data); r1(rapid_version);}
diff --git a/math/rapid/files/patch-build.C b/math/rapid/files/patch-build.C
deleted file mode 100644
index 97853e3e974a..000000000000
--- a/math/rapid/files/patch-build.C
+++ /dev/null
@@ -1,22 +0,0 @@
---- build.C.orig 1997-07-03 16:54:10 UTC
-+++ build.C
-@@ -41,7 +41,7 @@
-
- #include "RAPID_version.H"
-
--static char rapidtag_data[] = "RAPIDTAG file: "__FILE__" date: "__DATE__" time: "__TIME__;
-+static char rapidtag_data[] = "RAPIDTAG file: " __FILE__ " date: " __DATE__ " time: " __TIME__;
-
- // to silence the compiler's complaints about unreferenced identifiers.
- static void r1(char *f){ r1(f); r1(rapidtag_data); r1(rapid_version);}
-@@ -419,8 +419,8 @@ box::split_recurse(int *t, int n)
- // see where it lies with respect to axdmp.
- mean_from_moment(c, RAPID_moment[in]);
-
-- if (((pR[0][0]*c[0] + pR[1][0]*c[1] + pR[2][0]*c[2]) < axdmp)
-- && ((n!=2)) || ((n==2) && (i==0)))
-+ if ( (( (pR[0][0]*c[0] + pR[1][0]*c[1] + pR[2][0]*c[2]) < axdmp)
-+ && (n!=2)) || ((n==2) && (i==0)) )
- {
- // accumulate first and second order moments for group 1
- accum_moment(M1, RAPID_moment[in]);
diff --git a/math/rapid/files/patch-collide.C b/math/rapid/files/patch-collide.C
deleted file mode 100644
index cb97df07f5d4..000000000000
--- a/math/rapid/files/patch-collide.C
+++ /dev/null
@@ -1,11 +0,0 @@
---- collide.C.orig 2018-05-16 10:58:09 UTC
-+++ collide.C
-@@ -42,7 +42,7 @@
-
- #include "RAPID_version.H"
-
--static char rapidtag_data[] = "RAPIDTAG file: "__FILE__" date: "__DATE__" time: "__TIME__;
-+static char rapidtag_data[] = "RAPIDTAG file: " __FILE__ " date: " __DATE__ " time: " __TIME__;
-
- // to silence the compiler's complaints about unreferenced identifiers.
- static void r1(char *f){ r1(f); r1(rapidtag_data); r1(rapid_version);}
diff --git a/math/rapid/files/patch-overlap.C b/math/rapid/files/patch-overlap.C
deleted file mode 100644
index 6b3386f128e6..000000000000
--- a/math/rapid/files/patch-overlap.C
+++ /dev/null
@@ -1,22 +0,0 @@
---- overlap.C.orig 2018-05-16 10:58:45 UTC
-+++ overlap.C
-@@ -41,7 +41,7 @@
-
- #include "RAPID_version.H"
-
--static char rapidtag_data[] = "RAPIDTAG file: "__FILE__" date: "__DATE__" time: "__TIME__;
-+static char rapidtag_data[] = "RAPIDTAG file: " __FILE__ " date: " __DATE__ " time: " __TIME__;
-
- // to silence the compiler's complaints about unreferenced identifiers.
- static void r1(char *f){ r1(f); r1(rapidtag_data); r1(rapid_version);}
-@@ -221,8 +221,8 @@ models.
- int
- obb_disjoint(double B[3][3], double T[3], double a[3], double b[3])
- {
-- register double t, s;
-- register int r;
-+ double t, s;
-+ int r;
- double Bf[3][3];
- const double reps = 1e-6;
-
diff --git a/math/rapid/files/patch-sample_client.C b/math/rapid/files/patch-sample_client.C
deleted file mode 100644
index 722da1b58a1b..000000000000
--- a/math/rapid/files/patch-sample_client.C
+++ /dev/null
@@ -1,11 +0,0 @@
---- sample_client.C.orig 1997-07-03 16:54:09 UTC
-+++ sample_client.C
-@@ -42,7 +42,7 @@
- #define LISTS 0
-
-
--main()
-+int main()
- {
- // first, get a couple of boxes in which to put our models
-
diff --git a/math/rapid/files/pkg-message.in b/math/rapid/files/pkg-message.in
deleted file mode 100644
index cee7594393b5..000000000000
--- a/math/rapid/files/pkg-message.in
+++ /dev/null
@@ -1,13 +0,0 @@
-[
-{ type: install
- message: <<EOM
-The RAPID code is offered "as is" and is free for non-commercial use.
-
-To use RAPID for any commercial purpose, you must request a license from
-
- http://www.cs.unc.edu/~geom/OBB/OBBT.html
-
-Redistribution of RAPID code in any form is strictly prohibited.
-EOM
-}
-]
diff --git a/math/rapid/files/rapid.1 b/math/rapid/files/rapid.1
deleted file mode 100644
index 38eb2576ad58..000000000000
--- a/math/rapid/files/rapid.1
+++ /dev/null
@@ -1,102 +0,0 @@
-.TH RAPID 1
-.SH NAME \" Section header
-.PP
-
-RAPID -- Robust and Accurate Polygon Interference Detection
-
-\" Convention:
-\" Underline anything that is typed verbatim - commands, etc.
-.SH SYNOPSIS
-.PP
-.nf
-.na
-#include <RAPID/RAPID.H>
-c++ -I/usr/local/include program.c++ -L/usr/local/lib -lRAPID -lm
-.ad
-.fi
-
-.SH "DESCRIPTION"
-
-.B RAPID
-is a robust and accurate polygon interference detection library for
-large environments composed of unstructured models.
-
-It is applicable to polygon soups - models which contain no adjacency
-information, and obey no topological constraints. The models may
-contain cracks, holes, self-intersections, and nongeneric (e.g.
-coplanar and collinear) configurations.
-
-It is numericaly robust - the algorithm is not subject to conditioning
-problems, and requires no special handling of nongeneric cases (such as
-parallel faces).
-
-The RAPID library is free for non-commercial use. Please use this
-request form to download the latest version. It has a very simple user
-interface: the user need noncommerial use. be familiar with only about
-five function calls. A C++ sample client program illustrates its use.
-
-The current version of RAPID is version 2.01. The previous version was
-1.04 - the change in version designation from 1.xx to 2.xx reflects a
-moderate alteration in the library's interface (mostly just name
-changes). The following changes from version 1.04 have been made:
-
-Use include file "RAPID.H": The RAPID API now requires only that you
-include "RAPID.H" and link to "libRAPID.a" to be able to use the
-library.
-
-Standalone library: RAPID no longer uses the SVM library. RAPID only
-depends on the standard math library, "libm.a", which you probably link
-to anyway.
-
-Use object "RAPID_model" instead of "box": The C++ object into which
-you load polygons is now called "RAPID_model". Previous versions used
-"box," which was a holdover from prerelease implementations, and was
-not a suitable identifier for the API.
-
-Consistent use of "RAPID_" prefix: All the globals, such as those
-which began with "OBBT_" now use the prefix "RAPID_". Note, also, that
-the old constants "ALL_CONTACTS" and "FIRST_CONTACT" have been replaced
-with the symbols "RAPID_ALL_CONSTACTS" and "RAPID_FIRST_CONTACT" in
-RAPID 2.00.
-
-No explicit library initialization: Previous versions required the
-client to call 'box::initialize()' before any other RAPID library call.
-This was a common but unnecessary source of client bugs (people forgot
-to call this routine). RAPID 2.00 no longer requires this, since all
-API routines check to see if the library has been initialized. This
-extra check has had a negligible performance impact.
-
-Revision of model construction interface: RAPID 2.00 requires calls to
-BeginModel() and EndModel() to enclose the AddTri() calls for building
-objects. This more resembles the OpenGL interface, with which many
-clients will likely be familiar. Generally, preprocessing of the
-objects will take place when EndModel() is called. Later versions of
-RAPID will allow special procedures to be placed after the BeginModel()
-call but before the first AddTri() call to give the client more control
-over how the models are preprocessed.
-
-Faster preprocessing: The preprocessing for RAPID has been greatly
-improved in terms of speed. RAPID 2.00 is generally 5 times faster than
-previous versions in preprocessing models. The quality of the
-hierarchies have theoretically been affected, in some ways for the
-better and in some ways for the worse, but we have not conducted a
-thorough study to gauge overall impact of our changes. In a later
-release, we intend to provide an alternative preprocessing algorithm
-which will be computationally expensive but which will build better
-hierarchies.
-
-No support for plain C: Some clients may not consider this an
-improvement, but support for plain C has been discontinued. Of course,
-clients are still able to construct their own plain C wrappers for the
-C++ functions in RAPID. This change has made the implementation of
-RAPID more clean.
-
-.SH "SEE ALSO"
-dtiquery(1)
-
-.SH AUTHOR
-.nf
-.na
-UNC Research Group on Modeling
-http://www.cs.unc.edu/~geom/OBB/OBBT.html
-
diff --git a/math/rapid/pkg-descr b/math/rapid/pkg-descr
deleted file mode 100644
index 4d3effbbd16c..000000000000
--- a/math/rapid/pkg-descr
+++ /dev/null
@@ -1,10 +0,0 @@
-RAPID is a robust and accurate polygon interference detection library for
-large environments composed of unstructured models.
-
-**************************************************************************
-
-The RAPID code is offered "as is" and is free for non-commercial use.
-
-To use RAPID for any commercial purpose, you must request a license.
-
-**************************************************************************
diff --git a/math/rapid/pkg-plist b/math/rapid/pkg-plist
deleted file mode 100644
index 8028332a6a10..000000000000
--- a/math/rapid/pkg-plist
+++ /dev/null
@@ -1,9 +0,0 @@
-include/RAPID/RAPID.H
-include/RAPID/RAPID_private.H
-include/RAPID/RAPID_version.H
-include/RAPID/matvec.H
-include/RAPID/moments.H
-include/RAPID/obb.H
-include/RAPID/overlap.H
-lib/libRAPID.a
-share/man/man1/rapid.1.gz