Index: head/benchmarks/hey/Makefile =================================================================== --- head/benchmarks/hey/Makefile (revision 463775) +++ head/benchmarks/hey/Makefile (revision 463776) @@ -1,33 +1,33 @@ # Created by: Brad Davis # $FreeBSD$ PORTNAME= hey PORTVERSION= 0.1.0 DISTVERSIONPREFIX= v CATEGORIES= benchmarks MAINTAINER= brd@FreeBSD.org COMMENT= Tiny program that sends some load to a web application BUILD_DEPENDS= go>=1.7:lang/go USE_GITHUB= yes GH_ACCOUNT= rakyll GH_TUPLE= golang:net:41bba8d:net/src/golang.org/x/net PLIST_FILES= bin/hey do-build: ( cd ${WRKSRC}; \ ${MKDIR} src/github.com/rakyll/hey; \ cd src/github.com/rakyll/hey; \ ${LN} -s ../../../../requester . ) ( cd ${WRKSRC}; \ - ${SETENV} ${BUILD_ENV} GOPATH=${WRKSRC} CC=clang \ + ${SETENV} ${MAKE_ENV} ${BUILD_ENV} GOPATH=${WRKSRC} CC=clang \ go build ${BUILD_FLAGS} ) do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}-${PORTVERSION} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include Index: head/benchmarks/vegeta/Makefile =================================================================== --- head/benchmarks/vegeta/Makefile (revision 463775) +++ head/benchmarks/vegeta/Makefile (revision 463776) @@ -1,36 +1,36 @@ # $FreeBSD$ PORTNAME= vegeta DISTVERSIONPREFIX= v DISTVERSION= 6.3.0 CATEGORIES= benchmarks www MAINTAINER= egypcio@googlemail.com COMMENT= HTTP load testing tool and library LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= go:lang/go PLIST_FILES= bin/${PORTNAME} USE_GITHUB= yes GH_ACCOUNT= tsenart GH_TUPLE= streadway:quantile:b0c5887:quantile/github.com/streadway/quantile \ golang:net:ab54850:net/golang.org/x/net \ golang:text:c4d099d:text/golang.org/x/text do-build: @${MKDIR} ${WRKSRC}/github.com/${GH_ACCOUNT} @${RLN} ${WRKSRC} ${WRKSRC}/github.com/${GH_ACCOUNT}/${PORTNAME} @${RLN} ${WRKSRC} ${WRKSRC}/src @cd ${WRKSRC} && \ - ${SETENV} CGO_ENABLED=0 GOPATH=${WRKSRC} \ + ${SETENV} ${MAKE_ENV} CGO_ENABLED=0 GOPATH=${WRKSRC} \ go build -ldflags "-X main.Version=${DISTVERSION}" -o bin/${PORTNAME} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${STAGEDIR}/${LOCALBASE}/bin .include Index: head/databases/influxdb/Makefile =================================================================== --- head/databases/influxdb/Makefile (revision 463775) +++ head/databases/influxdb/Makefile (revision 463776) @@ -1,140 +1,140 @@ # $FreeBSD$ PORTNAME= influxdb PORTVERSION= 1.4.2 DISTVERSIONPREFIX= v CATEGORIES= databases net-mgmt MAINTAINER= cheffo@freebsd-bg.org COMMENT= Open-source distributed time series database LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE ONLY_FOR_ARCHS= amd64 armv6 armv7 i386 BUILD_DEPENDS= go>=1.8.1:lang/go USE_RC_SUBR= influxd USE_GITHUB= yes GH_ACCOUNT= influxdata:DEFAULT GH_TUPLE= BurntSushi:toml:a368813:toml/src/github.com/BurntSushi/toml \ bmizerany:pat:c068ca2:pat/src/github.com/bmizerany/pat \ boltdb:bolt:4b1ebc1:bolt/src/github.com/boltdb/bolt \ cespare:xxhash:1b6d2e4:xxhash/src/github.com/cespare/xxhash \ davecgh:go-spew:346938d:go_spew/src/github.com/davecgh/go-spew \ dgrijalva:jwt-go:24c63f5:jwt_go/src/github.com/dgrijalva/jwt-go \ dgryski:go-bits:2ad8d70:go_bits/src/github.com/dgryski/go-bits \ dgryski:go-bitstream:7d46cd2:go_bitstream/src/github.com/dgryski/go-bitstream \ gogo:protobuf:1c2b16b:protobuf/src/github.com/gogo/protobuf \ golang:snappy:d9eb7a3:snappy/src/github.com/golang/snappy \ google:go-cmp:18107e6:go_cmp/src/google/go-cmp \ influxdata:influxql:3921ab7:influxql/src/github.com/influxdata/influxql \ influxdata:usage-client:6d38953:usage_client/src/github.com/influxdata/usage-client \ influxdata:yamux:1f58ded:yamux/src/github.com/influxdata/yamux \ influxdata:yarpc:036268c:yarpc/src/github.com/influxdata/yarpc \ jwilder:encoding:278947:encoding/src/github.com/jwilder/encoding \ paulbellamy:ratecounter:5a11f58:ratecounter/src/github.com/paulbellamy/ratecounter \ peterh:liner:8860952:liner/src/github.com/peterh/liner \ philhofer:fwd:1612a29:fwd/src/github.com/philhofer/fwd \ retailnext:hllpp:38a7bb7:hllpp/src/github.com/retailnext/hllpp \ spaolacci:murmur3:0d12bf8:murmur3/src/github.com/spaolacci/murmur3 \ tinylib:msgp:ad0ff2e:msgp/src/github.com/tinylib/msgp \ collectd:go-collectd:e84e8af:go_collectd/src/collectd.org \ uber-go:atomic:74ca5ec:atomic/src/github.com/uber-go/atomic \ uber-go:zap:fbae028:zap/src/github.com/uber-go/zap \ xlab:treeprint:06dfc6f:treeprint/src/github.com/xlab/treeprint \ golang:crypto:9477e0b:crypto/src/golang.org/x/crypto \ golang:sys:062cd7e:sys/src/golang.org/x/sys \ golang:text:a71fd10:text/src/golang.org/x/text SUB_FILES= influxd SUB_LIST= INFLUXD_USER=${INFLUXD_USER} \ INFLUXD_GROUP=${INFLUXD_GROUP} \ INFLUXD_DBDIR=${INFLUXD_DBDIR} \ INFLUXD_PIDDIR=${INFLUXD_PIDDIR} \ INFLUXD_LOGDIR=${INFLUXD_LOGDIR} PLIST_SUB= INFLUXD_USER=${INFLUXD_USER} \ INFLUXD_GROUP=${INFLUXD_GROUP} \ INFLUXD_DBDIR=${INFLUXD_DBDIR} \ INFLUXD_PIDDIR=${INFLUXD_PIDDIR} \ INFLUXD_LOGDIR=${INFLUXD_LOGDIR} INFLUXD_USER= influxd INFLUXD_GROUP= influxd USERS= ${INFLUXD_USER} GROUPS= ${INFLUXD_GROUP} OPTIONS_DEFINE= MANPAGES OPTIONS_DEFAULT= MANPAGES OPTIONS_SUB= yes MANPAGES_BUILD_DEPENDS= xmlto:textproc/xmlto \ asciidoc:textproc/asciidoc \ docbook-xml>0:textproc/docbook-xml MANPAGES_USES= gmake INFLUXD_DBDIR= /var/db/${PORTNAME}/ INFLUXD_LOGDIR= /var/log/${PORTNAME}/ INFLUXD_PIDDIR= /var/run/${PORTNAME}/ .include .if ${OPSYS} == "FreeBSD" && ((${OSVERSION} >= 1100513 && ${OSVERSION} < 1200000) || \ ${OSVERSION} >= 1200015) SUB_LIST+= INFLUXD_LOGCMD="daemon" .else SUB_LIST+= INFLUXD_LOGCMD="logger" .endif post-patch: @${MKDIR} ${WRKSRC}/src/github.com/${GH_ACCOUNT_DEFAULT}/${PORTNAME} @cd ${WRKSRC} && \ ${MV} CHANGELOG.md CODING_GUIDELINES.md CONTRIBUTING.md \ Dockerfile Dockerfile_build_ubuntu32 Dockerfile_build_ubuntu64 \ Dockerfile_build_ubuntu64_git Dockerfile_build_ubuntu64_go19 \ Dockerfile_test_ubuntu32 Godeps \ LICENSE_OF_DEPENDENCIES.md QUERIES.md README.md TODO.md \ appveyor.yml build.py build.sh circle-test.sh circle.yml \ client cmd coordinator docker errors.go etc gobuild.sh importer \ influxdb.go internal man models monitor nightly.sh node.go pkg \ prometheus query releng scripts services stress tcp test.sh \ tests toml tsdb uuid \ ${WRKSRC}/src/github.com/${GH_ACCOUNT_DEFAULT}/${PORTNAME} do-build: @cd ${WRKSRC}/src/github.com/${GH_ACCOUNT_DEFAULT}/${GH_PROJECT} && \ - ${SETENV} GOPATH=${WRKSRC} go install -ldflags "-X main.version=${DISTVERSION}" ./... + ${SETENV} ${MAKE_ENV} GOPATH=${WRKSRC} go install -ldflags "-X main.version=${DISTVERSION}" ./... do-build-MANPAGES-on: @cd ${WRKSRC}/src/github.com/influxdata/influxdb/man && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} do-install: ${MKDIR} ${STAGEDIR}${INFLUXD_DBDIR} \ ${STAGEDIR}${INFLUXD_PIDDIR} \ ${STAGEDIR}${INFLUXD_LOGDIR} ${INSTALL_PROGRAM} ${WRKSRC}/bin/influxd ${STAGEDIR}${PREFIX}/bin/influxd ${INSTALL_PROGRAM} ${WRKSRC}/bin/influx ${STAGEDIR}${PREFIX}/bin/influx ${INSTALL_PROGRAM} ${WRKSRC}/bin/influx_inspect ${STAGEDIR}${PREFIX}/bin/influx_inspect ${INSTALL_PROGRAM} ${WRKSRC}/bin/influx_tsm ${STAGEDIR}${PREFIX}/bin/influx_tsm ${INSTALL_PROGRAM} ${WRKSRC}/bin/influx_stress ${STAGEDIR}${PREFIX}/bin/influx_stress ${INSTALL_PROGRAM} ${WRKSRC}/bin/store ${STAGEDIR}${PREFIX}/bin/influx_store @${SED} -i .bak -e \ "s|/var/lib/influxdb|/var/db/influxdb|g" \ ${WRKSRC}/src/github.com/${GH_ACCOUNT_DEFAULT}/${GH_PROJECT}/etc/config.sample.toml ${INSTALL_DATA} \ ${WRKSRC}/src/github.com/${GH_ACCOUNT_DEFAULT}/${GH_PROJECT}/etc/config.sample.toml \ ${STAGEDIR}${PREFIX}/etc/influxd.conf.sample do-install-MANPAGES-on: .for i in influx.1 influx_inspect.1 influx_stress.1 influx_tsm.1 \ influxd-backup.1 influxd-config.1 influxd-restore.1 \ influxd-run.1 influxd-version.1 influxd.1 influx.1 influx_inspect.1 \ influx_stress.1 influx_tsm.1 ${INSTALL_MAN} ${WRKSRC}/src/github.com/influxdata/influxdb/man/$i ${STAGEDIR}${MAN8PREFIX}/man/man1 .endfor .include Index: head/devel/arduino-builder/Makefile =================================================================== --- head/devel/arduino-builder/Makefile (revision 463775) +++ head/devel/arduino-builder/Makefile (revision 463776) @@ -1,53 +1,53 @@ # $FreeBSD$ PORTNAME= arduino-builder PORTVERSION= 1.3.25 CATEGORIES= devel MAINTAINER= kevans@FreeBSD.org COMMENT= Command line tool for building Arduino sketches LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= go:lang/go USE_GITHUB= yes GH_ACCOUNT= arduino GH_SUBDIR= src/github.com/${GH_ACCOUNT_DEFAULT}/${PORTNAME} GH_TUPLE= go-errors:errors:8fa88b0:goerrors/src/github.com/go-errors/errors \ stretchr:testify:v1.1.4:stretchr/src/github.com/stretchr/testify \ jstemmer:go-junit-report:6aeed67:jstemmer/src/github.com/jstemmer/go-junit-report OPTIONS_DEFINE= TOOLS OPTIONS_DEFAULT=TOOLS TOOLS_DESC= Add arduino-tools for a standalone build setup TOOLS_RUN_DEPENDS= arduino-tools>=${_COMPAT_VER}:devel/arduino-tools TOOLS_PLIST_FILES= arduino/arduino-builder.options GO_ENV+= GOPATH=${WRKSRC} _COMPAT_VER= 1.6.12 _IDE_VER= 10612 PLIST_FILES= arduino/hardware/platform.keys.rewrite.txt \ arduino/hardware/platform.txt \ bin/${PORTNAME} do-patch-TOOLS-on: ${CP} ${FILESDIR}/arduino-builder.options.in ${WRKSRC}/arduino-builder.options ${REINPLACE_CMD} -e 's|%%IDEVER%%|${_IDE_VER}|' \ -e 's|%%PREFIX%%|${PREFIX}|' \ ${WRKSRC}/arduino-builder.options do-build: - @( cd ${WRKSRC} ; ${SETENV} ${GO_ENV} go build arduino.cc/arduino-builder ) + @( cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${GO_ENV} go build arduino.cc/arduino-builder ) do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} (cd ${WRKSRC}/src/arduino.cc/builder && ${COPYTREE_SHARE} "hardware" ${STAGEDIR}${PREFIX}/arduino ${FIND_EXPR}) do-install-TOOLS-on: ${INSTALL_DATA} ${WRKSRC}/arduino-builder.options ${STAGEDIR}${PREFIX}/arduino/arduino-builder.options .include Index: head/devel/arduinoOTA/Makefile =================================================================== --- head/devel/arduinoOTA/Makefile (revision 463775) +++ head/devel/arduinoOTA/Makefile (revision 463776) @@ -1,27 +1,27 @@ # $FreeBSD$ PORTNAME= arduinoOTA PORTVERSION= 1.2.0 CATEGORIES= devel MAINTAINER= kevans@FreeBSD.org COMMENT= OTA upload tool for Arduino/ESP8266 LICENSE= GPLv3 BUILD_DEPENDS= go:lang/go USE_GITHUB= yes GH_ACCOUNT= arduino GH_TAGNAME= c2b8306 PLIST_FILES= bin/${PORTNAME} COMPILEINFO= ${OPSYS}${OSREL}-${ARCH}-${GH_TAGNAME} do-build: - (cd ${WRKSRC} && ${SETENV} ${GO_ENV} go build -o ${PORTNAME} -ldflags "-X main.compileInfo=${COMPILEINFO}" main.go) + @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GO_ENV} go build -o ${PORTNAME} -ldflags "-X main.compileInfo=${COMPILEINFO}" main.go do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include Index: head/devel/awless/Makefile =================================================================== --- head/devel/awless/Makefile (revision 463775) +++ head/devel/awless/Makefile (revision 463776) @@ -1,36 +1,36 @@ # Created by: Dmitri Goutnik # $FreeBSD$ PORTNAME= awless DISTVERSIONPREFIX= v DISTVERSION= 0.1.9 CATEGORIES= devel MAINTAINER= dg@syrec.org COMMENT= Fast, powerful and easy-to-use CLI for AWS LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= go:lang/go USE_GITHUB= yes GH_ACCOUNT= wallix GH_SUBDIR= src/github.com/wallix/${PORTNAME} OPTIONS_DEFINE= DOCS PLIST_FILES= bin/awless PORTDOCS= README.md CHANGELOG.md do-build: - @(cd ${WRKSRC} && ${SETENV} GOPATH=${WRKSRC} go build -o ${PORTNAME} ) + @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} GOPATH=${WRKSRC} go build -o ${PORTNAME} ) do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include Index: head/devel/git-codereview/Makefile =================================================================== --- head/devel/git-codereview/Makefile (revision 463775) +++ head/devel/git-codereview/Makefile (revision 463776) @@ -1,32 +1,32 @@ # $FreeBSD$ PORTNAME= git-codereview PORTVERSION= 0.0.0.2016030201 CATEGORIES= devel MAINTAINER= swills@FreeBSD.org COMMENT= Command-line tool for working with Gerrit BUILD_DEPENDS= ${LOCALBASE}/bin/go:lang/go USE_GITHUB= yes GH_ACCOUNT= golang GH_PROJECT= review GH_TAGNAME= 77ae237 PLIST_FILES= bin/git-codereview post-patch: @${MKDIR} ${WRKSRC}/src/golang.org/x/review .for src in .gitattributes AUTHORS CONTRIBUTING.md CONTRIBUTORS LICENSE PATENTS \ README codereview.cfg git-codereview @${MV} ${WRKSRC}/${src} ${WRKSRC}/src/golang.org/x/review .endfor do-build: - cd ${WRKSRC}/src/golang.org/x/review ; ${SETENV} ${BUILD_ENV} GOPATH=${WRKSRC} go install ./... + @cd ${WRKSRC}/src/golang.org/x/review ; ${SETENV} ${MAKE_ENV} ${BUILD_ENV} GOPATH=${WRKSRC} go install ./... do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include Index: head/devel/git-town/Makefile =================================================================== --- head/devel/git-town/Makefile (revision 463775) +++ head/devel/git-town/Makefile (revision 463776) @@ -1,36 +1,36 @@ # $FreeBSD$ PORTNAME= git-town DISTVERSIONPREFIX= v DISTVERSION= 6.0.2 CATEGORIES= devel MAINTAINER= yuri@FreeBSD.org COMMENT= Git extension for generic, high-level git workflow support LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= go:lang/go RUN_DEPENDS= git:devel/git USE_GITHUB= yes GH_ACCOUNT= Originate GH_SUBDIR= src/github.com/${GH_ACCOUNT}/${PORTNAME} PLIST_FILES= bin/${PORTNAME} OPTIONS_DEFINE= DOCS PORTDOCS= * do-build: - @cd ${WRKSRC}/${GH_SUBDIR} && ${SETENV} GOPATH=${WRKSRC} go build + @cd ${WRKSRC}/${GH_SUBDIR} && ${SETENV} ${MAKE_ENV} GOPATH=${WRKSRC} go build do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ do-install-DOCS-on: cd ${WRKSRC}/documentation && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} .include Index: head/devel/gitlab-runner/Makefile =================================================================== --- head/devel/gitlab-runner/Makefile (revision 463775) +++ head/devel/gitlab-runner/Makefile (revision 463776) @@ -1,76 +1,76 @@ # $FreeBSD$ PORTNAME= gitlab-runner PORTVERSION= 10.4.0 CATEGORIES= devel MASTER_SITES= \ https://gitlab.com/gitlab-org/gitlab-runner/repository/archive.tar.bz2?ref=v${PORTVERSION}&dummy=/ \ https://gitlab-runner-downloads.s3.amazonaws.com/master/docker/:dockerx64 \ https://gitlab-runner-downloads.s3.amazonaws.com/master/docker/:dockerarm DISTFILES= \ ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} \ prebuilt-x86_64.tar.xz:dockerx64 \ prebuilt-arm.tar.xz:dockerarm DIST_SUBDIR= gitlab-runner EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= swills@FreeBSD.org COMMENT= Official GitLab Runner written in Go LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= go:lang/go \ go-bindata:devel/go-bindata RUN_DEPENDS= ca_root_nss>=0:security/ca_root_nss \ bash:shells/bash \ git:devel/git USES= tar:bz2 GITHASH= 857480b64b013d8edffaf70e4b7ea43ee1c66a9e GITREV= 857480b6 GITBRANCH= 10-4-stable BUILT= 2018-01-22T09:48:29-00:00 WRKSRC= ${WRKDIR}/gitlab-runner-v${PORTVERSION}-${GITHASH} GO_LDFLAGS= -X gitlab.com/gitlab-org/gitlab-runner/common.VERSION=${PORTVERSION} \ -X gitlab.com/gitlab-org/gitlab-runner/common.REVISION=${GITREV} \ -X gitlab.com/gitlab-org/gitlab-runner/common.BUILT=${BUILT} \ -X gitlab.com/gitlab-org/gitlab-runner/common.BRANCH=${GITBRANCH} \ -s -w PLIST_FILES= bin/gitlab-runner USE_RC_SUBR= gitlab_runner USERS= gitlab-runner GROUPS= gitlab-runner post-extract: @${MKDIR} ${WRKSRC}/out/docker/ @${CP} ${DISTDIR}/${DIST_SUBDIR}/prebuilt-x86_64.tar.xz ${WRKSRC}/out/docker/ @${CP} ${DISTDIR}/${DIST_SUBDIR}/prebuilt-arm.tar.xz ${WRKSRC}/out/docker/ do-build: @cd ${WRKSRC} && go-bindata \ -pkg docker \ -nocompress \ -nomemcopy \ -nometadata \ -prefix out/docker/ \ -o executors/docker/bindata.go \ out/docker/prebuilt-x86_64.tar.xz \ out/docker/prebuilt-arm.tar.xz @cd ${WRKSRC} && go fmt executors/docker/bindata.go @${MV} ${WRKSRC}/vendor ${WRKSRC}/src @${MKDIR} ${WRKSRC}/src/gitlab.com/gitlab-org @${LN} -s ${WRKSRC} ${WRKSRC}/src/gitlab.com/gitlab-org/gitlab-runner @cd ${WRKSRC} && \ - ${SETENV} CGO_ENABLED=0 GOPATH=${WRKSRC} go build \ + ${SETENV} ${MAKE_ENV} CGO_ENABLED=0 GOPATH=${WRKSRC} go build \ -ldflags="${GO_LDFLAGS}" \ -o gitlab-runner do-install: ${INSTALL_PROGRAM} ${WRKSRC}/gitlab-runner ${STAGEDIR}${PREFIX}/bin/gitlab-runner .include Index: head/devel/grv/Makefile =================================================================== --- head/devel/grv/Makefile (revision 463775) +++ head/devel/grv/Makefile (revision 463776) @@ -1,49 +1,49 @@ # $FreeBSD$ PORTNAME= grv DISTVERSIONPREFIX= v DISTVERSION= 0.1.2 CATEGORIES= devel MAINTAINER= dg@syrec.org COMMENT= Terminal interface for viewing git repositories LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= go:lang/go LIB_DEPENDS= libgit2.so:devel/libgit2 USES= ncurses pkgconfig readline:port USE_GITHUB= yes GH_ACCOUNT= rgburke GH_SUBDIR= src/github.com/${GH_ACCOUNT}/${PORTNAME} GH_TUPLE= bradfitz:slice:d9036e2:slice/src/github.com/bradfitz/slice \ camlistore:go4:fba789b:reflectutil/src/go4.org \ gobwas:glob:51eb1ee:glob/src/github.com/gobwas/glob \ golang:crypto:1875d0a:crypto/src/golang.org/x/crypto \ golang:sys:37707fd:sys/src/golang.org/x/sys \ mattn:go-runewidth:97311d9:runewidth/src/github.com/mattn/go-runewidth \ rgburke:goncurses:74f667a:goncurses/src/github.com/rgburke/goncurses \ rjeczalik:notify:c31e5f2:notify/src/github.com/rjeczalik/notify \ Sirupsen:logrus:768a92a:logrus/src/github.com/Sirupsen/logrus \ tchap:go-patricia:5ad6cdb:patricia/src/github.com/tchap/go-patricia \ libgit2:git2go:eb0bf21:git2go/src/gopkg.in/libgit2/git2go.v26 # Keep git2go branch in sync with devel/libgit2 version PLIST_FILES= bin/grv OPTIONS_DEFINE= DOCS PORTDOCS= * do-build: - @cd ${WRKSRC} && ${SETENV} GOPATH=${WRKSRC} go build ./cmd/${PORTNAME} + @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} GOPATH=${WRKSRC} go build ./cmd/${PORTNAME} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} .include Index: head/devel/hub/Makefile =================================================================== --- head/devel/hub/Makefile (revision 463775) +++ head/devel/hub/Makefile (revision 463776) @@ -1,35 +1,35 @@ # Created by: Simon Olofsson # $FreeBSD$ PORTNAME= hub PORTVERSION= 2.2.9 DISTVERSIONPREFIX=v CATEGORIES= devel MAINTAINER= koukopoulos@gmail.com COMMENT= Introduces git to GitHub LICENSE= MIT BUILD_DEPENDS= go:lang/go \ bash:shells/bash USE_GITHUB= yes GH_ACCOUNT= github PLIST_FILES= bin/hub \ etc/bash_completion.d/hub \ share/zsh/site-functions/_hub \ man/man1/hub.1.gz do-build: - @cd ${WRKSRC} ; ${SETENV} ${LOCALBASE}/bin/bash script/build + @cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${LOCALBASE}/bin/bash script/build do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/hub ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/man/hub.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 @${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d ${INSTALL_DATA} ${WRKSRC}/etc/hub.bash_completion.sh ${STAGEDIR}${PREFIX}/etc/bash_completion.d/hub @${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions ${INSTALL_DATA} ${WRKSRC}/etc/hub.zsh_completion ${STAGEDIR}${PREFIX}/share/zsh/site-functions/_hub .include Index: head/devel/jfrog-cli/Makefile =================================================================== --- head/devel/jfrog-cli/Makefile (revision 463775) +++ head/devel/jfrog-cli/Makefile (revision 463776) @@ -1,30 +1,30 @@ # $FreeBSD$ PORTNAME= jfrog-cli PORTVERSION= 1.13.1 CATEGORIES= devel MAINTAINER= swills@FreeBSD.org COMMENT= CLI client for Artifactory BUILD_DEPENDS= ${LOCALBASE}/bin/go:lang/go USE_GITHUB= yes GH_ACCOUNT= JFrogDev GH_PROJECT= jfrog-cli-go PLIST_FILES= bin/jfrog post-extract: @${MV} ${WRKSRC}/vendor/ ${WRKSRC}/src @${MKDIR} ${WRKSRC}/src/github.com/jfrogdev/jfrog-cli-go @${MV} ${WRKSRC}/jfrog-cli ${WRKSRC}/jfrog-client ${WRKSRC}/src/github.com/jfrogdev/jfrog-cli-go do-build: - cd ${WRKSRC}/src/github.com/jfrogdev/jfrog-cli-go ; \ - ${SETENV} ${BUILD_ENV} GOPATH=${WRKSRC} go install ./... + @cd ${WRKSRC}/src/github.com/jfrogdev/jfrog-cli-go ; \ + ${SETENV} ${MAKE_ENV} ${BUILD_ENV} GOPATH=${WRKSRC} go install ./... do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/jfrog ${STAGEDIR}${PREFIX}/bin/jfrog .include Index: head/editors/micro/Makefile =================================================================== --- head/editors/micro/Makefile (revision 463775) +++ head/editors/micro/Makefile (revision 463776) @@ -1,53 +1,53 @@ # $FreeBSD$ PORTNAME= micro PORTVERSION= 1.1.4 DISTVERSIONPREFIX= v CATEGORIES= editors MAINTAINER= swills@FreeBSD.org COMMENT= Modern and intuitive terminal-based text editor LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= go:lang/go USE_GITHUB= yes GH_ACCOUNT= zyedidia GH_SUBDIR= src/github.com/zyedidia/${PORTNAME} GH_TUPLE= \ blang:semver:4a1e882:semver/src/github.com/blang/semver \ gdamore:encoding:b23993c:encoding/src/github.com/gdamore/encoding \ go-errors:errors:8fa88b0:errors/src/github.com/go-errors/errors \ golang:net:906cda9:net/src/golang.org/x/net \ golang:text:0ad425f:text/src/golang.org/x/text \ layeh:gopher-luar:ab3f305:luar/src/layeh.com/gopher-luar \ lucasb-eyer:go-colorful:c900de9:colorful/src/github.com/lucasb-eyer/go-colorful \ mattn:go-isatty:dda3de4:isatty/src/github.com/mattn/go-isatty \ mattn:go-runewidth:14207d2:runewidth/src/github.com/mattn/go-runewidth \ mitchellh:go-homedir:b8bc1bf:homedir/src/github.com/mitchellh/go-homedir \ sergi:go-diff:24e2351:godiff/src/github.com/sergi/go-diff \ yuin:gopher-lua:eed1c79:gopherlua/src/github.com/yuin/gopher-lua \ zyedidia:clipboard:adacf41:clipboard/src/github.com/zyedidia/clipboard \ zyedidia:glob:dd4023a:glob/src/github.com/zyedidia/glob \ zyedidia:json5:2518f8b:json5/src/github.com/zyedidia/json5 \ zyedidia:tcell:856dbb2:tcell/src/github.com/zyedidia/tcell BUILD_HASH= 5dc8fe4 BUILD_DATE= February 10, 2017 PLIST_FILES= bin/micro PORTDOCS= README.md do-build: @(cd ${WRKSRC} ; \ - ${SETENV} GOPATH=${WRKSRC} go build -ldflags \ + ${SETENV} ${MAKE_ENV} GOPATH=${WRKSRC} go build -ldflags \ "-s -w -X main.Version=${PORTVERSION} -X main.CommitHash=${BUILD_HASH} -X 'main.CompileDate=${BUILD_DATE}' " ./cmd/micro ) do-install: ${INSTALL_PROGRAM} ${WRKSRC}/micro ${STAGEDIR}${PREFIX}/bin ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} .include Index: head/finance/fixc/Makefile =================================================================== --- head/finance/fixc/Makefile (revision 463775) +++ head/finance/fixc/Makefile (revision 463776) @@ -1,24 +1,24 @@ # $FreeBSD$ PORTNAME= fixc PORTVERSION= 1.0 DISTVERSIONPREFIX= v CATEGORIES= finance MAINTAINER= blttll@gmail.com COMMENT= Simple Financial Information eXchange (FIX) protocol console client BUILD_DEPENDS= ${LOCALBASE}/bin/go:lang/go PLIST_FILES= bin/fixc USE_GITHUB= yes GH_ACCOUNT= blttll do-build: - cd ${WRKSRC} && \ - go build -o fixc main.go + @cd ${WRKSRC} && \ + ${SETENV} ${MAKE_ENV} go build -o fixc main.go do-install: ${INSTALL_PROGRAM} ${WRKSRC}/fixc ${STAGEDIR}${PREFIX}/bin .include Index: head/misc/exercism/Makefile =================================================================== --- head/misc/exercism/Makefile (revision 463775) +++ head/misc/exercism/Makefile (revision 463776) @@ -1,33 +1,33 @@ # Created by: Steve Wills # $FreeBSD$ PORTNAME= exercism PORTVERSION= 2.4.1 DISTVERSIONPREFIX= v CATEGORIES= misc MAINTAINER= swills@FreeBSD.org COMMENT= CLI client for exercism.io BUILD_DEPENDS= ${LOCALBASE}/bin/go:lang/go USE_GITHUB= yes GH_PROJECT= cli PLIST_FILES= bin/exercism post-patch: @${MKDIR} ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT} .for src in .gitignore .travis.yml CHANGELOG.md LICENSE README.md RELEASE.md \ api bin cmd config exercism fixtures user debug paths vendor @${MV} ${WRKSRC}/${src} ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT} .endfor do-build: @(cd ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT} ; \ - ${SETENV} GO15VENDOREXPERIMENT=1 GOPATH=${WRKSRC} go build -o bin/exercism exercism/main.go) + ${SETENV} ${MAKE_ENV} GO15VENDOREXPERIMENT=1 GOPATH=${WRKSRC} go build -o bin/exercism exercism/main.go) do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT}/bin/exercism ${STAGEDIR}${PREFIX}/bin .include Index: head/net/goreplay/Makefile =================================================================== --- head/net/goreplay/Makefile (revision 463775) +++ head/net/goreplay/Makefile (revision 463776) @@ -1,34 +1,34 @@ # $FreeBSD$ PORTNAME= goreplay PORTVERSION= 0.16.1 DISTVERSIONPREFIX= v CATEGORIES= net MAINTAINER= swills@FreeBSD.org COMMENT= Tool for capturing and replaying live HTTP traffic LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= ${LOCALBASE}/bin/go:lang/go USE_GITHUB= yes GH_ACCOUNT= buger GH_TUPLE= google:gopacket:b09bf40:gopacket/vendor/github.com/google/gopacket \ Shopify:sarama:0fb560e:sarama/vendor/github.com/Shopify/sarama \ mattbaird:elastigo:34c4c4d:elastigo/vendor/github.com/mattbaird/elastigo \ bitly:go-hostpool:d0e59c2:hostpool/vendor/github.com/bitly/go-hostpool \ araddon:gou:50a94aa:gou/vendor/github.com/araddon/gou GH_SUBDIR= src/github.com/buger/goreplay PLIST_FILES= bin/${PORTNAME} do-build: - @cd ${WRKSRC}/${GH_SUBDIR} ; ${SETENV} GOPATH=${WRKSRC} go build + @cd ${WRKSRC}/${GH_SUBDIR} ; ${SETENV} ${MAKE_ENV} GOPATH=${WRKSRC} go build do-install: ${INSTALL_PROGRAM} ${WRKSRC}/goreplay \ ${STAGEDIR}${PREFIX}/bin/ .include Index: head/net/syncthing/Makefile =================================================================== --- head/net/syncthing/Makefile (revision 463775) +++ head/net/syncthing/Makefile (revision 463776) @@ -1,36 +1,36 @@ # Created by: Steve Wills # $FreeBSD$ PORTNAME= syncthing PORTVERSION= 0.14.44 DISTVERSIONPREFIX= v CATEGORIES= net MAINTAINER= swills@FreeBSD.org COMMENT= Encrypted file sync tool BUILD_DEPENDS= ${LOCALBASE}/bin/go:lang/go USE_GITHUB= yes GH_SUBDIR= src/github.com/${PORTNAME}/${PORTNAME} USE_RC_SUBR= syncthing PLIST_FILES= bin/syncthing PORTDOCS= * USERS= syncthing GROUPS= syncthing do-build: @cd ${WRKSRC}/src/github.com/${PORTNAME}/${PORTNAME} ; \ - ${SETENV} go run build.go -no-upgrade=true -version v${PORTVERSION} + ${SETENV} ${MAKE_ENV} go run build.go -no-upgrade=true -version v${PORTVERSION} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/github.com/${PORTNAME}/${PORTNAME}/bin/syncthing \ ${STAGEDIR}${PREFIX}/bin/ ${MKDIR} ${STAGEDIR}${DOCSDIR} .for x in AUTHORS CONTRIBUTING.md LICENSE README.md ${INSTALL_DATA} ${WRKSRC}/src/github.com/${PORTNAME}/${PORTNAME}/${x} \ ${STAGEDIR}${DOCSDIR} .endfor .include Index: head/net/syncthing-cli/Makefile =================================================================== --- head/net/syncthing-cli/Makefile (revision 463775) +++ head/net/syncthing-cli/Makefile (revision 463776) @@ -1,26 +1,26 @@ # Created by: Steve Wills # $FreeBSD$ PORTNAME= syncthing-cli PORTVERSION= 0.1.0.2015092201 CATEGORIES= net MAINTAINER= swills@FreeBSD.org COMMENT= Syncthing CLI BUILD_DEPENDS= go>=1.5:lang/go USE_GITHUB= yes GH_ACCOUNT= syncthing GH_TAGNAME= 9594d39 PLIST_FILES= bin/syncthing-cli do-build: - @cd ${WRKSRC} ; ${SETENV} GOPATH=${WRKSRC}/Godeps/_workspace:${WRKSRC} go build + @cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} GOPATH=${WRKSRC}/Godeps/_workspace:${WRKSRC} go build @${MV} ${WRKSRC}/syncthing-cli-${GH_TAGNAME} ${WRKSRC}/syncthing-cli do-install: ${INSTALL_PROGRAM} ${WRKSRC}/syncthing-cli ${STAGEDIR}${PREFIX}/bin/ .include Index: head/net/syncthing-discosrv/Makefile =================================================================== --- head/net/syncthing-discosrv/Makefile (revision 463775) +++ head/net/syncthing-discosrv/Makefile (revision 463776) @@ -1,39 +1,39 @@ # Created by: Steve Wills # $FreeBSD$ PORTNAME= syncthing-discosrv PORTVERSION= 0.13.0 DISTVERSIONPREFIX= v CATEGORIES= net MAINTAINER= swills@FreeBSD.org COMMENT= Discovery server for syncthing BUILD_DEPENDS= go:lang/go USE_GITHUB= yes GH_ACCOUNT= syncthing GH_PROJECT= discosrv PLIST_FILES= bin/syncthing-discosrv USE_RC_SUBR= syncthing-discosrv USERS= syncthing GROUPS= syncthing post-patch: @cd ${WRKSRC} ; ${MKDIR} src/github.com/${GH_ACCOUNT}/${GH_PROJECT} ; \ ${MV} .gitignore CONTRIBUTORS LICENSE README.md build.sh \ clean.go db.go main.go psql.go ql.go querysrv.go stats.go \ vendor \ src/github.com/${GH_ACCOUNT}/${GH_PROJECT} do-build: @cd ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT} ; \ - ${SETENV} GOPATH=${WRKSRC} go build + ${SETENV} ${MAKE_ENV} GOPATH=${WRKSRC} go build @${MV} ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT}/discosrv ${WRKSRC}/syncthing-discosrv do-install: ${INSTALL_PROGRAM} ${WRKSRC}/syncthing-discosrv ${STAGEDIR}${PREFIX}/bin/ .include Index: head/net/syncthing-inotify/Makefile =================================================================== --- head/net/syncthing-inotify/Makefile (revision 463775) +++ head/net/syncthing-inotify/Makefile (revision 463776) @@ -1,24 +1,24 @@ # $FreeBSD$ PORTNAME= syncthing-inotify PORTVERSION= 0.8.7 DISTVERSIONPREFIX= v CATEGORIES= net MAINTAINER= swills@FreeBSD.org COMMENT= Syncthing inotify monitor BUILD_DEPENDS= ${LOCALBASE}/bin/go:lang/go USE_GITHUB= yes GH_ACCOUNT= syncthing GH_SUBDIR= src/github.com/syncthing/syncthing-inotify PLIST_FILES= bin/syncthing-inotify do-build: - @cd ${WRKSRC}/${GH_SUBDIR} ; ${SETENV} CGO_ENABLED=0 GOPATH=${WRKSRC} go build + @cd ${WRKSRC}/${GH_SUBDIR} ; ${SETENV} ${MAKE_ENV} CGO_ENABLED=0 GOPATH=${WRKSRC} go build do-install: ${INSTALL_PROGRAM} ${WRKSRC}/syncthing-inotify ${STAGEDIR}${PREFIX}/bin/ .include Index: head/net-mgmt/intel-snap/Makefile =================================================================== --- head/net-mgmt/intel-snap/Makefile (revision 463775) +++ head/net-mgmt/intel-snap/Makefile (revision 463776) @@ -1,66 +1,66 @@ # Created by: Brad Davis # $FreeBSD$ PORTNAME= intel-snap PORTVERSION= 0.0.1 CATEGORIES= net-mgmt MAINTAINER= brd@FreeBSD.org COMMENT= Intels open telemetry framework #LICENSE= APACHE2 BUILD_DEPENDS= go>=1.5:lang/go USE_GITHUB= yes GH_ACCOUNT= stdale GH_PROJECT= snap-freebsd GH_TAGNAME= ca8016d GH_TUPLE= Sirupsen:logrus:61e43dc:logrus/src/github.com/Sirupsen/logrus \ vrischmann:jsonutil:d44b59f:jsonutil/src/github.com/vrischmann/jsonutil \ golang:crypto:f18420e:crypto/src/golang.org/x/crypto \ appc:spec:e99880c:schema/src/github.com/appc/spec \ asaskevich:govalidator:fdf1978:govalidator/src/github.com/asaskevich/govalidator \ coreos:go-semver:9474efc:semver/src/github.com/coreos/go-semver \ ghodss:yaml:04f3134:yaml/src/github.com/ghodss/yaml \ golang:protobuf:8ee7999:protobuf/src/github.com/golang/protobuf \ hashicorp:go-msgpack:fa3f638:msgpack/src/github.com/hashicorp/go-msgpack \ hashicorp:memberlist:9888dc5:memberlist/src/github.com/hashicorp/memberlist \ armon:go-metrics:06b6099:metrics/src/github.com/armon/go-metrics \ intelsdi-x:gomit:db68f6f:gomit/src/github.com/intelsdi-x/gomit \ julienschmidt:httprouter:8a45e95:httprouter/src/github.com/julienschmidt/httprouter \ robfig:cron:9585fd5:cron/src/github.com/robfig/cron \ urfave:cli:347a988:cli2/src/github.com/urfave/cli \ urfave:negroni:61dbefc:negroni/src/github.com/urfave/negroni \ pborman:uuid:1b00554:uuid/src/github.com/pborman/uuid \ spf13:pflag:9ff6c69:pflag/src/github.com/spf13/pflag \ xeipuuv:gojsonschema:f06f290:gojsonschema/src/github.com/xeipuuv/gojsonschema \ xeipuuv:gojsonreference:e02fc20:gojsonreference/src/github.com/xeipuuv/gojsonreference \ xeipuuv:gojsonpointer:e0fe6f6:gojsonpointer/src/github.com/xeipuuv/gojsonpointer \ golang:net:41bba8d:net/src/golang.org/x/net \ abh:errorutil:f9bd360:errorutil/src/go4.org/errorutil \ go-yaml:yaml:4c78c97:yaml2/src/gopkg.in/yaml.v2 \ go-inf:inf:3887ee9:inf/src/gopkg.in/inf.v0 \ grpc:grpc-go:b1efb1e:grpc/src/google.golang.org/grpc \ ghodss:yaml:04f3134:yaml/src/github.com/ghodss/yaml PLIST_FILES= bin/snapctl bin/snapd do-build: ( cd ${WRKSRC}; ${LN} -s ${WRKSRC} ${WRKSRC}/src/github.com/intelsdi-x/snap ) ( cd ${WRKSRC}/src/github.com/appc/spec; \ - ${SETENV} ${BUILD_ENV} GOPATH=${WRKSRC} CC=clang \ + ${SETENV} ${BUILD_ENV} ${MAKE_ENV} GOPATH=${WRKSRC} CC=clang \ go build -o bin/actool github.com/appc/spec/actool ) ( cd ${WRKSRC}; \ - ${SETENV} ${BUILD_ENV} GOPATH=${WRKSRC} CC=clang \ + ${SETENV} ${BUILD_ENV} ${MAKE_ENV} GOPATH=${WRKSRC} CC=clang \ go build ${BUILD_FLAGS} -o bin/snapd ) ( cd ${WRKSRC}/cmd/snapctl; \ - ${SETENV} ${BUILD_ENV} GOPATH=${WRKSRC} CC=clang \ + ${SETENV} ${BUILD_ENV} ${MAKE_ENV} GOPATH=${WRKSRC} CC=clang \ go build ${BUILD_FLAGS} -o bin/snapctl ) do-install: ${INSTALL_PROGRAM} ${WRKSRC}/cmd/snapctl/bin/snapctl ${STAGEDIR}${PREFIX}/bin/snapctl ${INSTALL_PROGRAM} ${WRKSRC}/bin/snapd ${STAGEDIR}${PREFIX}/bin/snapd .include Index: head/net-mgmt/kapacitor/Makefile =================================================================== --- head/net-mgmt/kapacitor/Makefile (revision 463775) +++ head/net-mgmt/kapacitor/Makefile (revision 463776) @@ -1,64 +1,64 @@ # Created by: Stefan Lambrev # $FreeBSD$ PORTNAME= kapacitor PORTVERSION= 1.3.2 DISTVERSIONPREFIX= v CATEGORIES= net-mgmt MAINTAINER= cheffo@freebsd-bg.org COMMENT= Time-series data collection LICENSE= MIT ONLY_FOR_ARCHS= amd64 armv6 armv7 i386 BUILD_DEPENDS= go>=1.6.0:lang/go USE_RC_SUBR= kapacitord USE_GITHUB= yes GH_ACCOUNT= influxdata:DEFAULT # This should work, but go gets confused with the symlinks. #GH_SUBDIR= src/github.com/${GH_ACCOUNT_DEFAULT}/${PORTNAME} SUB_FILES= kapacitord SUB_LIST+= KAPACITORD_PIDDIR=${KAPACITORD_PIDDIR} PLIST_SUB= KAPACITORD_PIDDIR=${KAPACITORD_PIDDIR} post-patch: @${MKDIR} ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${PORTNAME} @cd ${WRKSRC} && ${MV} \ BLOB_STORE_DESIGN.md CHANGELOG.md CONTRIBUTING.md DESIGN.md \ Gopkg.lock Gopkg.toml LICENSE_OF_DEPENDENCIES.md README.md \ alert alert.go auth batch.go bufpool build.py build.sh \ circle-test.sh circle.yml client clock cmd combine.go combine_test.go \ command default.go delete.go derivative.go doc.go edge.go \ edge_test.go etc eval.go examples expr.go expvar flatten.go \ gobuild.sh group_by.go http_out.go http_post.go influxdb \ influxdb_out.go influxql.gen.go influxql.gen.go.tmpl influxql.go \ integrations join.go k8s_autoscale.go kapacitor_loopback.go \ list-deps listmap log.go metaclient.go models node.go noop.go \ output.go pipeline query.go query_test.go replay.go result.go \ sample.go scripts server services shift.go state_tracking.go \ stats.go stream.go task.go task_master.go template.go test.sh \ tick tickdoc.conf timer tmpldata.json udf udf.go udf_test.go \ union.go update_tick_docs.sh usr uuid vars vendor where.go \ window.go window_test.go \ ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${PORTNAME} do-build: @cd ${WRKSRC}/src/github.com/influxdata/${PORTNAME} \ - && ${SETENV} GOPATH=${WRKSRC} go install -ldflags "-X main.version=${DISTVERSION}" ./cmd/${PORTNAME} \ - && ${SETENV} GOPATH=${WRKSRC} go install -ldflags "-X main.version=${DISTVERSION}" ./cmd/${PORTNAME}d + && ${SETENV} ${MAKE_ENV} GOPATH=${WRKSRC} go install -ldflags "-X main.version=${DISTVERSION}" ./cmd/${PORTNAME} \ + && ${SETENV} ${MAKE_ENV} GOPATH=${WRKSRC} go install -ldflags "-X main.version=${DISTVERSION}" ./cmd/${PORTNAME}d do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME}d ${STAGEDIR}${PREFIX}/bin/${PORTNAME}d ${INSTALL_DATA} \ ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT}/etc/${PORTNAME}/${PORTNAME}.conf \ ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample .include Index: head/net-mgmt/telegraf/Makefile =================================================================== --- head/net-mgmt/telegraf/Makefile (revision 463775) +++ head/net-mgmt/telegraf/Makefile (revision 463776) @@ -1,137 +1,137 @@ # Created by: Stefan Lambrev # $FreeBSD$ PORTNAME= telegraf DISTVERSION= 1.5.2 CATEGORIES= net-mgmt MAINTAINER= girgen@FreeBSD.org COMMENT= Time-series data collection LICENSE= MIT BUILD_DEPENDS= go>=1.5.0:lang/go ONLY_FOR_ARCHS= amd64 USE_RC_SUBR= telegraf USE_GITHUB= yes GH_ACCOUNT= influxdata:DEFAULT GH_TUPLE= collectd:go-collectd:2ce1445:collectd_org/src/collectd.org \ aerospike:aerospike-client-go:95e1ad7:aerospike_client_go/src/github.com/aerospike/aerospike-client-go \ amir:raidman:c74861f:raidman/src/github.com/amir/raidman \ apache:thrift:4aaa92ec:thrift/src/github.com/apache/thrift \ aws:aws-sdk-go:c861d27d:aws_sdk_go/src/github.com/aws/aws-sdk-go \ beorn7:perks:4c0e845:perks/src/github.com/beorn7/perks \ bsm:sarama-cluster:abf0394:sarama_cluster/src/github.com/bsm/sarama-cluster \ cenkalti:backoff:b02f2bb:backoff/src/github.com/cenkalti/backoff \ couchbase:go-couchbase:bfe555a:go_couchbase/src/github.com/couchbase/go-couchbase \ couchbase:gomemcached:4a25d2f:gomemcached/src/github.com/couchbase/gomemcached \ couchbase:goutils:5823a0c:goutils/src/github.com/couchbase/goutils \ davecgh:go-spew:346938d:go_spew/src/github.com/davecgh/go-spew \ dgrijalva:jwt-go:dbeaa93:jwt_go/src/github.com/dgrijalva/jwt-go \ moby:moby:f5ec1e293:docker/src/github.com/docker/docker \ docker:go-connections:990a1a1:go_connections/src/github.com/docker/go-connections \ eapache:go-resiliency:b86b1ec:go_resiliency/src/github.com/eapache/go-resiliency \ eapache:go-xerial-snappy:bb955e0:go_xerial_snappy/src/github.com/eapache/go-xerial-snappy \ eapache:queue:44cc805:queue/src/github.com/eapache/queue \ eclipse:paho.mqtt.golang:d4f545e:paho_mqtt_golang/src/github.com/eclipse/paho.mqtt.golang \ go-ini:ini:9144852:ini/src/github.com/go-ini/ini \ go-logfmt:logfmt:390ab79:logfmt/src/github.com/go-logfmt/logfmt \ go-ole:go-ole:be49f7c:go_ole/src/github.com/go-ole/go-ole \ go-sql-driver:mysql:2e00b5c:mysql/src/github.com/go-sql-driver/mysql \ gobwas:glob:bea32b9:glob/src/github.com/gobwas/glob \ gogo:protobuf:7b6c6391:gogo_protobuf/src/github.com/gogo/protobuf \ golang:protobuf:8ee7999:protobuf/src/github.com/golang/protobuf \ golang:snappy:7db9049:snappy/src/github.com/golang/snappy \ google:go-cmp:f94e52c:go_cmp/src/github.com/google/go-cmp \ gorilla:mux:392c28f:mux/src/github.com/gorilla/mux \ hailocab:go-hostpool:e80d13c:go_hostpool/src/github.com/hailocab/go-hostpool \ hashicorp:consul:63d2fc68:consul/src/github.com/hashicorp/consul \ influxdata:tail:a395bf9:tail/src/github.com/influxdata/tail \ influxdata:toml:5d1d907:toml/src/github.com/influxdata/toml \ influxdata:wlog:7c63b0a:wlog/src/github.com/influxdata/wlog \ jackc:pgx:63f58fd:pgx/src/github.com/jackc/pgx \ jmespath:go-jmespath:bd40a43:go_jmespath/src/github.com/jmespath/go-jmespath \ kardianos:osext:c2c54e5:osext/src/github.com/kardianos/osext \ kardianos:service:6d3a0ee:service/src/github.com/kardianos/service \ kballard:go-shellquote:d8ec1a6:go_shellquote/src/github.com/kballard/go-shellquote \ matttproud:golang_protobuf_extensions:c12348c:golang_protobuf_extensions/src/github.com/matttproud/golang_protobuf_extensions \ Microsoft:go-winio:ce2922f:go_winio/src/github.com/Microsoft/go-winio \ miekg:dns:99f84ae:dns/src/github.com/miekg/dns \ mitchellh:mapstructure:d0303fe:mapstructure/src/github.com/mitchellh/mapstructure \ multiplay:go-ts3:07477f4:go_ts3/src/github.com/multiplay/go-ts3 \ naoina:go-stringutil:6b638e9:go_stringutil/src/github.com/naoina/go-stringutil \ nats-io:go-nats:ea95856:nats/src/github.com/nats-io/nats \ nats-io:nuid:289cccf:nuid/src/github.com/nats-io/nuid \ nsqio:go-nsq:eee57a3:go_nsq/src/github.com/nsqio/go-nsq \ opencontainers:runc:89ab7f2c:runc/src/github.com/opencontainers/runc \ opentracing:opentracing-go:06f47b4:opentracing_go/src/github.com/opentracing/opentracing-go \ opentracing-contrib:go-observer:a52f234:go_observer/src/github.com/opentracing-contrib/go-observer \ openzipkin:zipkin-go-opentracing:1cafbdf:zipkin_go_opentracing/src/github.com/openzipkin/zipkin-go-opentracing \ pierrec:lz4:5c9560b:lz4/src/github.com/pierrec/lz4 \ pierrec:xxHash:5a00444:xxHash/src/github.com/pierrec/xxHash \ pkg:errors:645ef00:errors/src/github.com/pkg/errors \ pmezard:go-difflib:792786c:go_difflib/src/github.com/pmezard/go-difflib \ prometheus:client_golang:c317fb7:client_golang/src/github.com/prometheus/client_golang \ prometheus:client_model:fa8ad6f:client_model/src/github.com/prometheus/client_model \ prometheus:common:dd2f054:common/src/github.com/prometheus/common \ prometheus:procfs:1878d9f:procfs/src/github.com/prometheus/procfs \ rcrowley:go-metrics:1f30fe9:go_metrics/src/github.com/rcrowley/go-metrics \ samuel:go-zookeeper:1d7be4e:go_zookeeper/src/github.com/samuel/go-zookeeper \ satori:go.uuid:5bf94b6:go_uuid/src/github.com/satori/go.uuid \ shirou:gopsutil:384a551:gopsutil/src/github.com/shirou/gopsutil \ shirou:w32:3c9377f:w32/src/github.com/shirou/w32 \ Shopify:sarama:3b1b388:sarama/src/github.com/Shopify/sarama \ Sirupsen:logrus:61e43dc:logrus/src/github.com/Sirupsen/logrus \ soniah:gosnmp:5ad50dc:gosnmp/src/github.com/soniah/gosnmp \ sparrc:gdm:81089da:gdm/src/github.com/sparrc/gdm \ StackExchange:wmi:f3e2bae:wmi/src/github.com/StackExchange/wmi \ streadway:amqp:63795da:amqp/src/github.com/streadway/amqp \ stretchr:objx:1a9d0bb:objx/src/github.com/stretchr/objx \ stretchr:testify:4d4bfba:testify/src/github.com/stretchr/testify \ vjeantet:grok:d73e972:grok/src/github.com/vjeantet/grok \ wvanbergen:kafka:bc265fe:kafka/src/github.com/wvanbergen/kafka \ wvanbergen:kazoo-go:9689573:kazoo_go/src/github.com/wvanbergen/kazoo-go \ yuin:gopher-lua:66c871e:gopher_lua/src/github.com/yuin/gopher-lua \ zensqlmonitor:go-mssqldb:ffe5510:go_mssqldb/src/github.com/zensqlmonitor/go-mssqldb \ golang:crypto:dc137be:crypto/src/golang.org/x/crypto \ golang:net:f249948:net/src/golang.org/x/net \ golang:sys:7397344:sys/src/golang.org/x/sys \ golang:text:506f9d5:text/src/golang.org/x/text \ golang:tools:b790d0ba:tools/src/golang.org/x/tools \ fatih:pool:6e328e6:pool_v2/src/gopkg.in/fatih/pool.v2 \ go-fsnotify:fsnotify:a8a77c9:fsnotify/src/gopkg.in/fsnotify.v1/fsnotify \ gorethink:gorethink:7ab832f:gorethink_v3/src/gopkg.in/gorethink/gorethink.v3 \ go-asn1-ber:asn1-ber:4e86f43:asn1_ber/src/gopkg.in/asn1-ber.v1 \ go-ldap:ldap:8168ee0:ldap/src/gopkg.in/ldap.v2 \ go-mgo:mgo:3f83fa5:mgo/src/gopkg.in/mgo.v2 \ olivere:elastic:3113f9b:elastic_v5/src/gopkg.in/olivere/elastic.v5 \ go-tomb:tomb:dd63297:tomb/src/gopkg.in/tomb.v1 \ go-yaml:yaml:4c78c97:yaml/src/gopkg.in/yaml.v2 SUB_FILES= telegraf SUB_LIST+= TELEGRAF_PIDDIR=${TELEGRAF_PIDDIR} PLIST_SUB= TELEGRAF_PIDDIR=${TELEGRAF_PIDDIR} post-patch: @${MKDIR} ${WRKSRC}/src/github.com/${GH_ACCOUNT_DEFAULT}/${PORTNAME} @cd ${WRKSRC} && ${MV} appveyor.yml CHANGELOG.md CONTRIBUTING.md Godeps \ LICENSE Makefile README.md accumulator.go agent aggregator.go circle.yml cmd docs etc filter \ input.go internal logger metric metric.go output.go plugins processor.go scripts selfstat testutil \ ${WRKSRC}/src/github.com/${GH_ACCOUNT_DEFAULT}/${PORTNAME} ${LN} -s nats ${WRKSRC}/src/github.com/nats-io/go-nats do-build: @cd ${WRKSRC}/src/github.com/influxdata/${PORTNAME} && \ - ${SETENV} GOPATH=${WRKSRC} go install -ldflags "-X main.version=${DISTVERSION}" ./... + ${SETENV} ${MAKE_ENV} GOPATH=${WRKSRC} go install -ldflags "-X main.version=${DISTVERSION}" ./... do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${INSTALL_DATA} \ ${WRKSRC}/src/github.com/${GH_ACCOUNT_DEFAULT}/${GH_PROJECT}/etc/${PORTNAME}.conf \ ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample .include Index: head/print/cups-connector/Makefile =================================================================== --- head/print/cups-connector/Makefile (revision 463775) +++ head/print/cups-connector/Makefile (revision 463776) @@ -1,64 +1,64 @@ # $FreeBSD$ PORTNAME= cups-connector PORTVERSION= 0.0.0.2016.03.09 CATEGORIES= print MAINTAINER= swills@FreeBSD.org COMMENT= Share CUPS printers via Google Cloud Print LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= go:lang/go \ cups>=0:print/cups \ avahi-app>=0:net/avahi-app USES= compiler pkgconfig USE_GITHUB= yes GH_TUPLE= google:cups-connector:1fdc26d:DEFAULT/src/github.com/google/cups-connector \ codegangsta:cli:a294348:cli/src/github.com/codegangsta/cli \ coreos:go-systemd:7b2428f:gosystemd/src/github.com/coreos/go-systemd \ golang:oauth2:2cd4472:oauth2/src/golang.org/x/oauth2 \ golang:net:6acef71:net/src/golang.org/x/net \ mildred:go-xdg:875014b:xdg/src/launchpad.net/go-xdg/v0 BIN_FILES= gcp-connector-util gcp-cups-connector PLIST_FILES= ${BIN_FILES:S/^/bin\//} OPTIONS_DEFINE= DOCS PORTDOCS= CONTRIBUTING.md README.md post-patch: @${REINPLACE_CMD} -e "s@%%PREFIX%%@${PREFIX}@g" \ ${WRKSRC}/cups/core.go ${WRKSRC}/privet/avahi.go do-build: .for bin in ${BIN_FILES} @cd ${WRKSRC}/src/github.com/google/cups-connector; ${SETENV} \ - ${BUILD_ENV} GOPATH=${WRKSRC} go build -o \ + ${MAKE_ENV} ${BUILD_ENV} GOPATH=${WRKSRC} go build -o \ ${WRKSRC}/bin/${bin} ./${bin} .endfor do-install: .for bin in ${BIN_FILES} ${INSTALL_PROGRAM} ${WRKSRC}/bin/${bin} \ ${STAGEDIR}${PREFIX}/bin/${bin} .endfor post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} .for doc in ${PORTDOCS} ${CP} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR} .endfor .include # golang assumes that if clang is in use, it is called "clang" and not "cc". If # it's called "cc", go may fail .if ${COMPILER_TYPE} == clang BUILD_ENV= CC=clang .endif .include Index: head/security/sops/Makefile =================================================================== --- head/security/sops/Makefile (revision 463775) +++ head/security/sops/Makefile (revision 463776) @@ -1,35 +1,35 @@ # $FreeBSD$ PORTNAME= sops DISTVERSION= 3.0.2 CATEGORIES= security editors MAINTAINER= dg@syrec.org COMMENT= Editor of encrypted files that supports YAML, JSON and BINARY formats LICENSE= MPL20 BUILD_DEPENDS= go>=1.8:lang/go USE_GITHUB= yes GH_ACCOUNT= mozilla GH_SUBDIR= src/go.mozilla.org/${PORTNAME} PLIST_FILES= bin/sops OPTIONS_DEFINE= DOCS PORTDOCS= README.rst CHANGELOG.rst do-build: @cd ${WRKSRC}/${GH_SUBDIR} && \ - ${SETENV} GOPATH=${WRKSRC} go build -o ${PORTNAME} ./cmd/sops + ${SETENV} ${MAKE_ENV} GOPATH=${WRKSRC} go build -o ${PORTNAME} ./cmd/sops do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include Index: head/security/vault/Makefile =================================================================== --- head/security/vault/Makefile (revision 463775) +++ head/security/vault/Makefile (revision 463776) @@ -1,42 +1,42 @@ # $FreeBSD$ PORTNAME= vault PORTVERSION= 0.9.3 DISTVERSIONPREFIX= v CATEGORIES= security MAINTAINER= swills@FreeBSD.org COMMENT= Tool for securely accessing secrets LICENSE= MPL20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= go>=1.9:lang/go USE_GITHUB= yes GH_ACCOUNT= hashicorp GH_SUBDIR= src/github.com/${GH_ACCOUNT}/${PORTNAME} COMMIT_ID= 5acd6a21d5a69ab49d0f7c0bf540123a9b2c696d USE_RC_SUBR= vault USERS= vault GROUPS= vault PLIST_FILES= bin/${PORTNAME} do-build: @cd ${WRKSRC}; \ - ${SETENV} ${BUILD_ENV} CGO_ENABLED=0 GOPATH=${WRKSRC} \ + ${SETENV} ${MAKE_ENV} ${BUILD_ENV} CGO_ENABLED=0 GOPATH=${WRKSRC} \ go build \ -ldflags "\ -X github.com/hashicorp/vault/version.Version=${PORTVERSION} \ -X github.com/hashicorp/vault/version.VersionPrerelease= \ -X github.com/hashicorp/vault/version.VersionMetadata= \ -X github.com/hashicorp/vault/version.GitCommit='${COMMIT_ID}'" \ -o bin/${PORTNAME} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include Index: head/sysutils/amazon-ssm-agent/Makefile =================================================================== --- head/sysutils/amazon-ssm-agent/Makefile (revision 463775) +++ head/sysutils/amazon-ssm-agent/Makefile (revision 463776) @@ -1,39 +1,39 @@ # $FreeBSD$ PORTNAME= amazon-ssm-agent PORTVERSION= 2.0.790.0 PORTREVISION= 1 CATEGORIES= sysutils MAINTAINER= cperciva@FreeBSD.org COMMENT= Amazon Simple Systems Manager Agent LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= go:lang/go RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss USE_GITHUB= yes GH_ACCOUNT= aws GH_SUBDIR= src/github.com/aws/amazon-ssm-agent PLIST_FILES= etc/amazon/ssm/amazon-ssm-agent.json.template \ etc/amazon/ssm/seelog_unix.xml.template \ sbin/amazon-ssm-agent USE_RC_SUBR= amazon-ssm-agent do-build: @cd ${WRKSRC}; \ - ${SETENV} GOPATH=${WRKSRC}:${WRKSRC}/vendor CGO_ENABLED=0 \ + ${SETENV} ${MAKE_ENV} GOPATH=${WRKSRC}:${WRKSRC}/vendor CGO_ENABLED=0 \ go build -ldflags "-s -w" -o amazon-ssm-agent \ agent/agent.go agent/agent_unix.go agent/agent_parser.go do-install: ${INSTALL_PROGRAM} ${WRKSRC}/amazon-ssm-agent ${STAGEDIR}${PREFIX}/sbin ${MKDIR} ${STAGEDIR}${PREFIX}/etc/amazon/ssm ${INSTALL_DATA} ${WRKSRC}/amazon-ssm-agent.json.template ${STAGEDIR}${PREFIX}/etc/amazon/ssm ${INSTALL_DATA} ${WRKSRC}/seelog_unix.xml ${STAGEDIR}${PREFIX}/etc/amazon/ssm/seelog_unix.xml.template .include Index: head/sysutils/circonus-agent/Makefile =================================================================== --- head/sysutils/circonus-agent/Makefile (revision 463775) +++ head/sysutils/circonus-agent/Makefile (revision 463776) @@ -1,61 +1,61 @@ # $FreeBSD$ PORTNAME= circonus-agent DISTVERSIONPREFIX= v DISTVERSION= 0.9.1 CATEGORIES= sysutils MAINTAINER= sam.gwydir@joyent.com COMMENT= Circonus host agent for metric collection LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE USE_GITHUB= yes BUILD_DEPENDS= go>=1.8:lang/go GH_TUPLE= circonus-labs:circonus-agent:${DISTVERSIONPREFIX}${DISTVERSION}:DEFAULT/src/github.com/circonus-labs/circonus-agent \ alecthomas:units:2efee85:units/src/github.com/alecthomas/units \ pkg:errors:645ef00:errors/src/github.com/pkg/errors \ rs:zerolog:3ac71fc:zerolog/src/github.com/rs/zerolog \ spf13:cobra:7b2c5ac:cobra/src/github.com/spf13/cobra \ spf13:viper:25b30aa:viper/src/github.com/spf13/viper \ golang:sys:8b4580a:sys/src/golang.org/x/sys \ xi2:httpgzip:2d8bcdd:httpgzip/src/xi2.org/x/httpgzip \ pelletier:go-toml:16398ba:go_toml/src/github.com/pelletier/go-toml \ maier:go-appstats:812a586:go_appstats/src/github.com/maier/go-appstats \ circonus-labs:circonus-gometrics:b25d14e:circonus_gometrics/src/github.com/circonus-labs/circonus-gometrics \ go-tomb:tomb:d5d1b58:tomb2/src/gopkg.in/tomb.v2 \ go-yaml:yaml:4c78c97:yaml2/src/gopkg.in/yaml.v2 \ go-ole:go-ole:a41e3c4:go_ole/src/github.com/go-ole/go-ole \ circonus-labs:circonusllhist:6e85b93:circonusllhist/src/github.com/circonus-labs/circonusllhist \ fsnotify:fsnotify:4da3e2c:fsnotify/src/github.com/fsnotify/fsnotify \ hashicorp:go-retryablehttp:794af36:go_retryablehttp/src/github.com/hashicorp/go-retryablehttp \ spf13:pflag:e57e3ee:pflag/src/github.com/spf13/pflag \ hashicorp:go-cleanhttp:06c9ea3:go_cleanhttp/src/github.com/hashicorp/go-cleanhttp \ hashicorp:hcl:23c074d:hcl/src/github.com/hashicorp/hcl \ magiconair:properties:49d762b:properties/src/github.com/magiconair/properties \ mitchellh:mapstructure:06020f8:mapstructure/src/github.com/mitchellh/mapstructure \ spf13:afero:8d919cb:afero/src/github.com/spf13/afero \ spf13:cast:acbeb36:cast/src/github.com/spf13/cast \ spf13:jWalterWeatherman:12bd96e:jWalterWeatherman/src/github.com/spf13/jwalterweatherman \ golang:text:6353ef0:text/src/golang.org/x/text \ tv42:httpunix:b75d861:httpunix/src/github.com/tv42/httpunix \ prometheus:client_model:99fa1f4:client_model/src/github.com/prometheus/client_model \ golang:protobuf:8ee7999:protobuf/src/github.com/golang/protobuf \ prometheus:common:2e54d0b:common/src/github.com/prometheus/common \ matttproud:golang_protobuf_extensions:c12348c:golang_protobuf_extensions/src/github.com/matttproud/golang_protobuf_extensions ETCDIR= ${PREFIX}/etc/circonus-agentd PLIST_FILES= bin/circonus-agentd "@dir ${ETCDIR}" do-build: ( cd ${WRKSRC}; \ - ${SETENV} ${BUILD_ENV} GOPATH=${WRKSRC} \ + ${SETENV} ${MAKE_ENV} ${BUILD_ENV} GOPATH=${WRKSRC} \ go build ${BUILD_FLAGS} -o bin/circonus-agentd ) do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/circonus-agentd ${STAGEDIR}${PREFIX}/bin/circonus-agentd @${MKDIR} ${STAGEDIR}${ETCDIR} .include Index: head/sysutils/consul/Makefile =================================================================== --- head/sysutils/consul/Makefile (revision 463775) +++ head/sysutils/consul/Makefile (revision 463776) @@ -1,51 +1,51 @@ # $FreeBSD$ PORTNAME= consul PORTVERSION= 1.0.6 DISTVERSIONPREFIX= v CATEGORIES= sysutils MAINTAINER= swills@FreeBSD.org COMMENT= Service discovery and configuration made easy LICENSE= MPL20 BUILD_DEPENDS= ${LOCALBASE}/bin/go:lang/go USES= compiler USE_GITHUB= yes GH_ACCOUNT= hashicorp GH_SUBDIR= src/github.com/${GH_ACCOUNT}/${PORTNAME} USE_RC_SUBR= consul PLIST_FILES= bin/consul USERS= consul GROUPS= consul post-extract: @${MV} ${WRKSRC}/vendor/ ${WRKSRC}/src/ do-build: - @cd ${WRKSRC}/src/github.com/hashicorp/consul; ${SETENV} CGO_ENABLED=0 ${BUILD_ENV} GOPATH=${WRKSRC} go build \ + @cd ${WRKSRC}/src/github.com/hashicorp/consul; ${SETENV} ${MAKE_ENV} CGO_ENABLED=0 ${BUILD_ENV} GOPATH=${WRKSRC} go build \ -ldflags "\ -X github.com/hashicorp/consul/version.Version=${PORTVERSION} \ -X github.com/hashicorp/consul/version.VersionPrerelease= \ -X github.com/hashicorp/consul/version.GitDescribe=v${PORTVERSION} \ " \ -o bin/consul do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/github.com/hashicorp/consul/bin/consul ${STAGEDIR}${PREFIX}/bin/consul .include # golang assumes that if clang is in use, it is called "clang" and not "cc". If # it's called "cc", go fails. .if ${COMPILER_TYPE} == clang BUILD_ENV= CC=clang .endif .include Index: head/sysutils/consul_exporter/Makefile =================================================================== --- head/sysutils/consul_exporter/Makefile (revision 463775) +++ head/sysutils/consul_exporter/Makefile (revision 463776) @@ -1,48 +1,48 @@ # $FreeBSD$ PORTNAME= consul_exporter PORTVERSION= 0.3.0 DISTVERSIONPREFIX= v CATEGORIES= sysutils MAINTAINER= t.tom@succont.de COMMENT= Exporter for Consul metrics LICENSE= APACHE20 BUILD_DEPENDS= ${LOCALBASE}/bin/go:lang/go USES= compiler USE_GITHUB= yes GH_ACCOUNT= prometheus GH_SUBDIR= src/github.com/${GH_ACCOUNT}/consul_exporter USE_RC_SUBR= consul_exporter PLIST_FILES= bin/consul_exporter post-extract: @${MV} ${WRKSRC}/vendor/ ${WRKSRC}/src/ do-build: - @cd ${WRKSRC}/src/github.com/prometheus/consul_exporter; ${SETENV} CGO_ENABLED=0 ${BUILD_ENV} GOPATH=${WRKSRC} go build \ + @cd ${WRKSRC}/src/github.com/prometheus/consul_exporter; ${SETENV} ${MAKE_ENV} CGO_ENABLED=0 ${BUILD_ENV} GOPATH=${WRKSRC} go build \ -ldflags "\ -X github.com/prometheus/consul_exporter/version.Version=${PORTVERSION} \ -X github.com/prometheus/consul_exporter/version.VersionPrerelease= \ -X github.com/prometheus/consul_exporter/version.GitDescribe=v${PORTVERSION} \ " \ -o bin/consul_exporter do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/github.com/prometheus/consul_exporter/bin/consul_exporter ${STAGEDIR}${PREFIX}/bin/consul_exporter .include # golang assumes that if clang is in use, it is called "clang" and not "cc". If # it's called "cc", go fails. .if ${COMPILER_TYPE} == clang BUILD_ENV= CC=clang .endif .include Index: head/sysutils/envconsul/Makefile =================================================================== --- head/sysutils/envconsul/Makefile (revision 463775) +++ head/sysutils/envconsul/Makefile (revision 463776) @@ -1,46 +1,46 @@ # $FreeBSD$ PORTNAME= envconsul PORTVERSION= 0.7.3 DISTVERSIONPREFIX= v CATEGORIES= sysutils MAINTAINER= swills@FreeBSD.org COMMENT= Populate values from Consul into a process environment LICENSE= MPL20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${LOCALBASE}/bin/go:lang/go USE_GITHUB= yes GH_ACCOUNT= hashicorp GH_SUBDIR= src/github.com/${GH_ACCOUNT}/${PORTNAME} PLIST_FILES= bin/envconsul OPTIONS_DEFINE= DOCS PORTDOCS= README.md COMMIT= 7ece735 GO_LDFLAGS= -ldflags="-s -w \ -X main.Name=${PORTNAME} \ -X main.Version=${PORTVERSION} \ -X main.GitCommit=${COMMIT}" do-build: @cd ${WRKSRC}/src/github.com/hashicorp/envconsul; \ - ${SETENV} ${BUILD_ENV} GOPATH=${WRKSRC} \ + ${SETENV} ${MAKE_ENV} ${BUILD_ENV} GOPATH=${WRKSRC} \ go build ${GO_LDFLAGS}\ -o bin/envconsul do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/github.com/hashicorp/envconsul/bin/envconsul ${STAGEDIR}${PREFIX}/bin/envconsul post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} .for doc in ${PORTDOCS} ${CP} ${WRKSRC}/src/github.com/hashicorp/envconsul/${doc} ${STAGEDIR}${DOCSDIR} .endfor .include Index: head/sysutils/serf/Makefile =================================================================== --- head/sysutils/serf/Makefile (revision 463775) +++ head/sysutils/serf/Makefile (revision 463776) @@ -1,36 +1,36 @@ # $FreeBSD$ PORTNAME= serf PORTVERSION= 0.8.1 DISTVERSIONPREFIX= v CATEGORIES= sysutils PKGNAMEPREFIX= hashicorp- MAINTAINER= swills@FreeBSD.org COMMENT= Service discovery and configuration made easy LICENSE= MPL20 BUILD_DEPENDS= go:lang/go USE_GITHUB= yes GH_ACCOUNT= hashicorp GH_SUBDIR:= src/github.com/${GH_ACCOUNT}/${PORTNAME} USE_RC_SUBR= serf USERS= serf GROUPS= serf PLIST_FILES= bin/serf do-build: @cd ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${PORTNAME}; \ - ${SETENV} GOPATH=${WRKSRC}:${WRKSRC}/vendor/ \ + ${SETENV} ${MAKE_ENV} GOPATH=${WRKSRC}:${WRKSRC}/vendor/ \ go build -o bin/${PORTNAME} ./cmd/serf/ do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${PORTNAME}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include Index: head/textproc/consul-template/Makefile =================================================================== --- head/textproc/consul-template/Makefile (revision 463775) +++ head/textproc/consul-template/Makefile (revision 463776) @@ -1,34 +1,34 @@ # Created by: Steve Wills # $FreeBSD$ PORTNAME= consul-template PORTVERSION= 0.19.4 DISTVERSIONPREFIX= v PORTREVISION= 1 CATEGORIES= textproc MAINTAINER= swills@FreeBSD.org COMMENT= Generic template rendering and notifications with Consul LICENSE= MPL20 BUILD_DEPENDS= ${LOCALBASE}/bin/go:lang/go USE_GITHUB= yes GH_ACCOUNT= hashicorp GH_SUBDIR= src/github.com/hashicorp/consul-template PLIST_FILES= bin/consul-template USE_RC_SUBR= consul-template do-build: @cd ${WRKSRC}/src/github.com/hashicorp/consul-template ; \ - ${SETENV} GOPATH=${WRKSRC} go build + ${SETENV} ${MAKE_ENV} GOPATH=${WRKSRC} go build do-install: ${INSTALL_PROGRAM} \ ${WRKSRC}/src/github.com/hashicorp/consul-template/consul-template \ ${STAGEDIR}${PREFIX}/bin/consul-template .include Index: head/textproc/spiff/Makefile =================================================================== --- head/textproc/spiff/Makefile (revision 463775) +++ head/textproc/spiff/Makefile (revision 463776) @@ -1,47 +1,47 @@ # $FreeBSD$ PORTNAME= spiff PORTVERSION= 1.0.8 DISTVERSIONPREFIX= v CATEGORIES= textproc MAINTAINER= swills@FreeBSD.org COMMENT= Declarative YAML templating system tuned for BOSH deployment manifests BUILD_DEPENDS= ${LOCALBASE}/bin/go:lang/go USE_GITHUB= yes GH_ACCOUNT= cloudfoundry-incubator PLIST_FILES= bin/spiff PORTDOCS= LICENSE README.md examples/cf-aws.yml \ examples/multi-az-cf-aws.yml examples/tutorial.md OPTIONS_DEFINE= DOCS post-patch: @cd ${WRKSRC} ; ${MV} ${WRKSRC}/vendor ${WRKSRC}/src @cd ${WRKSRC} ; ${MKDIR} src/github.com/${GH_ACCOUNT}/${GH_PROJECT} ; \ ${MV} .gitignore LICENSE Makefile README.md \ compare dynaml examples flow init_test.go scripts spiff.go \ spiff_test.go yaml \ src/github.com/${GH_ACCOUNT}/${GH_PROJECT} do-build: @cd ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT} ; \ - ${SETENV} GOPATH=${WRKSRC} go build spiff.go + ${SETENV} ${MAKE_ENV} GOPATH=${WRKSRC} go build spiff.go do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT}/${PORTNAME} \ ${STAGEDIR}${PREFIX}/bin/ do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT}/LICENSE \ ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT}/README.md \ ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT} && ${COPYTREE_SHARE} examples ${STAGEDIR}${DOCSDIR} .include Index: head/www/gobuffalo/Makefile =================================================================== --- head/www/gobuffalo/Makefile (revision 463775) +++ head/www/gobuffalo/Makefile (revision 463776) @@ -1,94 +1,94 @@ # $FreeBSD$ PORTNAME= gobuffalo PORTVERSION= 0.10.3 DISTVERSIONPREFIX= v CATEGORIES= www MAINTAINER= swills@FreeBSD.org COMMENT= Go web development eco-system, designed to make the life easier LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= ${LOCALBASE}/bin/go:lang/go RUN_DEPENDS= yarn>=0:www/yarn \ ${LOCALBASE}/bin/go:lang/go \ git>=2.14.1:devel/git USE_GITHUB= yes GH_PROJECT= buffalo GH_TUPLE= \ cockroachdb:cockroach-go:0d8b468:cockroach/vendor/github.com/cockroachdb/cockroach-go \ daviddengcn:go-colortext:17e75f6:colortext/vendor/github.com/daviddengcn/go-colortext \ dustin:go-humanize:bb3d318:humanize/vendor/github.com/dustin/go-humanize \ fatih:color:5df930a:color/vendor/github.com/fatih/color \ fatih:structs:ebf56d3:structs/vendor/github.com/fatih/structs \ fsnotify:fsnotify:c282820:fsnotify/vendor/github.com/fsnotify/fsnotify \ go-sql-driver:mysql:bc14601:gmysql/vendor/github.com/go-sql-driver/mysql \ go-yaml:yaml:d670f94:yaml/src/gopkg.in/yaml.v2 \ gobuffalo:envy:bac51f7:envy/vendor/github.com/gobuffalo/envy \ gobuffalo:makr:aea1794:makr/vendor/github.com/gobuffalo/makr \ gobuffalo:packr:64c3dd4:packr/vendor/github.com/gobuffalo/packr \ gobuffalo:plush:ea63b97:plush/vendor/github.com/gobuffalo/plush \ gobuffalo:tags:77cf949:tags/vendor/github.com/gobuffalo/tags \ gobuffalo:x:11ca13c:https/vendor/github.com/gobuffalo/x \ golang:crypto:9334d73:crypto/vendor/golang.org/x/crypto \ gorilla:context:08b5f42:context/vendor/github.com/gorilla/context \ gorilla:mux:c0091a0:mux/vendor/github.com/gorilla/mux \ gorilla:securecookie:e59506c:securecookie/vendor/github.com/gorilla/securecookie \ gorilla:sessions:41ee504:sessions/vendor/github.com/gorilla/sessions \ gorilla:websocket:4ac9097:websocket/vendor/github.com/gorilla/websocket \ jmoiron:sqlx:05cef07:sqlx/vendor/github.com/jmoiron/sqlx \ joho:godotenv:6bb0851:godotenv/vendor/github.com/joho/godotenv \ lib:pq:88edab0:libpq/vendor/github.com/lib/pq \ markbates:deplist:5ae023f:deplist/vendor/github.com/markbates/deplist \ markbates:going:0576708:going/vendor/github.com/markbates/going \ markbates:grift:5499956:grift/vendor/github.com/markbates/grift \ markbates:inflect:1290f21:inflect/vendor/github.com/markbates/inflect \ markbates:pop:2a4f22c:pop/vendor/github.com/markbates/pop \ markbates:refresh:c22826c:refresh/vendor/github.com/markbates/refresh \ markbates:sigtx:1c5462d:sigtx/vendor/github.com/markbates/sigtx \ markbates:validate:cd8cc34:validate/vendor/github.com/markbates/validate \ mattn:anko:fc8950f:anko/vendor/github.com/mattn/anko \ mattn:go-sqlite3:3c6eef4:sqlite3/vendor/github.com/mattn/go-sqlite3 \ microcosm-cc:bluemonday:542fd46:bluemonday/vendor/github.com/microcosm-cc/bluemonday \ mitchellh:go-homedir:b8bc1bf:ghomedir/vendor/github.com/mitchellh/go-homedir \ monoculum:formam:f25191a:formam/vendor/github.com/monoculum/formam \ nicksnyder:go-i18n:ec04da4:i18n/vendor/github.com/nicksnyder/go-i18n \ pkg:errors:30136e2:errors/vendor/github.com/pkg/errors \ satori:go.uuid:36e9d2e:guuid/vendor/github.com/satori/go.uuid \ serenize:snaker:a683aaf:snaker/vendor/github.com/serenize/snaker \ sergi:go-diff:da64554:gdiff/vendor/github.com/sergi/go-diff \ shurcooL:github_flavored_markdown:28433ea:gfm/vendor/github.com/shurcooL/github_flavored_markdown \ shurcooL:highlight_diff:09bb405:hdiff/vendor/github.com/shurcooL/highlight_diff \ shurcooL:highlight_go:78fb10f:hgo/vendor/github.com/shurcooL/highlight_go \ shurcooL:octiconssvg:38b0212:osvg/vendor/github.com/shurcooL/octiconssvg \ shurcooL:sanitized_anchor_name:86672fc:sanitized/vendor/github.com/shurcooL/sanitized_anchor_name \ sirupsen:logrus:9f91ab2:logrus/vendor/github.com/sirupsen/logrus \ sourcegraph:annotate:f4cad6c:annotate/vendor/github.com/sourcegraph/annotate \ sourcegraph:syntaxhighlight:bd320f5:syntaxhighlight/vendor/github.com/sourcegraph/syntaxhighlight \ spf13:cobra:9395926:cobra/vendor/github.com/spf13/cobra \ spf13:pflag:4c012f6:pflag/vendor/github.com/spf13/pflag \ unrolled:secure:5b5ec9d:secure/vendor/github.com/unrolled/secure \ pelletier:go-toml:acdc450:gotom/vendor/github.com/pelletier/go-toml \ golang:net:f5dfe33:net/vendor/golang.org/x/net \ golang:sync:fd80eb9:sync/vendor/golang.org/x/sync \ golang:sys:37707fd:sys/vendor/golang.org/x/sys \ go-mail:mail:c1980b5:gomail/vendor/gopkg.in/mail.v2 GH_SUBDIR= src/github.com/gobuffalo/buffalo PLIST_FILES= bin/buffalo do-build: - @cd ${WRKSRC}/${GH_SUBDIR}/buffalo ; ${SETENV} GOPATH=${WRKSRC} go build + @cd ${WRKSRC}/${GH_SUBDIR}/buffalo ; ${SETENV} ${MAKE_ENV} GOPATH=${WRKSRC} go build post-build: @${STRIP_CMD} ${WRKSRC}/${GH_SUBDIR}/buffalo/buffalo do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${GH_SUBDIR}/buffalo/buffalo \ ${STAGEDIR}${PREFIX}/bin/ .include Index: head/www/grafana2/Makefile =================================================================== --- head/www/grafana2/Makefile (revision 463775) +++ head/www/grafana2/Makefile (revision 463776) @@ -1,111 +1,111 @@ # $FreeBSD$ PORTNAME= grafana PORTVERSION= 2.6.0 DISTVERSIONPREFIX= v PORTREVISION= 3 CATEGORIES= www MASTER_SITES= http://files.bartelmess.io/public/:static_assets PKGNAMESUFFIX= 2 DISTFILES= grafana-static-${PORTVERSION}.tar.gz:static_assets MAINTAINER= thomas@bartelmess.io COMMENT= Dashboard and graph editor for Graphite, InfluxDB & OpenTSDB LICENSE= APACHE20 BUILD_DEPENDS= ${LOCALBASE}/bin/go:lang/go ONLY_FOR_ARCHS= i386 amd64 USE_RC_SUBR= grafana2 USES= compiler USE_GITHUB= yes GH_SUBDIR= src/github.com/${PORTNAME}/${PORTNAME} GH_TUPLE= \ BurntSushi:toml:v0.1.0-21-g056c9bc:toml/src/github.com/BurntSushi/toml \ Unknwon:macaron:93de4f3:macaron/src/github.com/Unknwon/macaron \ Unknwon:com:d9bcf40:com/src/github.com/Unknwon/com \ davecgh:go-spew:2df1748:go_spew/src/github.com/davecgh/go-spew \ go-bufio:bufio:v1:bufio/src/gopkg.in/bufio.v1 \ macaron-contrib:binding:0fbe4b9:binding/src/github.com/macaron-contrib/binding \ macaron-contrib:session:31e841d:session/src/github.com/macaron-contrib/session \ jmespath:go-jmespath:0.2.2:go_jmespath/src/github.com/jmespath/go-jmespath \ lib:pq:go1.0-cutoff-13-g19eeca3:pq/src/github.com/lib/pq \ jtolds:gls:f1ac7f4:gls/src/github.com/jtolds/gls \ go-asn1-ber:asn1-ber:v1:asn1_ber/src/gopkg.in/asn1-ber.v1 \ go-xorm:core:be6e7ac:core/src/github.com/go-xorm/core \ go-xorm:xorm:v0.4.2-58-ge2889e5:xorm/src/github.com/go-xorm/xorm \ go-ini:ini:v0-16-g1772191:ini/src/gopkg.in/ini.v1 \ aws:aws-sdk-go:v1.0.0:aws_sdk_go/src/github.com/aws/aws-sdk-go \ mattn:go-sqlite3:e28cd44:go_sqlite3/src/github.com/mattn/go-sqlite3 \ go-ldap:ldap:v1-19-g83e6542:ldap/src/github.com/go-ldap/ldap \ go-redis:redis:v2.3.2:redis/src/gopkg.in/redis.v2 \ gosimple:slug:8d25846:slug/src/github.com/gosimple/slug \ streadway:amqp:150b7f2:amqp/src/github.com/streadway/amqp \ golang:oauth2:c58fcf0:oauth2/src/golang.org/x/oauth2 \ golang:net:972f0c5:net/src/golang.org/x/net \ smartystreets:goconvey:1.5.0-356-gfbc0a1c:goconvey/src/github.com/smartystreets/goconvey \ rainycape:unidecode:836ef0a:unidecode/src/github.com/rainycape/unidecode \ go-sql-driver:mysql:v1.2-26-g9543750:mysql/src/github.com/go-sql-driver/mysql GRAFANA_USER?= grafana GRAFANA_GROUP?= grafana USERS= ${GRAFANA_USER} GROUPS= ${GRAFANA_GROUP} GRAFANAHOMEDIR= ${PREFIX}/share/grafana/ GRAFANADATADIR= /var/db/${PKGBASE}/ GRAFANALOGDIR= /var/log/${PKGBASE}/ GRAFANAPIDDIR= /var/run/${PKGBASE}/ SUB_FILES= grafana2 grafana2.conf SUB_LIST+= GRAFANA_USER=${GRAFANA_USER} \ GRAFANA_GROUP=${GRAFANA_GROUP} \ GRAFANADATADIR=${GRAFANADATADIR} \ GRAFANALOGDIR=${GRAFANALOGDIR} \ GRAFANAPIDDIR=${GRAFANAPIDDIR} \ GRAFANAHOMEDIR=${GRAFANAHOMEDIR} PLIST_SUB+= GRAFANAHOMEDIR=${GRAFANAHOMEDIR} post-extract: ${RM} -r ${WRKSRC}/src/github.com/${PORTNAME}/${PORTNAME}/public ${MV} ${WRKDIR}/public ${WRKSRC}/src/github.com/${PORTNAME}/${PORTNAME}/ ${RM} ${WRKSRC}/src/github.com/${PORTNAME}/${PORTNAME}/public/.DS_Store ${RM} ${WRKSRC}/src/github.com/${PORTNAME}/${PORTNAME}/public/app/.DS_Store ${RM} ${WRKSRC}/src/github.com/${PORTNAME}/${PORTNAME}/public/._.DS_Store ${RM} ${WRKSRC}/src/github.com/${PORTNAME}/${PORTNAME}/public/app/._.DS_Store do-build: - cd ${WRKSRC}/src/github.com/${PORTNAME}/${PORTNAME}; \ - ${SETENV} ${BUILD_ENV} GOPATH=${WRKSRC} go run build.go build + @cd ${WRKSRC}/src/github.com/${PORTNAME}/${PORTNAME}; \ + ${SETENV} ${MAKE_ENV} ${BUILD_ENV} GOPATH=${WRKSRC} go run build.go build do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/github.com/${PORTNAME}/${PORTNAME}/bin/grafana-server \ ${STAGEDIR}${PREFIX}/bin/grafana-server cd ${WRKSRC}/src/github.com/${PORTNAME}/${PORTNAME} && \ ${COPYTREE_SHARE} public ${STAGEDIR}${PREFIX}/share/${PORTNAME} ${MKDIR} ${STAGEDIR}${GRAFANAPIDDIR} ${MKDIR} ${STAGEDIR}${GRAFANALOGDIR} ${MKDIR} ${STAGEDIR}${GRAFANAHOMEDIR} ${MKDIR} ${STAGEDIR}${GRAFANADATADIR} ${MKDIR} ${STAGEDIR}${GRAFANAHOMEDIR}/conf ${MKDIR} ${STAGEDIR}${GRAFANAHOMEDIR}/data ${MKDIR} ${STAGEDIR}${GRAFANAHOMEDIR}/data/log ${INSTALL_DATA} ${WRKSRC}/src/github.com/${PORTNAME}/${PORTNAME}/conf/defaults.ini \ ${STAGEDIR}${GRAFANAHOMEDIR}/conf/defaults.ini ${INSTALL_DATA} ${WRKDIR}/grafana2.conf ${STAGEDIR}${PREFIX}/etc/grafana2.conf.sample .include # golang assumes that if clang is in use, it is called "clang" and not "cc". If # it's called "cc", go fails. .if ${COMPILER_TYPE} == clang BUILD_ENV= CC=clang .endif .include Index: head/www/grafana3/Makefile =================================================================== --- head/www/grafana3/Makefile (revision 463775) +++ head/www/grafana3/Makefile (revision 463776) @@ -1,155 +1,155 @@ # $FreeBSD$ PORTNAME= grafana PORTVERSION= 3.1.1 DISTVERSIONPREFIX= v PORTREVISION= 3 PKGNAMESUFFIX= 3 CATEGORIES= www MAINTAINER= jhixson@gmail.com COMMENT= Dashboard and graph editor for Graphite, InfluxDB & OpenTSDB LICENSE= APACHE20 BUILD_DEPENDS= ${LOCALBASE}/bin/go:lang/go RUN_DEPENDS= ${LOCALBASE}/bin/phantomjs:lang/phantomjs \ webfonts>=0:x11-fonts/webfonts ONLY_FOR_ARCHS= i386 amd64 USE_RC_SUBR= grafana3 USES= compiler USE_GITHUB= yes GH_TUPLE= \ BurntSushi:toml:v0.2.0:toml/src/github.com/BurntSushi/toml \ Unknwon:com:v1:com/src/github.com/Unknwon/com \ aws:aws-sdk-go:v1.1.36:aws_sdk_go/src/github.com/aws/aws-sdk-go \ bmizerany:assert:release.r60:assert/src/github.com/bmizerany/assert \ bradfitz:gomemcache:release.r60:gomemcache/src/github.com/bradfitz/gomemcache \ codegangsta:cli:v1.17.0:cli/src/github.com/codegangsta/cli \ davecgh:go-spew:5215b55:go_spew/src/github.com/davecgh/go-spew \ fatih:color:v0.1:color/src/github.com/fatih/color \ franela:goreq:fc08df6:goreq/src/github.com/franela/goreq \ go-ini:ini:v1.12.0:ini/src/gopkg.in/ini.v1 \ go-ldap:ldap:v2.3.0:ldap/src/github.com/go-ldap/ldap \ go-macaron:binding:bd00823:binding/src/github.com/go-macaron/binding \ go-macaron:gzip:cad1c65:gzip/src/github.com/go-macaron/gzip \ go-macaron:inject:c5ab7bf:inject/src/github.com/go-macaron/inject \ go-macaron:session:66031fc:session/src/github.com/go-macaron/session \ go-sql-driver:mysql:v1.2:mysql/src/github.com/go-sql-driver/mysql \ go-stack:stack:v1.5.2:stack/src/github.com/go-stack/stack \ go-xorm:core:v0.5.3:core/src/github.com/go-xorm/core \ go-xorm:xorm:v0.5.3:xorm/src/github.com/go-xorm/xorm \ gorilla:websocket:v1.0.0:websocket/src/github.com/gorilla/websocket \ gosimple:slug:v1.0:slug/src/github.com/gosimple/slug \ hashicorp:go-version:0181db4:go_version/src/github.com/hashicorp/go-version \ inconshreveable:log15:v2.11:log15/src/github.com/inconshreveable/log15 \ jmespath:go-jmespath:0b12d6b:go_jmespath/src/github.com/jmespath/go-jmespath \ jtolds:gls:v4.2.0:gls/src/github.com/jtolds/gls \ klauspost:compress:v1.0:compress/src/github.com/klauspost/compress \ klauspost:cpuid:v1.0:cpuid/src/github.com/klauspost/cpuid \ klauspost:crc32:v1.0:crc32/src/github.com/klauspost/crc32 \ kr:pretty:add1dbc:pretty/src/github.com/kr/pretty \ kr:text:7cafcd8:text/src/github.com/kr/text \ lib:pq:e2402a7:pq/src/github.com/lib/pq \ mattn:go-colorable:v0.0.5:go_colorable/src/github.com/mattn/go-colorable \ mattn:go-isatty:v0.0.1:go_isatty/src/github.com/mattn/go-isatty \ mattn:go-sqlite3:v1.1.0:go_sqlite3/src/github.com/mattn/go-sqlite3 \ rainycape:unidecode:cb7f23e:unidecode/src/github.com/rainycape/unidecode \ smartystreets:goconvey:c53abc9:goconvey/src/github.com/smartystreets/goconvey \ streadway:amqp:2e25825:amqp/src/github.com/streadway/amqp \ golang:net:bc3663d:net/src/golang.org/x/net \ golang:oauth2:65a8d08:oauth2/src/golang.org/x/oauth2 \ golang:sys:62bee03:sys/src/golang.org/x/sys \ go-asn1-ber:asn1-ber:v1:asn1_ber/src/gopkg.in/asn1-ber.v1 \ go-bufio:bufio:v1:bufio/src/gopkg.in/bufio.v1 \ go-macaron:macaron:v1:macaron/src/gopkg.in/macaron.v1 \ go-redis:redis:v2:redis/src/gopkg.in/redis.v2 \ jhixson74:grafana_public:${DISTVERSIONFULL}:grafana_public GRAFANA_USER?= grafana GRAFANA_GROUP?= grafana USERS= ${GRAFANA_USER} GROUPS= ${GRAFANA_GROUP} GRAFANAHOMEDIR= ${PREFIX}/share/grafana/ GRAFANADATADIR= /var/db/${PKGBASE}/ GRAFANALOGDIR= /var/log/${PKGBASE}/ GRAFANAPIDDIR= /var/run/${PKGBASE}/ GRAFANAPLUGINDIR= /var/db/${PKGBASE}/plugins GRAFANADASHBOARDDIR= /var/db/${PKGBASE}/dashboards SUB_FILES= grafana3 grafana3.conf SUB_LIST+= GRAFANA_USER=${GRAFANA_USER} \ GRAFANA_GROUP=${GRAFANA_GROUP} \ GRAFANADATADIR=${GRAFANADATADIR} \ GRAFANALOGDIR=${GRAFANALOGDIR} \ GRAFANAPIDDIR=${GRAFANAPIDDIR} \ GRAFANAHOMEDIR=${GRAFANAHOMEDIR} \ GRAFANAPLUGINDIR=${GRAFANAPLUGINDIR} \ GRAFANADASHBOARDDIR=${GRAFANADASHBOARDDIR} PLIST_SUB+= GRAFANAHOMEDIR=${GRAFANAHOMEDIR} post-extract: @${MKDIR} ${WRKSRC}/src/github.com/grafana/grafana .for src in .bowerrc .bra.toml .editorconfig .github .gitignore .hooks \ .jscs.json .jsfmtrc .jshintrc appveyor.yml benchmarks bower.json \ build.go CHANGELOG.md circle.yml conf docker docs emails examples \ Godeps Gruntfile.js karma.conf.js latest.json LICENSE.md Makefile \ NOTICE.md package.json packaging pkg README.md symlink_git_hooks.sh \ tasks test.sh tests trigger_grafana_packer.sh tsconfig.json \ tsd.json tslint.json vendor @${MV} ${WRKSRC}/${src} \ ${WRKSRC}/src/github.com/grafana/grafana .endfor ${RM} -r ${WRKSRC}/src/github.com/grafana/grafana/public ${MV} ${WRKSRC_grafana_public}/public ${WRKSRC}/src/github.com/grafana/grafana/public ${MV} ${WRKSRC_grafana_public}/public_gen ${WRKSRC}/src/github.com/grafana/grafana/public_gen ${MV} ${WRKSRC_grafana_public}/node_modules ${WRKSRC}/src/github.com/grafana/grafana/node_modules do-build: cd ${WRKSRC}/src/github.com/${GH_ACCOUNT}/grafana; \ - ${SETENV} ${BUILD_ENV} GOPATH=${WRKSRC} go run build.go build + ${SETENV} ${MAKE_ENV} ${BUILD_ENV} GOPATH=${WRKSRC} go run build.go build do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/github.com/grafana/grafana/bin/grafana-server \ ${STAGEDIR}${PREFIX}/bin/grafana-server ${INSTALL_PROGRAM} ${WRKSRC}/src/github.com/grafana/grafana/bin/grafana-cli \ ${STAGEDIR}${PREFIX}/bin/grafana-cli cd ${WRKSRC}/src/github.com/grafana/grafana && \ ${COPYTREE_SHARE} public ${STAGEDIR}${PREFIX}/share/grafana cd ${WRKSRC}/src/github.com/grafana/grafana && \ ${COPYTREE_SHARE} public_gen ${STAGEDIR}${PREFIX}/share/grafana cd ${WRKSRC}/src/github.com/grafana/grafana && \ ${COPYTREE_SHARE} node_modules ${STAGEDIR}${PREFIX}/share/grafana ${MKDIR} ${STAGEDIR}${GRAFANAPIDDIR} ${MKDIR} ${STAGEDIR}${GRAFANALOGDIR} ${MKDIR} ${STAGEDIR}${GRAFANAHOMEDIR} ${MKDIR} ${STAGEDIR}${GRAFANADATADIR} ${MKDIR} ${STAGEDIR}${GRAFANAPLUGINDIR} ${MKDIR} ${STAGEDIR}${GRAFANADASHBOARDDIR} ${MKDIR} ${STAGEDIR}${GRAFANAHOMEDIR}/conf ${MKDIR} ${STAGEDIR}${GRAFANAHOMEDIR}/data ${MKDIR} ${STAGEDIR}${GRAFANAHOMEDIR}/data/log ${INSTALL_DATA} ${WRKSRC}/src/github.com/grafana/grafana/conf/defaults.ini \ ${STAGEDIR}${GRAFANAHOMEDIR}/conf/defaults.ini ${INSTALL_DATA} ${WRKDIR}/grafana3.conf ${STAGEDIR}${PREFIX}/etc/grafana3.conf.sample ${MKDIR} ${STAGEDIR}${GRAFANAHOMEDIR}/vendor/phantomjs/ ${INSTALL_DATA} ${WRKSRC}/src/github.com/grafana/grafana/vendor/phantomjs/render.js \ ${STAGEDIR}${GRAFANAHOMEDIR}/vendor/phantomjs/ ${LN} -s /usr/local/bin/phantomjs ${STAGEDIR}${GRAFANAHOMEDIR}/vendor/phantomjs/phantomjs .include .if ${COMPILER_TYPE} == clang BUILD_ENV= CC=clang .endif .include Index: head/www/mattermost-server/Makefile =================================================================== --- head/www/mattermost-server/Makefile (revision 463775) +++ head/www/mattermost-server/Makefile (revision 463776) @@ -1,57 +1,57 @@ # $FreeBSD$ PORTNAME= mattermost-server PORTVERSION= 4.7.1 DISTVERSIONPREFIX= v CATEGORIES= www MAINTAINER= loic.blot@unix-experience.fr COMMENT= Open source Slack-alternative in Golang and React LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt ONLY_FOR_ARCHS= amd64 armv6 armv7 i386 BUILD_DEPENDS= go>=1.8.1:lang/go RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss \ mattermost-webapp>=${PORTVERSION}:www/mattermost-webapp GO_LDFLAGS= -X github.com/mattermost/mattermost-server/model.BuildNumber=${PORTVERSION} USE_RC_SUBR= mattermostd USE_GITHUB= yes GH_ACCOUNT= mattermost:DEFAULT WWWDIR= ${PREFIX}/www/mattermost MATTERMOSTD_USER= mattermost MATTERMOSTD_GROUP= mattermost USERS= ${MATTERMOSTD_USER} GROUPS= ${MATTERMOSTD_GROUP} .include pre-build: @${MKDIR} ${WRKSRC}/src/github.com/${GH_ACCOUNT_DEFAULT}/${PORTNAME} @cd ${WRKSRC} && \ ${MV} api api4 app cmd doc einterfaces imports jobs manualtesting \ model plugin store utils web wsapi vendor \ ${WRKSRC}/src/github.com/${GH_ACCOUNT_DEFAULT}/${PORTNAME} do-build: @cd ${WRKSRC}/src/github.com/${GH_ACCOUNT_DEFAULT}/${GH_PROJECT} && \ - ${SETENV} GOPATH=${WRKSRC} go install -ldflags="${GO_LDFLAGS}" ./... + ${SETENV} ${MAKE_ENV} GOPATH=${WRKSRC} go install -ldflags="${GO_LDFLAGS}" ./... do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/platform ${STAGEDIR}${PREFIX}/bin/mattermostd ${MKDIR} ${STAGEDIR}${PREFIX}/etc/mattermost ${CP} ${WRKSRC}/config/default.json ${STAGEDIR}${PREFIX}/etc/mattermost/config.json.sample ${MKDIR} ${STAGEDIR}${WWWDIR} ${CP} -R ${WRKSRC}/fonts ${STAGEDIR}${WWWDIR} ${CP} -R ${WRKSRC}/i18n ${STAGEDIR}${WWWDIR} ${CP} -R ${WRKSRC}/templates ${STAGEDIR}${WWWDIR} .include Index: head/www/minio/Makefile =================================================================== --- head/www/minio/Makefile (revision 463775) +++ head/www/minio/Makefile (revision 463776) @@ -1,39 +1,39 @@ # $FreeBSD$ PORTNAME= minio PORTVERSION= ${GH_TAGNAME:S/RELEASE.//:S/Z//:S/T/-/:S/-/./g} CATEGORIES= www MAINTAINER= swills@FreeBSD.org COMMENT= Amazon S3 compatible object storage server LICENSE= APACHE20 BUILD_DEPENDS= go>=1.7:lang/go USES= compiler USE_GITHUB= yes GH_TAGNAME= RELEASE.2018-01-18T20-33-21Z GH_SUBDIR= src/github.com/${PORTNAME}/${PORTNAME} COMMIT_ID= e2d5a87b2676e3e01f0f4fa7ebd01205364cfb16 PLIST_FILES= bin/minio USE_RC_SUBR= minio USERS= minio GROUPS= minio SUB_LIST= USER="${USERS}" \ GROUP="${GROUPS}" do-build: @cd ${WRKSRC}/${GH_SUBDIR} ; \ - ${SETENV} GOPATH=${WRKSRC} CGO_ENABLED=0 go build \ + ${SETENV} ${MAKE_ENV} GOPATH=${WRKSRC} CGO_ENABLED=0 go build \ --ldflags '-X github.com/minio/minio/cmd.Version=${GH_TAGNAME:C/RELEASE\.//:C|(..)-(..)-(..)Z|\1:\2:\3Z|} -X github.com/minio/minio/cmd.ReleaseTag=${GH_TAGNAME} -X github.com/minio/minio/cmd.CommitID=${COMMIT_ID} -X github.com/minio/minio/cmd.GOPATH=${WRKSRC} -s -w' -o ${WRKSRC}/bin/minio do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include Index: head/www/minio-client/Makefile =================================================================== --- head/www/minio-client/Makefile (revision 463775) +++ head/www/minio-client/Makefile (revision 463776) @@ -1,45 +1,45 @@ # $FreeBSD$ PORTNAME= minio-client PORTVERSION= ${GH_TAGNAME:S/RELEASE.//:S/Z//:S/T/-/:S/-/./g} CATEGORIES= www MAINTAINER= jhixson@gmail.com COMMENT= Replacement for ls, cp, mkdir, diff and rsync commands for filesystems LICENSE= APACHE20 BUILD_DEPENDS= go>=1.7:lang/go \ bash:shells/bash OPTIONS_DEFINE= MC MC_DESC= Install as mc .include .if ${PORT_OPTIONS:MMC} MC= mc .else MC= ${PORTNAME} .endif USE_GITHUB= yes GH_ACCOUNT= minio GH_PROJECT= mc GH_TAGNAME= RELEASE.2018-01-18T21-18-56Z GH_SUBDIR= src/github.com/${GH_ACCOUNT}/${GH_PROJECT} MAKE_ENV= GOPATH=${WRKSRC} GOROOT=${LOCALBASE}/go PLIST_FILES= bin/${MC} do-build: @cd ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT}; \ - ${SETENV} ${BUILD_ENV} GOPATH=${WRKSRC} go build -v -x \ + ${SETENV} ${MAKE_ENV} ${BUILD_ENV} GOPATH=${WRKSRC} go build -v -x \ -ldflags "-X main.GitDescribe=v${PORTVERSION}" -o bin/${MC} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT}/bin/${MC} \ ${STAGEDIR}${PREFIX}/bin/${MC} .include Index: head/www/uchiwa/Makefile =================================================================== --- head/www/uchiwa/Makefile (revision 463775) +++ head/www/uchiwa/Makefile (revision 463776) @@ -1,71 +1,71 @@ # $FreeBSD$ PORTNAME= uchiwa PORTVERSION= 0.18.2 CATEGORIES= www MASTER_SITES= http://uchiwa.io/ MAINTAINER= alexander@treg.io COMMENT= Simple dashboard for Sensu LICENSE= MIT BUILD_DEPENDS= go>=1.6.0:lang/go UCHIWA_LOGDIR= /var/log/uchiwa UCHIWA_CONFDIR= ${PREFIX}/etc/uchiwa UCHIWA_SHAREDIR= ${PREFIX}/share/uchiwa/public USE_RC_SUBR= ${PORTNAME} USE_GITHUB= yes GH_ACCOUNT= sensu:DEFAULT GH_TUPLE= dgrijalva:jwt-go:61124b62ad244d655f87d944aefaa2ae5a0d2f16:jwtgo/src/github.com/dgrijalva/jwt-go GH_TUPLE+= gorilla:context:215affda49addc4c8ef7e2534915df2c8c35c6cd:context/src/github.com/gorilla/context GH_TUPLE+= mitchellh:mapstructure:f7d28d5aeab42b9b95d2e6d6b956f73a290077fc:mapstructure/src/github.com/mitchellh/mapstructure GH_TUPLE+= palourde:mergo:d931ffd2c07cb4caf7194e0f6af9ac6771c26d54:mergo/src/github.com/palourde/mergo GH_TUPLE+= stretchr:objx:cbeaeb16a013161a98496fad62933b1d21786672:objx/src/github.com/stretchr/objx GH_TUPLE+= stretchr:testify:e4ec8152c15fc46bd5056ce65997a07c7d415325:testify/src/github.com/stretchr/testify GH_TUPLE+= sensu:uchiwa-web:${PORTVERSION}:uchiwaweb/public/bower_components/uchiwa-web GH_TUPLE+= angular:bower-angular-cookies:b89821e37d3011ad0bca9a4847a8fcc59f90fabb:bowerangularcookies/public/bower_components/angular-cookies GH_TUPLE+= urish:angular-moment:0.9.2:urishangularmoment/public/bower_components/angular-moment GH_TUPLE+= angular:bower-angular:v1.4.11:angularbowerangular/public/bower_components/angular GH_TUPLE+= angular:bower-angular-route:v1.4.11:angularbowerangularroute/public/bower_components/angular-route GH_TUPLE+= angular:bower-angular-sanitize:v1.4.11:angularbowerangularsanitize/public/bower_components/angular-sanitize GH_TUPLE+= twbs:bootstrap:v3.1.1:bootstrap/public/bower_components/bootstrap GH_TUPLE+= twbs:bootstrap-sass:v3.1.1:bootstrapsass/public/bower_components/bootstrap-sass-official GH_TUPLE+= foxandxss:angular-toastr:1.6.0:forandxssangulartoastr/public/bower_components/angular-toastr GH_TUPLE+= wallin:angular-gravatar:0.3.2:wallinangulargravatar/public/bower_components/angular-gravatar GH_TUPLE+= fortawesome:Font-Awesome:v4.4.0:fortawesomefontawesome/public/bower_components/fontawesome GH_TUPLE+= components:highlightjs:08edd75426b52b165cc2b8a569870df4794c36dc:componentshighlightjs/public/bower_components/highlightjs GH_TUPLE+= angular-ui:bootstrap-bower:0.13.4:angularuibootstrapbower/public/bower_components/angular-bootstrap GH_TUPLE+= moment:moment:2.8.4:momentmoment/public/bower_components/moment GH_TUPLE+= jquery:jquery-dist:3.0.0:jqueryjquery/public/bower_components/jquery GH_TUPLE+= jashkenas:underscore:1f4bf626f23a99f7a676f5076dc1b1475554c8f7:jashkenasunderscore/public/bower_components/underscore GH_TUPLE+= kless:osutil:3ac994847c4376a4b905fc0a19f450c5a4bec647:klessosutil/src/github.com/kless/osutil USERS= uchiwa GROUPS= uchiwa post-extract: @${MKDIR} ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${PORTNAME} .for src in .travis.yml Gruntfile.js bower.json package.json uchiwa \ Dockerfile LICENSE config.json.example public uchiwa.go .bowerrc \ Godeps README.md fixtures @${MV} ${WRKSRC}/${src} \ ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${PORTNAME} .endfor do-build: - @cd ${WRKSRC}/src/github.com/sensu && ${SETENV} GOPATH=${WRKSRC} go install ./... + @cd ${WRKSRC}/src/github.com/sensu && ${SETENV} ${MAKE_ENV} GOPATH=${WRKSRC} go install ./... do-install: ${MKDIR} ${STAGEDIR}${UCHIWA_LOGDIR} \ ${STAGEDIR}${UCHIWA_CONFDIR} \ ${STAGEDIR}${UCHIWA_SHAREDIR} post-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/uchiwa ${STAGEDIR}${PREFIX}/bin/uchiwa ${INSTALL_DATA} ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${PORTNAME}/config.json.example ${STAGEDIR}${PREFIX}/etc/uchiwa/config.json.sample (cd ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${PORTNAME}/public && ${COPYTREE_SHARE} . ${STAGEDIR}${UCHIWA_SHAREDIR}) .include