net/v2ray: Cleanup Makefile
- Use = instead of += for GO_BUILDFLAGS - Move PLIST_FILES to pkg-plist Reviewed by: koobs Approved by: koobs (mentor) Suggested by: mat Differential Revision: https://reviews.freebsd.org/D20238
This commit is contained in:
parent
575cdf6541
commit
02a5c9fb09
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=501359
@ -17,20 +17,12 @@ USES= go zip
|
||||
|
||||
NO_WRKSUBDIR= yes
|
||||
WRKSRC= ${WRKDIR}/src
|
||||
GO_BUILDFLAGS+= --ldflags '-s -w'
|
||||
GO_BUILDFLAGS= --ldflags '-s -w'
|
||||
|
||||
USE_RC_SUBR= v2ray
|
||||
USERS= v2ray
|
||||
GROUPS= v2ray
|
||||
|
||||
PLIST_FILES= bin/v2ray \
|
||||
bin/v2ctl \
|
||||
"@sample ${ETCDIR}/config.json.sample" \
|
||||
${ETCDIR}/vpoint_socks_vmess.json \
|
||||
${ETCDIR}/vpoint_vmess_freedom.json \
|
||||
${DATADIR}/geoip.dat \
|
||||
${DATADIR}/geosite.dat
|
||||
|
||||
SUB_LIST= USER="${USERS}" \
|
||||
GROUP="${GROUPS}"
|
||||
|
||||
|
7
net/v2ray/pkg-plist
Normal file
7
net/v2ray/pkg-plist
Normal file
@ -0,0 +1,7 @@
|
||||
bin/v2ray
|
||||
bin/v2ctl
|
||||
@sample %%ETCDIR%%/config.json.sample
|
||||
%%ETCDIR%%/vpoint_socks_vmess.json
|
||||
%%ETCDIR%%/vpoint_vmess_freedom.json
|
||||
%%DATADIR%%/geoip.dat
|
||||
%%DATADIR%%/geosite.dat
|
Loading…
Reference in New Issue
Block a user