1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

lang/go14: Don't install doc and test files

Currently, lang/go14 installs about 1,400-ish doc and test files.
The only role of go14 is to build lang/go, and those files have
no role in that.

PR:		239857
Approved by:	jlaffaye (maintainer timeout, >1 month), tz (mentor)
Differential Revision:	https://reviews.freebsd.org/D21879
This commit is contained in:
Dmitri Goutnik 2019-10-08 00:54:59 +00:00
parent 19d80330fb
commit d78446e460
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=514016
2 changed files with 11 additions and 1423 deletions

View File

@ -2,7 +2,7 @@
PORTNAME= go14 PORTNAME= go14
PORTVERSION= 1.4.3 PORTVERSION= 1.4.3
PORTREVISION= 5 PORTREVISION= 6
CATEGORIES= lang CATEGORIES= lang
MASTER_SITES= https://dl.google.com/go/ MASTER_SITES= https://dl.google.com/go/
DISTNAME= go1.4-bootstrap-20171003 DISTNAME= go1.4-bootstrap-20171003
@ -50,12 +50,18 @@ do-build:
GO386=387 \ GO386=387 \
CGO_ENABLED=0 \ CGO_ENABLED=0 \
${SH} make.bash ${SH} make.bash
${RM} ${WRKSRC}/.[a-z]* ${WRKSRC}/favicon.ico ${WRKSRC}/robots.txt
${RM} -r ${WRKSRC}/lib/codereview ${WRKSRC}/misc \
${WRKSRC}/pkg/obj ${WRKSRC}/pkg/${OPSYS:tl}_${GOARCH}/cmd
do-install: do-install:
@${CP} -a ${WRKSRC} ${STAGEDIR}${PREFIX}/go14 @${MKDIR} ${STAGEDIR}${PREFIX}/go14
( cd ${WRKSRC} ; \
${COPYTREE_BIN} "bin pkg/tool" ${STAGEDIR}${PREFIX}/go14 ; \
${RM} -r pkg/${OPSYS:tl}_${GOARCH}/cmd ; \
${COPYTREE_SHARE} " \
[A-Z]* \
include \
pkg/${OPSYS:tl}_${GOARCH} \
src" \
${STAGEDIR}${PREFIX}/go14 )
do-test: do-test:
cd ${WRKSRC}/src && GOROOT=${WRKSRC} PATH=${WRKSRC}/bin:${PATH} ${SH} run.bash --no-rebuild --banner cd ${WRKSRC}/src && GOROOT=${WRKSRC} PATH=${WRKSRC}/bin:${PATH} ${SH} run.bash --no-rebuild --banner

File diff suppressed because it is too large Load Diff