git: 77dc9dabebd8 - main - editors/openoffice-4: Switch to bundled lucene.

From: Don Lewis <truckman_at_FreeBSD.org>
Date: Sun, 01 Nov 2026 22:32:09 UTC
The branch main has been updated by truckman:

URL: https://cgit.FreeBSD.org/ports/commit/?id=77dc9dabebd898241d5f641dfb3e58029a7f1298

commit 77dc9dabebd898241d5f641dfb3e58029a7f1298
Author:     Don Lewis <truckman@FreeBSD.org>
AuthorDate: 2026-11-01 10:49:33 +0000
Commit:     Don Lewis <truckman@FreeBSD.org>
CommitDate: 2026-11-01 22:31:55 +0000

    editors/openoffice-4: Switch to bundled lucene.
    
    Use bundled lucene instead of the lucene port and amend DEPRECATED.
    
    MFH:            2026Q4
---
 editors/openoffice-4/Makefile | 10 +++++-----
 editors/openoffice-4/distinfo |  2 ++
 2 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/editors/openoffice-4/Makefile b/editors/openoffice-4/Makefile
index cfb304c73213..bfcfc55f579e 100644
--- a/editors/openoffice-4/Makefile
+++ b/editors/openoffice-4/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	apache-openoffice
 PORTVERSION=	${AOOVERSION}${AOORCN:?.p${AOORCN}:}
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	editors java
 #MASTER_SITES=	https://dist.apache.org/repos/dist/dev/openoffice/${AOOVERSION}${AOORCN:?-RC${AOORCN}:}/source/
 MASTER_SITES=	https://dlcdn.apache.org/openoffice/${PORTVERSION}/source/ \
@@ -49,7 +49,7 @@ LICENSE_PERMS_ICU=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
 LICENSE_PERMS_TWAIN=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
 LICENSE_PERMS_W3C=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
 
-DEPRECATED=	Depends on expired java/apache-commons-lang and textproc/lucene
+DEPRECATED=	Depends on expired java/apache-commons-lang
 EXPIRATION_DATE=2026-12-31
 
 ONLY_FOR_ARCHS=	amd64 i386 powerpc64 powerpc64le
@@ -225,6 +225,7 @@ PYTHON_DISTFILE=	38c84292658ed4456157195f1c9bcbe1-Python-2.7.18.tgz
 EXTRA_DISTFILES=	d6eef4b4cacb2183f2bf265a5a03a354-boost_1_55_0.tar.bz2 \
 			e3738abd0d3ce1870dc1fd1f22bba5b1-icu4c-4_2_1-src.tgz \
 			128cfc86ed5953e57fe0f5ae98b62c2e-libtextcat-2.2.tar.gz \
+			17960f35b2239654ba608cf1f3e256b3-lucene-2.9.4-src.tar.gz \
 			d62650a6f908e85643e557a236ea989c-vigra1.6.0.tar.gz
 
 .if ${CHOSEN_COMPILER_TYPE} == clang
@@ -297,9 +298,8 @@ CONFIGURE_ARGS+=							\
 			--disable-kde4					\
 			--with-system-libxml				\
 			--with-system-libxslt				\
-			--with-system-lucene				\
-			--with-lucene-core-jar=${JAVALIBDIR}/lucene-core-3.6.2.jar \
-			--with-lucene-analyzers-jar=${JAVALIBDIR}/lucene-analyzers-3.6.2.jar \
+			--with-lucene-core-jar=${JAVALIBDIR}/lucene-core-2.9.4.jar \
+			--with-lucene-analyzers-jar=${JAVALIBDIR}/lucene-analyzers-2.9.4.jar \
 			--with-system-mythes				\
 			--with-external-thes-dir=${LOCALBASE}/share/mythes \
 			--with-system-nss				\
diff --git a/editors/openoffice-4/distinfo b/editors/openoffice-4/distinfo
index 59bd681029d6..4f40df8ebaf2 100644
--- a/editors/openoffice-4/distinfo
+++ b/editors/openoffice-4/distinfo
@@ -11,6 +11,8 @@ SHA256 (openoffice/e3738abd0d3ce1870dc1fd1f22bba5b1-icu4c-4_2_1-src.tgz) = 814de
 SIZE (openoffice/e3738abd0d3ce1870dc1fd1f22bba5b1-icu4c-4_2_1-src.tgz) = 13161131
 SHA256 (openoffice/128cfc86ed5953e57fe0f5ae98b62c2e-libtextcat-2.2.tar.gz) = 5677badffc48a8d332e345ea4fe225e3577f53fc95deeec8306000b256829655
 SIZE (openoffice/128cfc86ed5953e57fe0f5ae98b62c2e-libtextcat-2.2.tar.gz) = 540999
+SHA256 (openoffice/17960f35b2239654ba608cf1f3e256b3-lucene-2.9.4-src.tar.gz) = 2a8bd7c6f0632bc406bcec0091d286b3efd4743c2d45fd88b0d0d564281780cd
+SIZE (openoffice/17960f35b2239654ba608cf1f3e256b3-lucene-2.9.4-src.tar.gz) = 12494586
 SHA256 (openoffice/d62650a6f908e85643e557a236ea989c-vigra1.6.0.tar.gz) = 1f188ac03a8aa4663223eca8c82f91a55293d066d67127082e29a7dba1a98c9f
 SIZE (openoffice/d62650a6f908e85643e557a236ea989c-vigra1.6.0.tar.gz) = 16525605
 SHA256 (openoffice/unowinreg.dll) = f563e522922133db9340b0306711c2d8767cc3481dd9e7d9b0d059906d12653c