2013-03-06 16:52:02 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
#
|
2017-10-26 15:37:02 +00:00
|
|
|
# Handle dependency on the fuse port
|
2013-03-06 16:52:02 +00:00
|
|
|
#
|
2013-03-08 15:04:18 +00:00
|
|
|
# Feature: fuse
|
2017-10-26 15:37:02 +00:00
|
|
|
# Usage: USES=fuse[:version]
|
|
|
|
# Valid ARGS: 2 [default], 3
|
|
|
|
# MAINTAINER: portmgr@FreeBSD.org
|
2014-03-15 10:31:54 +00:00
|
|
|
|
2013-03-11 06:43:13 +00:00
|
|
|
.if !defined(_INCLUDE_USES_FUSE_MK)
|
|
|
|
_INCLUDE_USES_FUSE_MK= yes
|
2013-03-06 16:52:02 +00:00
|
|
|
|
2014-09-28 16:36:31 +00:00
|
|
|
.if !empty(fuse_ARGS)
|
2017-10-26 15:37:02 +00:00
|
|
|
LIBFUSE_VER= ${fuse_ARGS}
|
2013-03-08 15:04:18 +00:00
|
|
|
.endif
|
2017-10-26 15:37:02 +00:00
|
|
|
LIBFUSE_VER?= 2
|
2013-03-08 15:04:18 +00:00
|
|
|
|
2017-10-26 15:37:02 +00:00
|
|
|
.if ${LIBFUSE_VER} == 2
|
2016-03-27 01:23:25 +00:00
|
|
|
LIB_DEPENDS+= libfuse.so:sysutils/fusefs-libs
|
2017-10-26 15:37:02 +00:00
|
|
|
.elif ${LIBFUSE_VER} == 3
|
|
|
|
LIB_DEPENDS+= libfuse3.so:sysutils/fusefs-libs3
|
|
|
|
.else
|
|
|
|
IGNORE= cannot install: unknown FUSE library version: ${LIBFUSE_VERSION}
|
|
|
|
.endif
|
2013-03-06 16:52:02 +00:00
|
|
|
|
|
|
|
.endif
|