blob: d81d995a0d5c4a829e439c6978b5f731d0a6597f (
plain) (
blame)
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
27
28
29
30
31
32
33
34
|
PORTNAME= miniserve
DISTVERSIONPREFIX= v
DISTVERSION= 0.27.1
PORTREVISION= 1
CATEGORIES= www
MAINTAINER= mikael@FreeBSD.org
COMMENT= Ad-hoc HTTP server for file sharing
WWW= https://github.com/svenstaro/miniserve
LICENSE= APACHE20 BSD3CLAUSE CC0-1.0 ISCL MIT MPL20 UNLICENSE
LICENSE_COMB= multi
LICENSE_FILE_MIT= ${WRKSRC}/LICENSE
BUILD_DEPENDS= zstd>0:archivers/zstd
LIB_DEPENDS= libonig.so:devel/oniguruma
USES= cargo ssl:build
USE_GITHUB= yes
GH_ACCOUNT= svenstaro
PLIST_FILES= bin/miniserve
PORTDOCS= README.md
OPTIONS_DEFINE= DOCS
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/miniserve
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|