git: ee13c7e7f2e8 - main - java/aparapi: deprecate - does not build on java 11 and 17

From: Ronald Klop <ronald_at_FreeBSD.org>
Date: Thu, 05 Mar 2026 12:23:43 UTC
The branch main has been updated by ronald:

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

commit ee13c7e7f2e87cd9691aef935bfbb1e330ac1515
Author:     Ronald Klop <ronald@FreeBSD.org>
AuthorDate: 2026-03-05 12:12:49 +0000
Commit:     Ronald Klop <ronald@FreeBSD.org>
CommitDate: 2026-03-05 12:23:41 +0000

    java/aparapi: deprecate - does not build on java 11 and 17
    
    error:
    com.amd.aparapi.jni/build.xml:458: javah does not exist under Java 10 and higher, use the javac task with nativeHeaderDir instead
    
    Approved-by:    no maintainer
---
 java/aparapi/Makefile | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/java/aparapi/Makefile b/java/aparapi/Makefile
index 11f8306bd555..0fe0629a747d 100644
--- a/java/aparapi/Makefile
+++ b/java/aparapi/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	aparapi
 PORTVERSION=	1.0.0
-PORTREVISION=	3
+PORTREVISION=	4
 DISTVERSIONSUFFIX=	-SNAPSHOT
 CATEGORIES=	java lang
 
@@ -11,13 +11,16 @@ WWW=		https://github.com/aparapi/aparapi
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE.TXT
 
+DEPRECATED=	no maintainer, no users in the ports tree, java 8 only, last upstream commit was 10 years ago
+EXPIRATION_DATE=	2026-06-15
+
 BUILD_DEPENDS=	opencl>=0:devel/opencl
 LIB_DEPENDS=	libOpenCL.so:devel/ocl-icd
 RUN_DEPENDS=	opencl>=0:devel/opencl
 
 USES=		dos2unix java:ant,run
 USE_GITHUB=	yes
-JAVA_VERSION=	8 11 17
+JAVA_VERSION=	8 # com.amd.aparapi.jni/build.xml:458: javah does not exist under Java 10 and higher, use the javac task with nativeHeaderDir instead
 
 ONLY_FOR_ARCHS=	amd64 powerpc64 powerpc64le