Date: Thu, 24 Aug 2017 16:24:27 +0000 (UTC) From: Julien Laffaye <jlaffaye@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r448694 - head/lang/go Message-ID: <201708241624.v7OGORFn069504@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201708241624.v7OGORFn069504>