1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/www/miniserve/Makefile

34 lines
730 B
Makefile

PORTNAME= miniserve
DISTVERSIONPREFIX= v
DISTVERSION= 0.26.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>