summaryrefslogtreecommitdiff
path: root/filesystems/fuse-pcachefs/Makefile
blob: f1f9db6abca6b579075b79548b2f72d7cdefad9e (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
30
31
# $NetBSD: Makefile,v 1.16 2022/06/30 11:18:23 nia Exp $

DISTNAME=	fuse-pcachefs-0.3
PKGREVISION=	4
CATEGORIES=	filesystems
MASTER_SITES=	${MASTER_SITE_GITHUB:=ibizaman/}
GITHUB_PROJECT=	pcachefs

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://github.com/ibizaman/pcachefs
COMMENT=	FUSE-based persistent caching filesystem
LICENSE=	apache-2.0

USE_PKG_RESOURCES=	yes

WRKSRC=		${WRKDIR}/${GITHUB_PROJECT}-${PKGVERSION_NOREV}
EGG_NAME=	pCacheFS-${PKGVERSION_NOREV}

# It's not been ported to Python 3, and the upstream seems to be dead
# atm.
PYTHON_VERSIONS_ACCEPTED=	27

INSTALLATION_DIRS+=	share/doc/${PKGBASE}
post-install:
	${INSTALL_DATA} "${WRKSRC}/README.md" \
		"${DESTDIR}${PREFIX}/share/doc/${PKGBASE}"

.include "../../filesystems/py-fuse-bindings/buildlink3.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/fuse.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"