# Created by: Gabor Zahemszky

PORTNAME=	ifuse
PORTVERSION=	1.1.4
CATEGORIES=	sysutils
MASTER_SITES=	https://github.com/libimobiledevice/${PORTNAME}/releases/download/${PORTVERSION}/
PKGNAMEPREFIX=	fusefs-

MAINTAINER=	danilo@FreeBSD.org
COMMENT=	FUSE-based filesystem for mounting iOS devices over USB

LICENSE=	LGPL21+
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libplist-2.0.so:devel/libplist \
		libimobiledevice-1.0.so:comms/libimobiledevice
RUN_DEPENDS=	usbmuxd:comms/usbmuxd

USES=		fuse localbase gnome pkgconfig tar:bzip2
USE_GNOME=	glib20

GNU_CONFIGURE=	yes

PLIST_FILES=	bin/${PORTNAME} man/man1/ifuse.1.gz

.include <bsd.port.mk>
