Index: head/lang/Makefile =================================================================== --- head/lang/Makefile (revision 504940) +++ head/lang/Makefile (revision 504941) @@ -1,389 +1,390 @@ # $FreeBSD$ # COMMENT = Programming languages SUBDIR += Gofer SUBDIR += J SUBDIR += abcl SUBDIR += adacontrol SUBDIR += afnix SUBDIR += alchemist.el SUBDIR += algol68g SUBDIR += angelscript SUBDIR += arena SUBDIR += asis SUBDIR += asn1c SUBDIR += atlast SUBDIR += awka SUBDIR += bas2tap SUBDIR += basic256 SUBDIR += beignet SUBDIR += bf2c SUBDIR += bsh SUBDIR += bwbasic SUBDIR += c SUBDIR += cbmbasic SUBDIR += ccl SUBDIR += cdent SUBDIR += ceylon SUBDIR += cfortran SUBDIR += chaiscript SUBDIR += chez-scheme SUBDIR += chibi-scheme SUBDIR += chicken SUBDIR += chicken5 SUBDIR += cim SUBDIR += cint SUBDIR += cjs SUBDIR += cling SUBDIR += clips SUBDIR += clisp SUBDIR += clojure SUBDIR += clojure-mode.el SUBDIR += clover SUBDIR += cmucl SUBDIR += cmucl-extra SUBDIR += cocor SUBDIR += coffeescript SUBDIR += cparser SUBDIR += crystal SUBDIR += csharp-mode.el SUBDIR += cython SUBDIR += diveintopython SUBDIR += dlang-tools SUBDIR += dlv SUBDIR += dmd1 SUBDIR += dmd2 SUBDIR += duktape SUBDIR += duktape-lib SUBDIR += ecl SUBDIR += elan SUBDIR += elixir SUBDIR += elixir-mode.el SUBDIR += elk SUBDIR += emacs-lisp-intro SUBDIR += erlang SUBDIR += erlang-doc SUBDIR += erlang-java SUBDIR += erlang-man SUBDIR += erlang-riak SUBDIR += erlang-runtime15 SUBDIR += erlang-runtime16 SUBDIR += erlang-runtime17 SUBDIR += erlang-runtime18 SUBDIR += erlang-runtime19 SUBDIR += erlang-runtime20 SUBDIR += erlang-runtime21 SUBDIR += erlang-runtime22 SUBDIR += erlang-wx SUBDIR += execline SUBDIR += expect SUBDIR += f2c SUBDIR += fasm SUBDIR += ferite SUBDIR += ficl SUBDIR += fpc SUBDIR += fpc-base SUBDIR += fpc-docs SUBDIR += fpc-lua SUBDIR += fpc-rexx SUBDIR += fpc-rtl-console SUBDIR += fpc-rtl-extra SUBDIR += fpc-rtl-objpas SUBDIR += fpc-rtl-unicode SUBDIR += fpc-units SUBDIR += fpc-utils SUBDIR += fsharp SUBDIR += fth SUBDIR += gambit-c SUBDIR += gauche SUBDIR += gawk SUBDIR += gcc SUBDIR += gcc-ecj45 SUBDIR += gcc10-devel SUBDIR += gcc48 SUBDIR += gcc5 SUBDIR += gcc6 SUBDIR += gcc6-aux SUBDIR += gcc7 SUBDIR += gcc7-devel SUBDIR += gcc8 SUBDIR += gcc8-devel SUBDIR += gcc9 SUBDIR += gcc9-devel SUBDIR += gforth SUBDIR += ghc SUBDIR += gjs SUBDIR += gnat_util SUBDIR += gnatcross-aarch64 SUBDIR += gnatcross-binutils-aarch64 SUBDIR += gnatcross-sysroot-aarch64 SUBDIR += gnatdroid-armv7 SUBDIR += gnatdroid-binutils SUBDIR += gnatdroid-binutils-x86 SUBDIR += gnatdroid-sysroot SUBDIR += gnatdroid-sysroot-x86 SUBDIR += gnatdroid-x86 SUBDIR += gnu-cobol SUBDIR += gnustep-base SUBDIR += go + SUBDIR += go-devel SUBDIR += go14 SUBDIR += gomacro SUBDIR += gprolog SUBDIR += gravity SUBDIR += groovy SUBDIR += gscheme SUBDIR += guile SUBDIR += guile2 SUBDIR += harbour SUBDIR += haskell-mode.el SUBDIR += hla SUBDIR += hope SUBDIR += hs-brainfuck SUBDIR += hs-unlambda SUBDIR += huc SUBDIR += hugs SUBDIR += icc SUBDIR += ici SUBDIR += icon SUBDIR += intercal SUBDIR += io SUBDIR += io-devel SUBDIR += itcl SUBDIR += itcl4 SUBDIR += jakarta-commons-jelly SUBDIR += janet SUBDIR += jimtcl SUBDIR += jruby SUBDIR += js_of_ocaml SUBDIR += julia SUBDIR += julia06 SUBDIR += julia07 SUBDIR += julia10 SUBDIR += julia11 SUBDIR += jython SUBDIR += kawa SUBDIR += kf5-kross SUBDIR += kross-interpreters SUBDIR += kturtle SUBDIR += lafontaine SUBDIR += lci SUBDIR += ldc SUBDIR += lfe SUBDIR += libhx SUBDIR += libobjc2 SUBDIR += librep SUBDIR += libstdc++_stldoc_4.2.2 SUBDIR += linux-c6-tcl85 SUBDIR += linux-c7-tcl85 SUBDIR += linux-dotnet-cli SUBDIR += linux-dotnet-runtime SUBDIR += linux-dotnet-sdk SUBDIR += linux-dotnet10-runtime SUBDIR += linux-dotnet11-runtime SUBDIR += linux-dotnet11-sdk SUBDIR += linux-j SUBDIR += lua-ada SUBDIR += lua51 SUBDIR += lua52 SUBDIR += lua53 SUBDIR += luajit SUBDIR += malbolge SUBDIR += maude SUBDIR += mawk SUBDIR += mdk SUBDIR += micropython SUBDIR += mit-scheme SUBDIR += mixal SUBDIR += mlton SUBDIR += mmix SUBDIR += modula3 SUBDIR += mono SUBDIR += mono-basic SUBDIR += mosh SUBDIR += mosml SUBDIR += mtasc SUBDIR += mujs SUBDIR += munger SUBDIR += myrddin SUBDIR += nawk SUBDIR += nbc SUBDIR += nbfc SUBDIR += neko SUBDIR += nesasm SUBDIR += newlisp SUBDIR += newlisp-devel SUBDIR += nhc98 SUBDIR += nickle SUBDIR += nim SUBDIR += nml SUBDIR += nqc SUBDIR += nwcc SUBDIR += nx SUBDIR += nyan SUBDIR += ocaml SUBDIR += ocaml-autoconf SUBDIR += ocaml-camlidl SUBDIR += ocaml-nox11 SUBDIR += ohugs SUBDIR += onyx SUBDIR += oo2c SUBDIR += opencoarrays SUBDIR += opendylan SUBDIR += ott SUBDIR += owl-lisp SUBDIR += p2c SUBDIR += p5-Data-JavaScript SUBDIR += p5-Error SUBDIR += p5-Expect SUBDIR += p5-ExtUtils-F77 SUBDIR += p5-Interpolation SUBDIR += p5-JSAN SUBDIR += p5-JavaScript-SpiderMonkey SUBDIR += p5-JavaScript-Squish SUBDIR += p5-JavaScript-Value-Escape SUBDIR += p5-List-MoreUtils SUBDIR += p5-List-MoreUtils-XS SUBDIR += p5-Marpa SUBDIR += p5-Marpa-PP SUBDIR += p5-Marpa-XS SUBDIR += p5-Modern-Perl SUBDIR += p5-Perl6-Subs SUBDIR += p5-Promises SUBDIR += p5-Pugs-Compiler-Rule SUBDIR += p5-Quantum-Superpositions SUBDIR += p5-Scalar-List-Utils SUBDIR += p5-Switch SUBDIR += p5-Tcl SUBDIR += p5-Test-XPath SUBDIR += p5-Try-Catch SUBDIR += p5-Try-Tiny SUBDIR += p5-Try-Tiny-Retry SUBDIR += p5-TryCatch SUBDIR += p5-ePerl SUBDIR += p5-signatures SUBDIR += p5-v6 SUBDIR += parrot SUBDIR += pbasic SUBDIR += pcc SUBDIR += perl5-devel SUBDIR += perl5.26 SUBDIR += perl5.28 SUBDIR += perl5.30 SUBDIR += petite-chez SUBDIR += pfe SUBDIR += phantomjs SUBDIR += pharo SUBDIR += phc SUBDIR += php-mode.el SUBDIR += php71 SUBDIR += php71-extensions SUBDIR += php72 SUBDIR += php72-extensions SUBDIR += php73 SUBDIR += php73-extensions SUBDIR += picoc SUBDIR += plexil SUBDIR += pocl SUBDIR += polyml SUBDIR += ponyc SUBDIR += ptoc SUBDIR += pure SUBDIR += py-hy SUBDIR += py-mx-base SUBDIR += py-prolog SUBDIR += py-qt5-qml SUBDIR += pypy SUBDIR += pypy3 SUBDIR += python SUBDIR += python-doc-html SUBDIR += python-doc-pdf-a4 SUBDIR += python-doc-pdf-letter SUBDIR += python-doc-text SUBDIR += python-mode.el SUBDIR += python-tools SUBDIR += python2 SUBDIR += python27 SUBDIR += python3 SUBDIR += python35 SUBDIR += python36 SUBDIR += python37 SUBDIR += qmasm SUBDIR += qscheme SUBDIR += quack SUBDIR += racket SUBDIR += racket-minimal SUBDIR += ratfor SUBDIR += referenceassemblies-pcl SUBDIR += retro12 SUBDIR += rexx-imc SUBDIR += rexx-regina SUBDIR += rexx-regutil SUBDIR += rexx-wrapper SUBDIR += rhino SUBDIR += rubinius SUBDIR += ruby24 SUBDIR += ruby25 SUBDIR += ruby26 SUBDIR += runawk SUBDIR += rust SUBDIR += rust-nightly SUBDIR += sagittarius-scheme SUBDIR += sather-specification SUBDIR += sather-tutorial SUBDIR += sbcl SUBDIR += scala SUBDIR += scala-docs SUBDIR += scheme48 SUBDIR += scm SUBDIR += sdcc SUBDIR += see SUBDIR += seed7 SUBDIR += siod SUBDIR += sisc SUBDIR += sketchy SUBDIR += slib SUBDIR += slib-guile SUBDIR += slib-guile2 SUBDIR += slisp SUBDIR += smalltalk SUBDIR += smlnj SUBDIR += snobol4 SUBDIR += solidity SUBDIR += spidermonkey17 SUBDIR += spidermonkey185 SUBDIR += spidermonkey24 SUBDIR += spidermonkey52 SUBDIR += spl SUBDIR += squeak SUBDIR += squirrel SUBDIR += starlogo SUBDIR += stldoc SUBDIR += swi-pl SUBDIR += swift SUBDIR += tcbasic SUBDIR += tcc SUBDIR += tcl-manual SUBDIR += tcl-wrapper SUBDIR += tcl85 SUBDIR += tcl86 SUBDIR += tcl87 SUBDIR += tclX SUBDIR += tinypy SUBDIR += tolua SUBDIR += tolua++ SUBDIR += tuareg-mode.el SUBDIR += twelf SUBDIR += ucc SUBDIR += urweb SUBDIR += v8 SUBDIR += vala SUBDIR += visualworks SUBDIR += yabasic SUBDIR += yap SUBDIR += yap-devel SUBDIR += yorick SUBDIR += ypsilon .include Index: head/lang/go/Makefile =================================================================== --- head/lang/go/Makefile (revision 504940) +++ head/lang/go/Makefile (revision 504941) @@ -1,98 +1,100 @@ # Created by: Devon H. O'Dell # $FreeBSD$ PORTNAME= go PORTVERSION= 1.12.6 PORTEPOCH= 1 CATEGORIES= lang MASTER_SITES= https://golang.org/dl/ DISTNAME= go${PORTVERSION}.src PATCH_SITES= https://github.com/golang/go/commit/ # https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221297#c23 PATCHFILES= 3b6216ed0601c81fe42c2a4738d419afccb62163.patch:-p1 \ 0bd101cecc5458a8463b8d672bf1745c3cbb7c02.patch:-p1 \ a6e892d26d6ee59799f55bc50521605ebf75ea67.patch:-p1 MAINTAINER= jlaffaye@FreeBSD.org COMMENT= Go programming language LICENSE= BSD3CLAUSE BUILD_DEPENDS= go14>=1.4:lang/go14 USES= shebangfix SHEBANG_LANG= sh perl SHEBANG_FILES= misc/benchcmp \ misc/nacl/go_nacl_*_exec \ misc/wasm/go_js_wasm_exec \ 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 +CONFLICTS_INSTALL= go-devel + OPTIONS_DEFINE_i386= GO387 GO387_DESC= Do not generate code with SSE2 (for old x86 CPU) .include .if ${ARCH} == i386 GOARCH=386 .elif ${ARCH} == "amd64" GOARCH=amd64 .elif ${ARCH} == armv6 || ${ARCH} == armv7 GOARCH=arm GOARM=${ARCH:C/armv//} .else IGNORE= unknown arch ${ARCH} .endif .ifdef QEMU_EMULATING IGNORE= fails to build with qemu-user-static .endif .if ${PORT_OPTIONS:MGO387} GO386=387 .endif PLIST_SUB+= opsys_ARCH=${OPSYS:tl}_${GOARCH} post-patch: @cd ${WRKSRC} && ${FIND} . -name '*.orig' -delete @${REINPLACE_CMD} -e 's|^if ulimit -T|false \&\& &|' ${WRKSRC}/src/run.bash do-build: cd ${WRKSRC}/src && \ GOROOT=${WRKSRC} GOROOT_FINAL=${PREFIX}/go \ GOROOT_BOOTSTRAP=${LOCALBASE}/go14 \ 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} .for f in go gofmt @${LN} -sf ../go/bin/${f} ${STAGEDIR}${PREFIX}/bin/${f} .endfor do-test: 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 ${CP} ${WRKDIR}/pkg-plist ${.CURDIR}/pkg-plist .include Index: head/lang/go/pkg-descr =================================================================== --- head/lang/go/pkg-descr (revision 504940) +++ head/lang/go/pkg-descr (revision 504941) @@ -1,4 +1,4 @@ Go is an open source programming environment that makes it easy to build simple, reliable, and efficient software. -WWW: http://golang.org +WWW: https://golang.org Index: head/lang/go-devel/Makefile =================================================================== --- head/lang/go-devel/Makefile (nonexistent) +++ head/lang/go-devel/Makefile (revision 504941) @@ -0,0 +1,90 @@ +# Created by: Devon H. O'Dell +# $FreeBSD$ + +PORTNAME= go +PORTVERSION= g20190604 +CATEGORIES= lang +PKGNAMESUFFIX= -devel + +MAINTAINER= dg@syrec.org +COMMENT= Go programming language (development version) + +LICENSE= BSD3CLAUSE + +ONLY_FOR_ARCHS= amd64 armv6 armv7 i386 + +BUILD_DEPENDS= go14>=1.4:lang/go14 + +USES= shebangfix +USE_GITHUB= yes +GH_ACCOUNT= golang +GH_TAGNAME= ac8dbe7747 + +SHEBANG_FILES= misc/benchcmp \ + misc/nacl/go_nacl_*_exec \ + misc/wasm/go_js_wasm_exec \ + src/net/http/cgi/testdata/test.cgi +SHEBANG_GLOB= *.bash *.pl *.sh +SHEBANG_LANG= sh +sh_OLD_CMD= /bin/bash "/usr/bin/env bash" +sh_CMD= ${SH} + +CONFLICTS_INSTALL= go + +OPTIONS_DEFINE_i386= GO387 +GO387_DESC= Do not generate code with SSE2 (for old x86 CPU) + +.include + +.if ${ARCH} == i386 +GOARCH=386 +.elif ${ARCH} == "amd64" +GOARCH=amd64 +.elif ${ARCH} == armv6 || ${ARCH} == armv7 +GOARCH=arm +.else +IGNORE= unknown arch ${ARCH} +.endif + +.if ${PORT_OPTIONS:MGO387} +GO386=387 +.endif + +BINARIES= go gofmt + +post-patch: + @cd ${WRKSRC} && ${FIND} . -name '*.orig' -delete + @${REINPLACE_CMD} -e 's|^if ulimit -T|false \&\& &|' ${WRKSRC}/src/run.bash + @${ECHO_CMD} "devel-${GH_TAGNAME}" > ${WRKSRC}/VERSION + +do-build: + cd ${WRKSRC}/src && \ + GOROOT=${WRKSRC} GOROOT_FINAL=${PREFIX}/go \ + GOROOT_BOOTSTRAP=${LOCALBASE}/go14 \ + GOBIN= GOARCH=${GOARCH} GOOS=${OPSYS:tl} \ + GO386=${GO386} \ + ${SH} make.bash -v + ${RM} -r ${WRKSRC}/pkg/obj \ + ${WRKSRC}/pkg/bootstrap \ + ${WRKSRC}/pkg/${OPSYS:tl}_${GOARCH}/cmd + +do-install: + @${MKDIR} ${STAGEDIR}${PREFIX}/go + @${CP} -a ${WRKSRC}/* ${STAGEDIR}${PREFIX}/go +.for f in ${BINARIES} + @${LN} -sf ../go/bin/${f} ${STAGEDIR}${PREFIX}/bin/${f} +.endfor + +post-install: +.for f in ${BINARIES} + @${ECHO_CMD} bin/${f} >> ${TMPPLIST} +.endfor + @cd ${STAGEDIR}${PREFIX} && \ + ${FIND} go -type f >> ${TMPPLIST} + +do-test: + cd ${WRKSRC}/src && \ + GOROOT=${WRKSRC} PATH=${WRKSRC}/bin:${PATH} \ + ${SH} run.bash -no-rebuild -banner "" + +.include Property changes on: head/lang/go-devel/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/lang/go-devel/distinfo =================================================================== --- head/lang/go-devel/distinfo (nonexistent) +++ head/lang/go-devel/distinfo (revision 504941) @@ -0,0 +1,3 @@ +TIMESTAMP = 1559846326 +SHA256 (golang-go-g20190604-ac8dbe7747_GH0.tar.gz) = 09815f8dd4663bfebadbad943ba61a4b3d4a2bc069ded646b70224d7d16a752a +SIZE (golang-go-g20190604-ac8dbe7747_GH0.tar.gz) = 21497169 Property changes on: head/lang/go-devel/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/lang/go-devel/pkg-descr =================================================================== --- head/lang/go-devel/pkg-descr (nonexistent) +++ head/lang/go-devel/pkg-descr (revision 504941) @@ -0,0 +1,6 @@ +Go is an open source programming environment that makes it easy to build +simple, reliable, and efficient software. + +This ports tracks Go development (master) branch. + +WWW: https://golang.org Property changes on: head/lang/go-devel/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property