svn commit: r501359 - head/net/v2ray
Fukang Chen
loader at FreeBSD.org
Sun May 12 03:46:31 UTC 2019
Author: loader
Date: Sun May 12 03:46:30 2019
New Revision: 501359
URL: https://svnweb.freebsd.org/changeset/ports/501359
Log:
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
Added:
head/net/v2ray/pkg-plist (contents, props changed)
Modified:
head/net/v2ray/Makefile
Modified: head/net/v2ray/Makefile
==============================================================================
--- head/net/v2ray/Makefile Sun May 12 03:33:40 2019 (r501358)
+++ head/net/v2ray/Makefile Sun May 12 03:46:30 2019 (r501359)
@@ -17,19 +17,11 @@ 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}"
Added: head/net/v2ray/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/v2ray/pkg-plist Sun May 12 03:46:30 2019 (r501359)
@@ -0,0 +1,7 @@
+bin/v2ray
+bin/v2ctl
+ at sample %%ETCDIR%%/config.json.sample
+%%ETCDIR%%/vpoint_socks_vmess.json
+%%ETCDIR%%/vpoint_vmess_freedom.json
+%%DATADIR%%/geoip.dat
+%%DATADIR%%/geosite.dat
More information about the svn-ports-head
mailing list