ports/filesystems/webdavfs/Makefile
Robert Clausecker 6e2da9672f filesystems: add new category for file systems and related utilities
The filesystems category houses file systems and file system utilities.
It is added mainly to turn the sysutils/fusefs-* pseudo-category into
a proper one, but is also useful for the sundry of other file systems
related ports found in the tree.

Ports that seem like they belong there are moved to the new category.
Two ports, sysutils/fusefs-funionfs and sysutils/fusefs-fusepak are
not moved as they currently don't fetch and don't have TIMESTAMP set
in their distinfo, but that is required to be able to push a rename
of the port by the pre-receive hook.

Approved by:	portmgr (rene)
Reviewed by:	mat
Pull Request:	https://github.com/freebsd/freebsd-ports/pull/302
PR:		281988
2024-11-06 16:17:35 +01:00

47 lines
1.5 KiB
Makefile

PORTNAME= fusefs-webdavfs
DISTVERSION= g20200520
PORTREVISION= 23
CATEGORIES= filesystems
MAINTAINER= eugen@FreeBSD.org
COMMENT= FUSE filesystem for WEBDAV shares
WWW= https://github.com/miquels/webdavfs
LICENSE= BSD3CLAUSE BSD4CLAUSE MIT
LICENSE_COMB= multi
LICENSE_FILE_BSD3CLAUSE= ${WRKDIR}/webdavfs-${GH_TAGNAME}/vendor/bazil.org/fuse/LICENSE
LICENSE_FILE_BSD4CLAUSE= ${WRKDIR}/webdavfs-${GH_TAGNAME}/vendor/github.com/pborman/getopt/LICENSE
LICENSE_FILE_MIT= ${WRKDIR}/webdavfs-${GH_TAGNAME}/LICENSE.md
LICENSE_DISTFILES_MIT= ${DISTNAME}${EXTRACT_SUFX}
LICENSE_DISTFILES_BSD3CLAUSE= bazil-fuse-${FUSE_GH_TAGNAME}_GH0${EXTRACT_SUFX}
LICENSE_DISTFILES_BSD4CLAUSE= pborman-getopt-${GETOPT_GH_TAGNAME}_GH0${EXTRACT_SUFX}
# This needs to be Go 1.7 or newer.
USES= go:modules
USE_GITHUB= yes
GH_ACCOUNT= miquels
GH_PROJECT= webdavfs
GH_TAGNAME= 117d633
# 2020-12-04 pborman/getopt
GETOPT_GH_TAGNAME= ee0cd42419d3
# 2020-05-25 bazil/fuse
FUSE_GH_TAGNAME= 65cc252bf669
# 2020-05-20 golang/net
NET_GH_TAGNAME= 59133d7f0dd7
GH_TUPLE= bazil:fuse:${FUSE_GH_TAGNAME}:bazil_fuse/vendor/bazil.org/fuse \
golang:net:${NET_GH_TAGNAME}:golang_net/vendor/golang.org/x/net \
pborman:getopt:${GETOPT_GH_TAGNAME}:pborman_getopt/vendor/github.com/pborman/getopt
GO_TARGET= :${PREFIX}/sbin/mount.webdavfs
PLIST_FILES= sbin/mount.webdavfs sbin/mount_webdavfs
SUB_FILES= pkg-message mount_webdavfs
post-install:
${INSTALL_SCRIPT} ${WRKDIR}/mount_webdavfs ${STAGEDIR}${PREFIX}/sbin
.include <bsd.port.mk>