git: e5e59bfd9f1a - main - devel/jakarta-activation: new port, Jakarta Activation

From: Thierry Thomas <thierry_at_FreeBSD.org>
Date: Sun, 09 Aug 2026 10:22:56 UTC
The branch main has been updated by thierry:

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

commit e5e59bfd9f1a9bc978f074589433c26e9046b553
Author:     Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2026-08-09 10:09:50 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2026-08-09 10:22:34 +0000

    devel/jakarta-activation: new port, Jakarta Activation
    
    This is needed by Scilab.
---
 devel/Makefile                     |  1 +
 devel/jakarta-activation/Makefile  | 27 +++++++++++++++++++++++++++
 devel/jakarta-activation/distinfo  |  3 +++
 devel/jakarta-activation/pkg-descr |  6 ++++++
 4 files changed, 37 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 14c39a958dd1..ab3f5fd6449d 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1109,6 +1109,7 @@
     SUBDIR += jackson-databind
     SUBDIR += jackson-jaxrs-providers
     SUBDIR += jackson-module-jaxb-annotations
+    SUBDIR += jakarta-activation
     SUBDIR += jakarta-activation-api
     SUBDIR += jakarta-annotation-api
     SUBDIR += jakarta-xml-bind-api
diff --git a/devel/jakarta-activation/Makefile b/devel/jakarta-activation/Makefile
new file mode 100644
index 000000000000..0c24c1f248ee
--- /dev/null
+++ b/devel/jakarta-activation/Makefile
@@ -0,0 +1,27 @@
+PORTNAME=	jakarta.activation
+DISTVERSION=	2.0.1	# Please check compatibility with math/scilab
+CATEGORIES=	devel java
+MASTER_SITES=	https://repo1.maven.org/maven2/com/sun/activation/jakarta.activation/${PORTVERSION}/
+EXTRACT_SUFX=	.jar
+EXTRACT_ONLY=
+
+MAINTAINER=	thierry@FreeBSD.org
+COMMENT=	Jakarta Activation
+WWW=		https://jakarta.ee/specifications/activation/
+
+LICENSE=	BSD3CLAUSE
+
+USES=		java:run
+
+NO_BUILD=	yes
+NO_ARCH=	yes
+
+PLIST_FILES=	%%JAVAJARDIR%%/${DISTNAME}.jar
+
+do-install:
+# Don't install jakarta.activation.jar to avoid a conflict with java/javamail
+	@${MKDIR} ${STAGEDIR}${JAVAJARDIR}
+	${INSTALL_DATA} ${DISTDIR}/${DISTNAME}.jar	\
+		${STAGEDIR}${JAVAJARDIR}/
+
+.include <bsd.port.mk>
diff --git a/devel/jakarta-activation/distinfo b/devel/jakarta-activation/distinfo
new file mode 100644
index 000000000000..58086e1bf469
--- /dev/null
+++ b/devel/jakarta-activation/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1786113542
+SHA256 (jakarta.activation-2.0.1.jar) = b9e24b7dd6e07495562ea96531be3130c96dba4d78e1dfd88adbbdebf4332871
+SIZE (jakarta.activation-2.0.1.jar) = 62154
diff --git a/devel/jakarta-activation/pkg-descr b/devel/jakarta-activation/pkg-descr
new file mode 100644
index 000000000000..637ea2a7d425
--- /dev/null
+++ b/devel/jakarta-activation/pkg-descr
@@ -0,0 +1,6 @@
+Jakarta Activation defines a set of standard services to: determine the MIME
+type of an arbitrary piece of data; encapsulate access to it; discover the
+operations available on it; and instantiate the appropriate bean to perform the
+operation(s).
+
+See also java/javamail.