summaryrefslogtreecommitdiff
path: root/filesystems/httpdirfs/Makefile
blob: 6188855548b653328c5365d243137211e5713fc8 (plain) (blame)
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
32
33
34
PORTNAME=	httpdirfs
DISTVERSION=	1.2.7
PORTREVISION=	2
CATEGORIES=	filesystems
PKGNAMEPREFIX=	fusefs-

MAINTAINER=	alster@vinterdalen.se
COMMENT=	FUSE filesystem to mount HTTP directory listings, with a permanent cache
WWW=		https://github.com/fangfufu/httpdirfs/

LICENSE=	GPL3OPENSSL
LICENSE_NAME=	GPLv3 or later with execption to link with OpenSSL
LICENSE_FILE=	${WRKSRC}/LICENSE
LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept

LIB_DEPENDS=	libcurl.so:ftp/curl \
		libexpat.so:textproc/expat2 \
		libgumbo.so:devel/gumbo \
		libuuid.so:misc/e2fsprogs-libuuid

USES=		fuse:3 meson pkgconfig ssl
USE_GITHUB=	yes
GH_ACCOUNT=	fangfufu

PLIST_FILES=	bin/httpdirfs
PORTDOCS=	README.md

OPTIONS_DEFINE=	DOCS

post-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}/

.include <bsd.port.mk>