summaryrefslogtreecommitdiff
path: root/www/dufs/Makefile
blob: df874a2b792640847012d6704c1f5db606178588 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
PORTNAME=	dufs
DISTVERSIONPREFIX=	v
DISTVERSION=	0.34.2
PORTREVISION=	1
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

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>