git: df0f45d5120b - main - java/intellij-fsnotifier: Update to 20230112

From: Fernando Apesteguía <fernape_at_FreeBSD.org>
Date: Tue, 25 Jul 2023 15:10:23 UTC
The branch main has been updated by fernape:

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

commit df0f45d5120b5d2e8f73e2edb54279bdc8ee5c9b
Author:     Erik Jensen <erik@tenku.dk>
AuthorDate: 2023-07-25 07:04:57 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2023-07-25 15:10:15 +0000

    java/intellij-fsnotifier: Update to 20230112
    
    ChangeLog: https://gitlab.com/worthwhileit/bsd/fsnotifier
    
    "Adaptation of JetBrains' fsNotifier
    (https://github.com/JetBrains/intellij-community/tree/master/native/fsNotifier/linux)
    to work on FreeBSD, largely inspired by the modifications made by the user t6 at
    the (now 404'd) GitHub repository (https://github.com/t6/fsnotifier) by the name
    of fsnotifier."
    
    PR:             272703
    Reported by:    erik@tenku.dk (maintainer)
---
 java/intellij-fsnotifier/Makefile  | 25 ++++++++++---------------
 java/intellij-fsnotifier/distinfo  |  6 +++---
 java/intellij-fsnotifier/pkg-plist | 10 ++++++++++
 3 files changed, 23 insertions(+), 18 deletions(-)

diff --git a/java/intellij-fsnotifier/Makefile b/java/intellij-fsnotifier/Makefile
index e4d43b9a59bc..04cb5eff54be 100644
--- a/java/intellij-fsnotifier/Makefile
+++ b/java/intellij-fsnotifier/Makefile
@@ -1,30 +1,25 @@
 PORTNAME=	intellij-fsnotifier
-PORTVERSION=	20160221
-PORTREVISION=	6
+PORTVERSION=	20230112
 CATEGORIES=	java devel
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	erik@tenku.dk
 COMMENT=	Replacement for IntelliJ's fsnotifier
-WWW=		https://github.com/t6/fsnotifier
+WWW=		https://gitlab.com/worthwhileit/bsd/fsnotifier
 
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
 LIB_DEPENDS=	libinotify.so:devel/libinotify
 
-USE_GITHUB=	yes
-GH_ACCOUNT=	t6
-GH_PROJECT=	fsnotifier
-GH_TAGNAME=	a04fbff6e21d58fea7a3ed2a6a21e53cbef4b7af
+USES=	cmake compiler:c11 pkgconfig
 
-USES=	compiler:c11
+USE_GITLAB=	yes
+GL_ACCOUNT=	worthwhileit/bsd
+GL_PROJECT=	fsnotifier
+GL_COMMIT=	b96f269f637058461df482f4cf55037a5968d7a8
 
-.include "${.CURDIR}/../intellij/common.mk"
+CMAKE_ARGS+=	-DVERSION=${PORTVERSION}
 
-PLIST_FILES=	${IDEA_HOME}/bin/fsnotifier
-
-do-install:
-	${MKDIR} ${STAGEDIR}${IDEA_HOME}/bin
-	${INSTALL_PROGRAM} ${WRKSRC}/fsnotifier ${STAGEDIR}${IDEA_HOME}/bin
+PLIST_SUB+=	PORTVERSION=${PORTVERSION}
 
 .include <bsd.port.mk>
diff --git a/java/intellij-fsnotifier/distinfo b/java/intellij-fsnotifier/distinfo
index 4e1a2a5fe322..f9e5cf1cc389 100644
--- a/java/intellij-fsnotifier/distinfo
+++ b/java/intellij-fsnotifier/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1575528379
-SHA256 (t6-fsnotifier-20160221-a04fbff6e21d58fea7a3ed2a6a21e53cbef4b7af_GH0.tar.gz) = 03e217ea5aba24f0ad89c868e4b680f6ec517bcfb35132e5b7a961e0a2505396
-SIZE (t6-fsnotifier-20160221-a04fbff6e21d58fea7a3ed2a6a21e53cbef4b7af_GH0.tar.gz) = 12520
+TIMESTAMP = 1690233499
+SHA256 (worthwhileit/bsd-fsnotifier-b96f269f637058461df482f4cf55037a5968d7a8_GL0.tar.gz) = ad983f510f9fa6191c301759b785eeac2f2a2006e23416dd01abc0ad5b95e793
+SIZE (worthwhileit/bsd-fsnotifier-b96f269f637058461df482f4cf55037a5968d7a8_GL0.tar.gz) = 14932
diff --git a/java/intellij-fsnotifier/pkg-plist b/java/intellij-fsnotifier/pkg-plist
new file mode 100644
index 000000000000..0afcacf19ef9
--- /dev/null
+++ b/java/intellij-fsnotifier/pkg-plist
@@ -0,0 +1,10 @@
+bin/fsnotifier
+bin/fsnotifier-static
+include/fsnotifier.h
+lib/fsnotifier/cmake/fsnotifierConfig.cmake
+lib/fsnotifier/cmake/fsnotifierConfigVersion.cmake
+lib/fsnotifier/cmake/fsnotifierTargets-%%CMAKE_BUILD_TYPE%%.cmake
+lib/fsnotifier/cmake/fsnotifierTargets.cmake
+lib/libfsnotifier.a
+lib/libfsnotifier.so
+lib/libfsnotifier.so.%%PORTVERSION%%