summaryrefslogtreecommitdiff
path: root/www/dufs/Makefile
blob: 8d87acbb4598059584c3c7180732d1ad7c0474fe (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.32.0
PORTREVISION=	2
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>