PORTNAME=	dufs
DISTVERSIONPREFIX=	v
DISTVERSION=	0.43.0
PORTREVISION=	7
CATEGORIES=	www

MAINTAINER=	ashish@FreeBSD.org
COMMENT=	HTTP File Server
WWW=		https://github.com/sigoden/dufs

LICENSE=	MIT APACHE20
LICENSE_COMB=	dual
LICENSE_FILE_MIT=	${WRKSRC}/LICENSE-MIT
LICENSE_FILE_APACHE20=	${WRKSRC}/LICENSE-APACHE

BROKEN_i386=	fails to build

USES=		cargo
USE_GITHUB=	yes
GH_ACCOUNT=	sigoden
PLIST_FILES=	bin/${PORTNAME}	\
		${DOCSDIR_REL}/README.md

post-install:
	${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>
