[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / filesystems / fuse-encfs

File: [cvs.NetBSD.org] / pkgsrc / filesystems / fuse-encfs / Makefile (download)

Revision 1.22, Sun Sep 18 18:33:51 2022 UTC (17 months, 1 week ago) by he
Branch: MAIN
CVS Tags: pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3
Changes since 1.21: +2 -1 lines

filesystems/fuse-encfs: use mk/atomic64.mk for 8-byte atomics.

# $NetBSD: Makefile,v 1.22 2022/09/18 18:33:51 he Exp $
#

GITHUB_PROJECT=	encfs
GITHUB_TAG=	v${PKGVERSION_NOREV}
DISTNAME=	encfs-1.9.5
PKGREVISION=	1
PKGNAME=	fuse-${DISTNAME}
CATEGORIES=	filesystems
MASTER_SITES=	${MASTER_SITE_GITHUB:=vgough/}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://vgough.github.io/encfs/
COMMENT=	FUSE Encrypted Filesystem
LICENSE=	gnu-gpl-v3


USE_TOOLS+=	autoconf cmake pkg-config
USE_CMAKE=	yes
USE_LANGUAGES=	c c++

CONFIGURE_DIRS=	${WRKDIR}/build
CMAKE_ARG_PATH=	${WRKSRC}

# Remediate open-coding in cmake that badly reimplements autoconf's
# --mandir=.
# \todo File a bug upstream.
SUBST_CLASSES+=		mandir
SUBST_STAGE.mandir=	pre-configure
SUBST_MESSAGE.mandir=	Remediating cmake PKGMANDIR
SUBST_FILES.mandir=	CMakeLists.txt
SUBST_SED.mandir=	-E -e "/MAN_DESTINATION/s,share/man,${PKGMANDIR},"

# \todo Add TEST_DEPENDS for unittest, after finding it or packaging
# it.
TEST_TARGET=	test

post-extract:
	${RUN} mkdir -p ${WRKDIR}/build

.include "../../security/openssl/buildlink3.mk"
.include "../../mk/fuse.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/atomic64.mk"
.include "../../mk/bsd.pkg.mk"