git: 168bae91febb - main - misc/jbidwatcher: pin to jdk8/11 and deprecate

From: Ronald Klop <ronald_at_FreeBSD.org>
Date: Sun, 14 Dec 2025 16:12:18 UTC
The branch main has been updated by ronald:

URL: https://cgit.FreeBSD.org/ports/commit/?id=168bae91febb9e787526e07ca1eb96c657c336ae

commit 168bae91febb9e787526e07ca1eb96c657c336ae
Author:     Ronald Klop <ronald@FreeBSD.org>
AuthorDate: 2025-12-14 16:09:10 +0000
Commit:     Ronald Klop <ronald@FreeBSD.org>
CommitDate: 2025-12-14 16:11:16 +0000

    misc/jbidwatcher: pin to jdk8/11 and deprecate
    
    Upstream website times out.
    Does not build on openjdk17+.
    
    PR:     272855
    Approved-by:    no maintainer
---
 misc/jbidwatcher/Makefile              |  4 ++++
 misc/jbidwatcher/files/patch-build.xml | 11 +++++++++++
 2 files changed, 15 insertions(+)

diff --git a/misc/jbidwatcher/Makefile b/misc/jbidwatcher/Makefile
index 787cd4b42555..e412a2404f75 100644
--- a/misc/jbidwatcher/Makefile
+++ b/misc/jbidwatcher/Makefile
@@ -8,7 +8,11 @@ MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Java-based application allowing you to monitor eBay auctions
 WWW=		https://www.jbidwatcher.com/
 
+DEPRECATED=	unmaintained, upstream website is gone, no users in the ports tree
+EXPIRATION_DATE=	2026-04-14
+
 USES=	java:ant,run tar:bzip2
+JAVA_VERSION=	8 11
 
 ALL_TARGET=	jar
 
diff --git a/misc/jbidwatcher/files/patch-build.xml b/misc/jbidwatcher/files/patch-build.xml
new file mode 100644
index 000000000000..5e8621f1d5a2
--- /dev/null
+++ b/misc/jbidwatcher/files/patch-build.xml
@@ -0,0 +1,11 @@
+--- build.xml.orig	2025-12-14 15:56:48 UTC
++++ build.xml
+@@ -83,7 +83,7 @@
+   <target name="compile" depends="init">
+     <echo level="info" message="Compiling all classes." />
+     <mkdir dir="${build.dir}" />
+-      <javac srcdir="${src.dir}" destdir="${build.dir}" includeantruntime="false" debug="on" source="1.5" target="1.5">
++      <javac srcdir="${src.dir}" destdir="${build.dir}" includeantruntime="false" debug="on">
+           <classpath refid="project.class.path" />
+           <include name="**/*.java" />
+       </javac>