pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/go Import go-1.1.1 as lang/go, packaged by Benny ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/0880580d948a
branches: trunk
changeset: 621295:0880580d948a
user: wiz <wiz%pkgsrc.org@localhost>
date: Sun Jul 07 08:10:14 2013 +0000
description:
Import go-1.1.1 as lang/go, packaged by Benny Siegert for wip.
The Go programming language is an open source project to make
programmers more productive.
Go is expressive, concise, clean, and efficient. Its concurrency
mechanisms make it easy to write programs that get the most out of
multicore and networked machines, while its novel type system enables
flexible and modular program construction. Go compiles quickly to
machine code yet has the convenience of garbage collection and the power
of run-time reflection. It's a fast, statically typed, compiled language
that feels like a dynamically typed, interpreted language.
diffstat:
lang/go/DESCR | 10 +
lang/go/Makefile | 93 +
lang/go/PLIST | 3936 +++++++++++++++
lang/go/distinfo | 7 +
lang/go/patches/patch-src_pkg_os_signal_signal__test.go | 15 +
lang/go/patches/patch-src_run.bash | 18 +
6 files changed, 4079 insertions(+), 0 deletions(-)
diffs (truncated from 4103 to 300 lines):
diff -r d9b14d227760 -r 0880580d948a lang/go/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/go/DESCR Sun Jul 07 08:10:14 2013 +0000
@@ -0,0 +1,10 @@
+The Go programming language is an open source project to make
+programmers more productive.
+
+Go is expressive, concise, clean, and efficient. Its concurrency
+mechanisms make it easy to write programs that get the most out of
+multicore and networked machines, while its novel type system enables
+flexible and modular program construction. Go compiles quickly to
+machine code yet has the convenience of garbage collection and the power
+of run-time reflection. It's a fast, statically typed, compiled language
+that feels like a dynamically typed, interpreted language.
diff -r d9b14d227760 -r 0880580d948a lang/go/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/go/Makefile Sun Jul 07 08:10:14 2013 +0000
@@ -0,0 +1,93 @@
+# $NetBSD: Makefile,v 1.1 2013/07/07 08:10:14 wiz Exp $
+
+DISTNAME= go1.1.1.src
+PKGNAME= go-1.1.1
+CATEGORIES= lang
+MASTER_SITES= https://go.googlecode.com/files/
+
+MAINTAINER= bsiegert%NetBSD.org@localhost
+HOMEPAGE= http://golang.org/
+COMMENT= The Go programming language
+LICENSE= modified-bsd
+
+WRKSRC= ${WRKDIR}/go
+USE_TOOLS+= bash:run perl:run pax
+
+# uses ulimit -T
+BUILD_DEPENDS+= bash>=4.2nb3:../../shells/bash
+
+# TODO: other arm platforms?
+ONLY_FOR_PLATFORM= *-*-i386 *-*-x86_64 *-*-evbarm
+.if ${MACHINE_ARCH} == "i386"
+GOARCH= 386
+.elif ${MACHINE_ARCH} == "x86_64"
+GOARCH= amd64
+.elif ${MACHINE_ARCH} == "evbarm"
+GOARCH= arm
+.endif
+PLIST_SUBST+= GO_PLATFORM=${LOWER_OPSYS:Q}_${GOARCH:Q}
+
+# cgo compiles under TMPDIR
+TMPDIR?= /tmp
+BUILDLINK_PASSTHRU_DIRS+= ${TMPDIR}
+
+# bash script may use unportable bash constructs
+CHECK_PORTABILITY_SKIP= lib/time/update.bash
+
+GOROOT_FINAL= ${PREFIX}/go
+INSTALLATION_DIRS= bin
+
+REPLACE_BASH+= doc/articles/wiki/test.bash
+REPLACE_BASH+= doc/progs/run
+REPLACE_BASH+= doc/progs/update.bash
+REPLACE_BASH+= misc/arm/a
+REPLACE_BASH+= misc/dist/darwin/scripts/postinstall
+REPLACE_BASH+= misc/dist/darwin/scripts/preinstall
+REPLACE_BASH+= misc/vim/ftplugin/go/test.sh
+REPLACE_BASH+= misc/xcode/4/go4xcode.sh
+REPLACE_BASH+= src/all.bash
+REPLACE_BASH+= src/clean.bash
+REPLACE_BASH+= src/cmd/go/test.bash
+REPLACE_BASH+= src/cmd/godoc/setup-godoc-app.bash
+REPLACE_BASH+= src/make.bash
+REPLACE_BASH+= src/pkg/syscall/mkall.sh
+REPLACE_BASH+= src/pkg/syscall/mkerrors.sh
+REPLACE_BASH+= src/pkg/syscall/mkerrors_windows.sh
+REPLACE_BASH+= src/race.bash
+REPLACE_BASH+= src/run.bash
+REPLACE_BASH+= src/run.bash.orig
+REPLACE_BASH+= src/sudo.bash
+REPLACE_BASH+= test/bench/shootout/timing.sh
+REPLACE_BASH+= test/run
+
+REPLACE_PERL+= misc/pprof
+REPLACE_PERL+= misc/xcode/4/go4xcode.sh
+REPLACE_PERL+= src/pkg/net/http/cgi/testdata/test.cgi
+REPLACE_PERL+= src/pkg/regexp/syntax/make_perl_groups.pl
+REPLACE_PERL+= src/pkg/syscall/mksyscall.pl
+REPLACE_PERL+= src/pkg/syscall/mksyscall_windows.pl
+REPLACE_PERL+= src/pkg/syscall/mksysctl_openbsd.pl
+REPLACE_PERL+= src/pkg/syscall/mksysnum_darwin.pl
+REPLACE_PERL+= src/pkg/syscall/mksysnum_freebsd.pl
+REPLACE_PERL+= src/pkg/syscall/mksysnum_linux.pl
+REPLACE_PERL+= src/pkg/syscall/mksysnum_netbsd.pl
+REPLACE_PERL+= src/pkg/syscall/mksysnum_openbsd.pl
+REPLACE_PERL+= test/errchk
+
+# uses /bin/rc (for Plan 9)
+CHECK_INTERPRETER_SKIP+= go/src/all.rc
+CHECK_INTERPRETER_SKIP+= go/src/clean.rc
+CHECK_INTERPRETER_SKIP+= go/src/make.rc
+CHECK_INTERPRETER_SKIP+= go/src/run.rc
+
+do-build:
+ cd ${WRKSRC}/src && env GOROOT_FINAL=${GOROOT_FINAL:Q} ${BASH} ./all.bash
+
+do-install:
+ cd ${WRKSRC} && rm -f .hgignore .hgtags
+ cd ${WRKDIR} && pax -rw go ${DESTDIR}${PREFIX}
+.for cmd in go godoc gofmt
+ cd ${DESTDIR}${PREFIX}/bin && ln -sf ../go/bin/${cmd} ${cmd}
+.endfor
+
+.include "../../mk/bsd.pkg.mk"
diff -r d9b14d227760 -r 0880580d948a lang/go/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/go/PLIST Sun Jul 07 08:10:14 2013 +0000
@@ -0,0 +1,3936 @@
+@comment $NetBSD: PLIST,v 1.1 2013/07/07 08:10:14 wiz Exp $
+bin/go
+bin/godoc
+bin/gofmt
+go/AUTHORS
+go/CONTRIBUTORS
+go/LICENSE
+go/PATENTS
+go/README
+go/VERSION
+go/api/README
+go/api/except.txt
+go/api/go1.1.txt
+go/api/go1.txt
+go/api/next.txt
+go/bin/go
+go/bin/godoc
+go/bin/gofmt
+go/doc/Makefile
+go/doc/articles/c_go_cgo.html
+go/doc/articles/concurrency_patterns.html
+go/doc/articles/defer_panic_recover.html
+go/doc/articles/error_handling.html
+go/doc/articles/go_command.html
+go/doc/articles/gobs_of_data.html
+go/doc/articles/godoc_documenting_go_code.html
+go/doc/articles/gos_declaration_syntax.html
+go/doc/articles/image-20.png
+go/doc/articles/image-2a.png
+go/doc/articles/image-2b.png
+go/doc/articles/image-2c.png
+go/doc/articles/image-2d.png
+go/doc/articles/image-2e.png
+go/doc/articles/image-2f.png
+go/doc/articles/image-package-01.png
+go/doc/articles/image-package-02.png
+go/doc/articles/image-package-03.png
+go/doc/articles/image-package-04.png
+go/doc/articles/image-package-05.png
+go/doc/articles/image_draw.html
+go/doc/articles/image_package.html
+go/doc/articles/index.html
+go/doc/articles/json_and_go.html
+go/doc/articles/json_rpc_tale_of_interfaces.html
+go/doc/articles/laws_of_reflection.html
+go/doc/articles/race_detector.html
+go/doc/articles/slice-1.png
+go/doc/articles/slice-2.png
+go/doc/articles/slice-3.png
+go/doc/articles/slice-array.png
+go/doc/articles/slice-struct.png
+go/doc/articles/slices_usage_and_internals.html
+go/doc/articles/wiki/Makefile
+go/doc/articles/wiki/edit.html
+go/doc/articles/wiki/final-noclosure.go
+go/doc/articles/wiki/final-noerror.go
+go/doc/articles/wiki/final-parsetemplate.go
+go/doc/articles/wiki/final-template.go
+go/doc/articles/wiki/final.go
+go/doc/articles/wiki/get.bin
+go/doc/articles/wiki/get.go
+go/doc/articles/wiki/htmlify.go
+go/doc/articles/wiki/http-sample.go
+go/doc/articles/wiki/index.html
+go/doc/articles/wiki/notemplate.go
+go/doc/articles/wiki/part1-noerror.go
+go/doc/articles/wiki/part1.go
+go/doc/articles/wiki/part2.go
+go/doc/articles/wiki/part3-errorhandling.go
+go/doc/articles/wiki/part3.go
+go/doc/articles/wiki/srcextract.go
+go/doc/articles/wiki/test.bash
+go/doc/articles/wiki/test_Test.txt.good
+go/doc/articles/wiki/test_edit.good
+go/doc/articles/wiki/test_view.good
+go/doc/articles/wiki/view.html
+go/doc/cmd.html
+go/doc/code.html
+go/doc/codewalk/codewalk.css
+go/doc/codewalk/codewalk.js
+go/doc/codewalk/codewalk.xml
+go/doc/codewalk/functions.xml
+go/doc/codewalk/markov.go
+go/doc/codewalk/markov.xml
+go/doc/codewalk/pig.go
+go/doc/codewalk/popout.png
+go/doc/codewalk/sharemem.xml
+go/doc/codewalk/urlpoll.go
+go/doc/contrib.html
+go/doc/contribute.html
+go/doc/debugging_with_gdb.html
+go/doc/devel/release.html
+go/doc/devel/weekly.html
+go/doc/docs.html
+go/doc/effective_go.html
+go/doc/gccgo_contribute.html
+go/doc/gccgo_install.html
+go/doc/go-logo-black.png
+go/doc/go-logo-blue.png
+go/doc/go-logo-white.png
+go/doc/go1.1.html
+go/doc/go1.html
+go/doc/go1compat.html
+go/doc/go_faq.html
+go/doc/go_mem.html
+go/doc/go_spec.html
+go/doc/godocs.js
+go/doc/gopher/appenginegopher.jpg
+go/doc/gopher/appenginegophercolor.jpg
+go/doc/gopher/appenginelogo.gif
+go/doc/gopher/bumper.png
+go/doc/gopher/bumper192x108.png
+go/doc/gopher/bumper320x180.png
+go/doc/gopher/bumper480x270.png
+go/doc/gopher/bumper640x360.png
+go/doc/gopher/doc.png
+go/doc/gopher/frontpage.png
+go/doc/gopher/gopherbw.png
+go/doc/gopher/gophercolor.png
+go/doc/gopher/gophercolor16x16.png
+go/doc/gopher/help.png
+go/doc/gopher/pencil/gopherhat.jpg
+go/doc/gopher/pencil/gopherhelmet.jpg
+go/doc/gopher/pencil/gophermega.jpg
+go/doc/gopher/pencil/gopherrunning.jpg
+go/doc/gopher/pencil/gopherswim.jpg
+go/doc/gopher/pencil/gopherswrench.jpg
+go/doc/gopher/pkg.png
+go/doc/gopher/project.png
+go/doc/gopher/ref.png
+go/doc/gopher/run.png
+go/doc/gopher/talks.png
+go/doc/help.html
+go/doc/ie.css
+go/doc/install-source.html
+go/doc/install.html
+go/doc/jquery.js
+go/doc/logo-153x55.png
+go/doc/play/fib.go
+go/doc/play/hello.go
+go/doc/play/peano.go
+go/doc/play/pi.go
+go/doc/play/playground.js
+go/doc/play/sieve.go
+go/doc/play/solitaire.go
+go/doc/play/tree.go
+go/doc/progs/cgo1.go
+go/doc/progs/cgo2.go
+go/doc/progs/cgo3.go
+go/doc/progs/cgo4.go
+go/doc/progs/defer.go
+go/doc/progs/defer.out
+go/doc/progs/defer2.go
+go/doc/progs/defer2.out
+go/doc/progs/eff_bytesize.go
+go/doc/progs/eff_bytesize.out
+go/doc/progs/eff_qr.go
+go/doc/progs/eff_sequence.go
+go/doc/progs/eff_sequence.out
+go/doc/progs/eff_unused1.go
+go/doc/progs/eff_unused2.go
+go/doc/progs/error.go
+go/doc/progs/error2.go
+go/doc/progs/error3.go
+go/doc/progs/error4.go
+go/doc/progs/go1.go
+go/doc/progs/gobs1.go
+go/doc/progs/gobs2.go
+go/doc/progs/image_draw.go
+go/doc/progs/image_package1.go
+go/doc/progs/image_package1.out
+go/doc/progs/image_package2.go
+go/doc/progs/image_package2.out
+go/doc/progs/image_package3.go
+go/doc/progs/image_package3.out
+go/doc/progs/image_package4.go
+go/doc/progs/image_package4.out
+go/doc/progs/image_package5.go
+go/doc/progs/image_package5.out
+go/doc/progs/image_package6.go
+go/doc/progs/image_package6.out
+go/doc/progs/interface.go
+go/doc/progs/interface2.go
+go/doc/progs/interface2.out
+go/doc/progs/json1.go
Home |
Main Index |
Thread Index |
Old Index