mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
26 lines
449 B
Makefile
26 lines
449 B
Makefile
PORTNAME= clash
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 1.10.6
|
|
CATEGORIES= net
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= Rule-based tunnel in Go
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= go:modules cpe
|
|
|
|
CPE_VENDOR= clash_project
|
|
|
|
GO_MODULE= github.com/Dreamacro/clash
|
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
|
|
PORTSCOUT= limit:^[0-9\.]*$$
|
|
|
|
pre-patch:
|
|
@cd ${WRKSRC} && ${CP} listener/redir/tcp_linux.go listener/redir/tcp_freebsd.go
|
|
|
|
.include <bsd.port.mk>
|