blob: d81d995a0d5c4a829e439c6978b5f731d0a6597f (
plain) (
tree)
|
|
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>
|