openbsd-ports/security/encfs/Makefile
naddy ebf751b927 Update gettext to 0.20.1.
Follow the upstream recommendations for packagers and switch to
multi-packages:
devel/gettext       -> devel/gettext,-runtime
devel/gettext-tools -> devel/gettext,-tools
(new)                  devel/gettext,-textstyle
2019-05-20 22:15:00 +00:00

43 lines
873 B
Makefile

# $OpenBSD: Makefile,v 1.21 2019/05/20 22:15:22 naddy Exp $
COMMENT = fuse-based cryptographic filesystem
V = 1.9.5
DISTNAME = encfs-$V
REVISION = 2
CATEGORIES = security
HOMEPAGE = http://www.arg0.net/encfs
# GPLv3+
PERMIT_PACKAGE_CDROM = Yes
WANTLIB += ${COMPILER_LIBCXX} c crypto fuse intl m ssl tinyxml2
MASTER_SITES = https://github.com/vgough/encfs/releases/download/v$V/
COMPILER = base-clang ports-clang ports-gcc
MODULES = devel/cmake \
lang/python
MODPY_RUNDEP = No
BUILD_DEPENDS = devel/gettext,-tools
LIB_DEPENDS = devel/gettext,-runtime \
textproc/tinyxml2
CONFIGURE_ARGS = -DUSE_INTERNAL_TINYXML=Off \
-DCMAKE_DISABLE_FIND_PACKAGE_Git=On
CONFIGURE_ENV = CXXFLAGS="-DHAVE_UTIMENSAT -D_DIRENT_HAVE_D_TYPE"
TEST_TARGET = unittests test
.include <bsd.port.mk>
.if ${CHOSEN_COMPILER} == "ports-gcc"
WANTLIB += atomic
.endif