blob: 907ab8e2a6e9d347fa1a0766ac834a9107cfa62c (
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
27
28
29
30
31
32
33
|
PORTNAME= miniserve
DISTVERSIONPREFIX= v
DISTVERSION= 0.25.0
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>
|