Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 May 2019 03:46:30 +0000 (UTC)
From:      Fukang Chen <loader@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r501359 - head/net/v2ray
Message-ID:  <201905120346.x4C3kUoS005912@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
+@sample %%ETCDIR%%/config.json.sample
+%%ETCDIR%%/vpoint_socks_vmess.json
+%%ETCDIR%%/vpoint_vmess_freedom.json
+%%DATADIR%%/geoip.dat
+%%DATADIR%%/geosite.dat



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905120346.x4C3kUoS005912>