# Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
# $FreeBSD: head/sysutils/fusefs-ext4fuse/Makefile 453162 2017-10-30 09:55:15Z ehaupt $

PORTNAME=	ext4fuse
PORTVERSION=	0.1.3
DISTVERSIONPREFIX=	v
PORTREVISION=	1
PORTEPOCH=	1
CATEGORIES=	sysutils
PKGNAMEPREFIX=	fusefs-

MAINTAINER=	ehaupt@FreeBSD.org
COMMENT=	Read-only ext4 implementation for FUSE

LICENSE=	GPLv2

USES=		fuse pkgconfig gmake
USE_GITHUB=	yes
GH_ACCOUNT=	gerard

# explicitly empty to fix a cross compiling related issue (PR: 165480)
MAKE_ENV+=	TARGET_ARCH=

ALL_TARGET=	${PORTNAME}

PLIST_FILES=	bin/ext4fuse

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin

.include <bsd.port.mk>
