summaryrefslogtreecommitdiff
path: root/sysutils/fusefs-securefs/Makefile
blob: 709cf3297971d556becac9f4b6a180d2eb369977 (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=	securefs
PORTVERSION=	0.12.0
PORTREVISION=	1
CATEGORIES=	sysutils
PKGNAMEPREFIX=	fusefs-

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Filesystem in userspace with transparent encryption and decryption
WWW=		https://github.com/netheril96/securefs

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

BROKEN=		does not build

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>