1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00
freebsd-ports/www/chisel/Makefile

33 lines
606 B
Makefile
Raw Normal View History

PORTNAME= chisel
DISTVERSIONPREFIX= v
DISTVERSION= 1.7.6
2021-05-13 17:57:51 +00:00
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}
2021-05-13 17:57:51 +00:00
GO_MODULE= github.com/jpillora/${PORTNAME}
GO_BUILDFLAGS= -ldflags "\
-s -w \
2021-05-13 17:57:51 +00:00
-X ${GO_MODULE}/share.BuildVersion=${_BUILD_VERSION}"
PLIST_FILES= bin/${PORTNAME}
PORTDOCS= README.md
OPTIONS_DEFINE= DOCS
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
2021-05-13 17:57:51 +00:00
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} \
${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>