Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Jul 2019 18:52:25 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r505781 - head/textproc/minify
Message-ID:  <201907031852.x63IqPxU044684@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Wed Jul  3 18:52:25 2019
New Revision: 505781
URL: https://svnweb.freebsd.org/changeset/ports/505781

Log:
  Convert to USES=go:modules
  
  PR:		238919
  Submitted by:	Dmitri Goutnik <dg@syrec.org>

Modified:
  head/textproc/minify/Makefile

Modified: head/textproc/minify/Makefile
==============================================================================
--- head/textproc/minify/Makefile	Wed Jul  3 18:52:19 2019	(r505780)
+++ head/textproc/minify/Makefile	Wed Jul  3 18:52:25 2019	(r505781)
@@ -12,20 +12,19 @@ COMMENT=	Go minifiers for web formats
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE.md
 
-USES=		go
+USES=		go:modules
 
-GO_PKGNAME=	github.com/${GH_ACCOUNT}/${GH_PROJECT}
-GO_TARGET=	${GO_PKGNAME}/cmd/${GH_PROJECT}
+GO_TARGET=	./cmd/${GH_PROJECT}
 
 PLIST_FILES=	bin/minify
 
 GH_ACCOUNT=	tdewolff
-GH_TUPLE=	dustin:go-humanize:v1.0.0:dustin_go_humanize/../src/github.com/dustin/go-humanize \
-		fsnotify:fsnotify:v1.4.7:fsnotify_fsnotify/../src/github.com/fsnotify/fsnotify \
-		golang:sys:61b9204:golang_sys/../src/golang.org/x/sys \
-		matryer:try:v1:matryer_try/../src/github.com/matryer/try \
-		spf13:pflag:v1.0.3:spf13_pflag/../src/github.com/spf13/pflag \
-		tdewolff:parse:v2.3.7:tdewolff_parse/../src/github.com/tdewolff/parse
+GH_TUPLE=	dustin:go-humanize:v1.0.0:dustin_go_humanize/vendor/github.com/dustin/go-humanize \
+		fsnotify:fsnotify:v1.4.7:fsnotify_fsnotify/vendor/github.com/fsnotify/fsnotify \
+		golang:sys:61b9204:golang_sys/vendor/golang.org/x/sys \
+		matryer:try:v1:matryer_try/vendor/github.com/matryer/try \
+		spf13:pflag:v1.0.3:spf13_pflag/vendor/github.com/spf13/pflag \
+		tdewolff:parse:v2.3.7:tdewolff_parse/vendor/github.com/tdewolff/parse/v2
 USE_GITHUB=	yes
 
 do-install:



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