From owner-svn-ports-head@freebsd.org Thu Aug 24 16:24:28 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 12DC0DE334B; Thu, 24 Aug 2017 16:24:28 +0000 (UTC) (envelope-from jlaffaye@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CE00582A0C; Thu, 24 Aug 2017 16:24:27 +0000 (UTC) (envelope-from jlaffaye@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v7OGORYM069505; Thu, 24 Aug 2017 16:24:27 GMT (envelope-from jlaffaye@FreeBSD.org) Received: (from jlaffaye@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v7OGORFn069504; Thu, 24 Aug 2017 16:24:27 GMT (envelope-from jlaffaye@FreeBSD.org) Message-Id: <201708241624.v7OGORFn069504@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jlaffaye set sender to jlaffaye@FreeBSD.org using -f From: Julien Laffaye Date: Thu, 24 Aug 2017 16:24:27 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r448694 - head/lang/go X-SVN-Group: ports-head X-SVN-Commit-Author: jlaffaye X-SVN-Commit-Paths: head/lang/go X-SVN-Commit-Revision: 448694 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Aug 2017 16:24:28 -0000 Author: jlaffaye Date: Thu Aug 24 16:24:26 2017 New Revision: 448694 URL: https://svnweb.freebsd.org/changeset/ports/448694 Log: Add pkg-plist target PR: 221759 Submitted by: smh Modified: head/lang/go/Makefile Modified: head/lang/go/Makefile ============================================================================== --- head/lang/go/Makefile Thu Aug 24 16:22:01 2017 (r448693) +++ head/lang/go/Makefile Thu Aug 24 16:24:26 2017 (r448694) @@ -75,4 +75,15 @@ do-install: regression-test: build cd ${WRKSRC}/src && GOROOT=${WRKSRC} PATH=${WRKSRC}/bin:${PATH} ${SH} run.bash --no-rebuild --banner +pkg-plist: stage + ${RM} ${WRKDIR}/pkg-plist +.for command in go gofmt + ${ECHO_CMD} bin/${command} >> ${WRKDIR}/pkg-plist +.endfor + cd ${WRKDIR} && ${FIND} go -type f | \ + ${SED} -e "s/\/${OPSYS:tl}_${GOARCH}\//\/%%opsys_ARCH%%\//g" | \ + ${SORT} >> ${WRKDIR}/pkg-plist + ${ECHO_CMD} "@dir go/pkg/obj/%%opsys_ARCH%%" >> ${WRKDIR}/pkg-plist + ${CP} ${WRKDIR}/pkg-plist ${.CURDIR}/pkg-plist + .include