blob: 666bb1193d09e5d17ae1221a5f5eb247ffb6a234 (
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
32
33
34
35
36
37
38
39
40
|
PORTNAME= httpdirfs
DISTVERSION= 1.2.0
CATEGORIES= sysutils
PKGNAMEPREFIX= fusefs-
MAINTAINER= 0mp@FreeBSD.org
COMMENT= FUSE filesystem to mount HTTP directory listings, with a permanent cache
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 gmake localbase pkgconfig ssl
USE_CSTD= c99
USE_GITHUB= yes
GH_ACCOUNT= fangfufu
MAKE_ENV= prefix=${PREFIX}
PLIST_FILES= bin/httpdirfs \
man/man1/httpdirfs.1.gz
PORTDOCS= README.md
OPTIONS_DEFINE= DOCS
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/httpdirfs
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>
|