[134659] trunk/dports/lang/go/Portfile
ciserlohn at macports.org
ciserlohn at macports.org
Thu Apr 2 06:26:19 PDT 2015
Revision: 134659
https://trac.macports.org/changeset/134659
Author: ciserlohn at macports.org
Date: 2015-04-02 06:26:18 -0700 (Thu, 02 Apr 2015)
Log Message:
-----------
go: update to version 1.4.2 (closes #46314)
- fix livecheck
- remove tools removed from the upstream distribution (closes #43666)
Modified Paths:
--------------
trunk/dports/lang/go/Portfile
Modified: trunk/dports/lang/go/Portfile
===================================================================
--- trunk/dports/lang/go/Portfile 2015-04-02 10:37:36 UTC (rev 134658)
+++ trunk/dports/lang/go/Portfile 2015-04-02 13:26:18 UTC (rev 134659)
@@ -5,7 +5,7 @@
name go
epoch 2
-version 1.3.3
+version 1.4.2
categories lang
platforms darwin freebsd linux
license BSD
@@ -23,13 +23,13 @@
language that feels like a dynamically typed, interpreted language. Go \
is developed by Google Inc.
-homepage http://golang.org/
+homepage https://golang.org/
master_sites https://storage.googleapis.com/golang/
distfiles ${name}${version}.src.tar.gz
worksrcdir ${name}
-checksums rmd160 1a1819c8ceaaaf2f938e90b750da428debd6972e \
- sha256 1bb6fde89cfe8b9756a875af55d994cce0994861227b5dc0f268c143d91cd5ff
+checksums rmd160 dea15b3b4c31554a47b40799f4b9a926ea760e70 \
+ sha256 299a6fd8f8adfdce15bc06bde926e7b252ae8e24dd5b16b7d8791ed79e7b5e9b
set GOROOT ${worksrcpath}
set GOROOT_FINAL ${prefix}/go
@@ -83,28 +83,8 @@
# standard distribution
file copy ${worksrcpath} ${destroot}${GOROOT_FINAL}
- # bash completion
- xinstall -m 755 -d ${destroot}${prefix}/etc/bash_completion.d
- xinstall -m 644 -W ${worksrcpath}/misc/bash ${name} \
- ${destroot}${prefix}/etc/bash_completion.d/${name}
-
- # emacs syntax highlighting
- xinstall -m 755 -d ${destroot}${prefix}/share/emacs/site-lisp/
- eval xinstall -m 644 [glob ${worksrcpath}/misc/emacs/*.el] \
- ${destroot}${prefix}/share/emacs/site-lisp/
-
- # vim syntax highlighting
- set vimdir ${destroot}${prefix}/share/vim/vimfiles
- xinstall -m 755 -d ${vimdir}/syntax ${vimdir}/ftdetect ${vimdir}/ftplugin
- xinstall -m 644 ${worksrcpath}/misc/vim/syntax/go.vim \
- ${vimdir}/syntax/go.vim
- xinstall -m 644 ${worksrcpath}/misc/vim/ftdetect/gofiletype.vim \
- ${vimdir}/ftdetect/go.vim
- xinstall -m 644 ${worksrcpath}/misc/vim/ftplugin/go/import.vim \
- ${vimdir}/ftplugin/go.vim
-
# binary symlinks
- foreach f [list go godoc gofmt] {
+ foreach f [list go gofmt] {
system "cd ${destroot}${prefix}/bin/ && ln -s ../go/bin/$f ./$f"
}
}
@@ -125,5 +105,5 @@
}
livecheck.type regex
-livecheck.url http://code.google.com/p/go/source/browse
-livecheck.regex {>go([0-9.]+)<}
+livecheck.url ${homepage}/dl/
+livecheck.regex {go([0-9.]+).src.tar.gz}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150402/a20e0ae3/attachment.html>
More information about the macports-changes
mailing list