summaryrefslogtreecommitdiff
path: root/sysutils/fsearch/Makefile
blob: 559e9d164b4e4d95f7b07df337db66c1d3ba45d3 (plain)
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
PORTNAME=	fsearch
PORTVERSION=	0.2.3
CATEGORIES=	sysutils

MAINTAINER=	danfe@FreeBSD.org
COMMENT=	Fast file search utility for Unix-like systems
WWW=		https://cboxdoerfer.github.io/fsearch/

LICENSE=	GPLv2+
LICENSE_FILE=	${WRKSRC}/License

LIB_DEPENDS=	libicuuc.so:devel/icu \
		libpcre2-8.so:devel/pcre2

USE_GITHUB=	yes
GH_ACCOUNT=	cboxdoerfer

USES=		meson gettext-tools gnome pkgconfig
USE_GNOME=	cairo gdkpixbuf2 gtk30

post-patch:
	@${PRINTF} '\n%s\n%s;\n' int \
		'strverscmp(const char *, const char *)' \
		>> ${WRKSRC}/src/fsearch_string_utils.h
	@${REINPLACE_CMD} -e 's,time_t,int64_t,g' \
		${WRKSRC}/src/fsearch_time_utils.h \
		${WRKSRC}/src/tests/test_time_utils.c

.include <bsd.port.mk>