2025-09-11 18:58:12 +03:00

32 lines
697 B
Makefile

PORTNAME= intellij-fsnotifier
PORTVERSION= 20230112
CATEGORIES= java devel
MAINTAINER= erik@tenku.dk
COMMENT= Replacement for IntelliJ's fsnotifier
WWW= https://gitlab.com/worthwhileit/bsd/fsnotifier
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
LIB_DEPENDS= libinotify.so:devel/libinotify
USES= cmake compiler:c11 pkgconfig
USE_GITLAB= yes
GL_ACCOUNT= worthwhileit/bsd
GL_PROJECT= fsnotifier
GL_COMMIT= b96f269f637058461df482f4cf55037a5968d7a8
PIE_UNSAFE= yes
CMAKE_ARGS+= -DVERSION=${PORTVERSION}
PLIST_SUB+= PORTVERSION=${PORTVERSION}
.if exists(/usr/include/sys/inotify.h)
EXTRA_PATCHES+= ${PATCHDIR}/extrapatch-cmake_target__definitions.cmake
.endif
.include <bsd.port.mk>