summaryrefslogtreecommitdiff
path: root/sysutils/fusefs-securefs/Makefile
blob: 0e9c5882664b35ac7887ec1b4f6664878e0e9e29 (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
PORTNAME=	securefs
PORTVERSION=	0.11.1
PORTREVISION=	1
CATEGORIES=	sysutils
PKGNAMEPREFIX=	fusefs-

MAINTAINER=	skozlov@FreeBSD.org
COMMENT=	Filesystem in userspace with transparent encryption and decryption

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE.md

LIB_DEPENDS=	libutf8proc.so:textproc/utf8proc \
		libjsoncpp.so:devel/jsoncpp

USES=		cmake compiler:c++11-lang fuse
LDFLAGS+=	-L${LOCALBASE}/lib -lutf8proc -ljsoncpp
USE_GITHUB=	yes
GH_ACCOUNT=	netheril96
PLIST_FILES=	bin/securefs

post-patch:
	${REINPLACE_CMD} "s|@GIT_VERSION@|${PORTVERSION}|" ${WRKSRC}/sources/git-version.cpp.in
	${MV} ${WRKSRC}/sources/git-version.cpp.in ${WRKSRC}/sources/git-version.cpp

.include <bsd.port.mk>