freebsd-ports/sysutils/fusefs-securefs/Makefile
Mark Linimon 0e2f10a4ba Add compiler:c++11-lang to USES to fix build on GCC-based systems:
cc1plus: error: unrecognized command line option "-std=gnu++11"

Approved by:	portmgr (tier-2 blanket)
2020-07-01 20:47:06 +00:00

28 lines
707 B
Makefile

# $FreeBSD$
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>