summaryrefslogtreecommitdiff
path: root/java/intellij-fsnotifier/Makefile
blob: 441f8dbdf0535523623bb68c76531f15f3fcd122 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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>