blob: fc38905e3b4f8c6483e69190414f2dfed7d8221a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
PORTNAME= clash
DISTVERSIONPREFIX= v
DISTVERSION= 1.18.0
PORTREVISION= 2
CATEGORIES= net
MAINTAINER= yuri@FreeBSD.org
COMMENT= Rule-based tunnel in Go
WWW= https://github.com/Dreamacro/clash # actually coming from the fork https://github.com/wangtz0607/clash
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= go:1.21,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>
|