The reason for this is to make the HTTPDirFS port more consistent with the rest of FUSE ports. Also, update pkg-descr to avoid talking directly to the user and presenting judgmental assessments about the performance of the software. Reported by: danfe
41 lines
952 B
Makefile
41 lines
952 B
Makefile
# $FreeBSD$
|
|
|
|
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>
|