mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-10 02:21:15 +02:00
upgrade go
This commit is contained in:
61
_oldver/go1135/Makefile
Normal file
61
_oldver/go1135/Makefile
Normal file
@@ -0,0 +1,61 @@
|
||||
# Created by: Devon H. O'Dell <devon.odell@gmail.com>
|
||||
# $FreeBSD: head/lang/go/Makefile 470619 2018-05-22 14:32:09Z jlaffaye $
|
||||
|
||||
PORTNAME= go
|
||||
PORTVERSION= 1.13.5
|
||||
CATEGORIES= lang
|
||||
MASTER_SITES= https://golang.org/dl/
|
||||
DISTNAME= go${PORTVERSION}.src
|
||||
|
||||
MAINTAINER= jlaffaye@FreeBSD.org
|
||||
COMMENT= Go programming language
|
||||
|
||||
BUILD_DEPENDS= go14>=1.4:lang/go14
|
||||
RUN_DEPENDS= bash:lang/bash
|
||||
|
||||
USES= shebangfix
|
||||
SHEBANG_LANG= sh perl
|
||||
SHEBANG_FILES+= misc/benchcmp
|
||||
SHEBANG_FILES+= misc/nacl/go_nacl_*_exec
|
||||
SHEBANG_FILES+= misc/wasm/go_js_wasm_exec
|
||||
SHEBANG_FILES+= src/net/http/cgi/testdata/test.cgi
|
||||
SHEBANG_GLOB= *.bash *.pl *.sh
|
||||
|
||||
sh_OLD_CMD= /bin/bash "/usr/bin/env bash"
|
||||
sh_CMD= ${SH}
|
||||
|
||||
WRKSRC= ${WRKDIR}/go
|
||||
ONLY_FOR_ARCHS= i386 amd64 armv6 armv7 aarch64
|
||||
|
||||
USE_LOCALE=en_US.UTF-8
|
||||
|
||||
post-patch:
|
||||
cd ${WRKSRC} && ${FIND} . -name '*.orig' -delete
|
||||
${REINPLACE_CMD} -e 's|^if ulimit -T|false \&\& &|' ${WRKSRC}/src/run.bash
|
||||
|
||||
BOOTSTRAP_GO = ${LOCALBASE}/go14
|
||||
#BOOTSTRAP_GO = ${LOCALBASE}/lib/go
|
||||
|
||||
|
||||
do-build:
|
||||
cd ${WRKSRC}/src && \
|
||||
GOROOT=${WRKSRC} GOROOT_FINAL=${PREFIX}/lib/go \
|
||||
GOROOT_BOOTSTRAP=${BOOTSTRAP_GO} \
|
||||
GOBIN= GOARCH=${GOARCH} GOOS=${OPSYS:tl} \
|
||||
GO386=${GO386} GOARM=${GOARM} CGO_ENABLED=1 \
|
||||
${SH} make.bash -v
|
||||
${RM} -r ${WRKSRC}/pkg/obj \
|
||||
${WRKSRC}/pkg/bootstrap \
|
||||
${WRKSRC}/pkg/${OPSYS:tl}_${GOARCH}/cmd
|
||||
|
||||
do-install:
|
||||
${CP} -a ${WRKSRC} ${STAGEDIR}${PREFIX}/lib
|
||||
.for f in go gofmt
|
||||
${LN} -sf ../lib/go/bin/${f} ${STAGEDIR}${PREFIX}/bin/${f}
|
||||
.endfor
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/go/bin/*
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/go/pkg/tool/*/*
|
||||
|
||||
|
||||
.include <bsd.port.mk>
|
||||
#EOF
|
||||
3
_oldver/go1135/distinfo
Normal file
3
_oldver/go1135/distinfo
Normal file
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1576090332
|
||||
SHA256 (go1.13.5.src.tar.gz) = 27d356e2a0b30d9983b60a788cf225da5f914066b37a6b4f69d457ba55a626ff
|
||||
SIZE (go1.13.5.src.tar.gz) = 21629437
|
||||
4
_oldver/go1135/pkg-descr
Normal file
4
_oldver/go1135/pkg-descr
Normal file
@@ -0,0 +1,4 @@
|
||||
Go is an open source programming environment that makes it easy to build
|
||||
simple, reliable, and efficient software.
|
||||
|
||||
WWW: http://golang.org
|
||||
10267
_oldver/go1135/pkg-plist
Normal file
10267
_oldver/go1135/pkg-plist
Normal file
File diff suppressed because it is too large
Load Diff
@@ -2,7 +2,7 @@
|
||||
# $FreeBSD: head/lang/go/Makefile 470619 2018-05-22 14:32:09Z jlaffaye $
|
||||
|
||||
PORTNAME= go
|
||||
PORTVERSION= 1.13.5
|
||||
PORTVERSION= 1.13.7
|
||||
CATEGORIES= lang
|
||||
MASTER_SITES= https://golang.org/dl/
|
||||
DISTNAME= go${PORTVERSION}.src
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1576090332
|
||||
SHA256 (go1.13.5.src.tar.gz) = 27d356e2a0b30d9983b60a788cf225da5f914066b37a6b4f69d457ba55a626ff
|
||||
SIZE (go1.13.5.src.tar.gz) = 21629437
|
||||
TIMESTAMP = 1580518017
|
||||
SHA256 (go1.13.7.src.tar.gz) = e4ad42cc5f5c19521fbbbde3680995f2546110b5c6aa2b48c3754ff7af9b41f4
|
||||
SIZE (go1.13.7.src.tar.gz) = 21631267
|
||||
|
||||
Reference in New Issue
Block a user