1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/www/chisel/Makefile
2021-05-13 18:59:48 +01:00

33 lines
606 B
Makefile

PORTNAME= chisel
DISTVERSIONPREFIX= v
DISTVERSION= 1.7.6
PORTREVISION= 1
CATEGORIES= www
MAINTAINER= lcook@FreeBSD.org
COMMENT= Fast TCP tunnel over HTTP
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= go:modules
_BUILD_VERSION= ${DISTVERSION}
GO_MODULE= github.com/jpillora/${PORTNAME}
GO_BUILDFLAGS= -ldflags "\
-s -w \
-X ${GO_MODULE}/share.BuildVersion=${_BUILD_VERSION}"
PLIST_FILES= bin/${PORTNAME}
PORTDOCS= README.md
OPTIONS_DEFINE= DOCS
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} \
${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>