aboutsummaryrefslogblamecommitdiff
path: root/net/clash/Makefile
blob: d65d029c938c50978878a6bc0f0b2b32c9a2fa53 (plain) (tree)
1
2
3
4
5
6
7
8
9

                         
                      
                 


                                
                                       
                                                                                                                      



                                 
                                   

                             

                                          


                               

                                 
          
                                                                                        
 
                      
PORTNAME=	clash
DISTVERSIONPREFIX=	v
DISTVERSION=	1.18.0
PORTREVISION=	4
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>