aboutsummaryrefslogtreecommitdiffstats
path: root/filesystems/bindfs/Makefile
blob: de68d898f5be581e22e00f1a7ea8a6b3f3922dbb (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
PORTNAME=	bindfs
DISTVERSION=	1.17.7
PORTREVISION=	2
CATEGORIES=	filesystems
MASTER_SITES=	https://bindfs.org/downloads/
PKGNAMEPREFIX=	fusefs-

MAINTAINER=	doralitze@chaotikum.org
COMMENT=	FUSE based bindfs implementation way more powerful than nullfs
WWW=		https://bindfs.org/

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/COPYING

USES=		fuse:3 localbase:ldflags pkgconfig
GNU_CONFIGURE=	yes

CONFIGURE_ENV+=	fuse3_LIBS="-L${LOCALBASE}/lib -lfuse3"
CONFIGURE_ARGS=	--with-fuse3

PLIST_FILES=	bin/bindfs \
		share/man/man1/bindfs.1.gz

post-patch:
	@${REINPLACE_CMD} -e 's|-pthread|-lthr|g' \
	    ${PATCH_WRKSRC}/configure

.include <bsd.port.mk>