2020-11-13 09:47:09 +00:00
|
|
|
PORTNAME= chisel
|
|
|
|
DISTVERSIONPREFIX= v
|
2021-02-22 17:36:10 +00:00
|
|
|
DISTVERSION= 1.7.6
|
2021-05-13 17:57:51 +00:00
|
|
|
PORTREVISION= 1
|
2020-11-13 09:47:09 +00:00
|
|
|
CATEGORIES= www
|
|
|
|
|
2021-01-22 10:08:51 +00:00
|
|
|
MAINTAINER= lcook@FreeBSD.org
|
2020-11-13 09:47:09 +00:00
|
|
|
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}
|
2020-11-13 09:47:09 +00:00
|
|
|
GO_BUILDFLAGS= -ldflags "\
|
|
|
|
-s -w \
|
2021-05-13 17:57:51 +00:00
|
|
|
-X ${GO_MODULE}/share.BuildVersion=${_BUILD_VERSION}"
|
2020-11-13 09:47:09 +00:00
|
|
|
|
|
|
|
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}
|
2020-11-13 09:47:09 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|