aboutsummaryrefslogtreecommitdiffstats
path: root/databases/influxdb/Makefile
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2016-12-13 22:58:08 +0800
committermat <mat@FreeBSD.org>2016-12-13 22:58:08 +0800
commitb58582294ff2a9f2d9e47d3922527dc4657807d9 (patch)
treeb37028dd2b3f9dcbc4488d55b683b15945c46ee8 /databases/influxdb/Makefile
parent0f6bb7fcdc1f59242635898526989ccd1910b81d (diff)
downloadfreebsd-ports-gnome-b58582294ff2a9f2d9e47d3922527dc4657807d9.tar.gz
freebsd-ports-gnome-b58582294ff2a9f2d9e47d3922527dc4657807d9.tar.zst
freebsd-ports-gnome-b58582294ff2a9f2d9e47d3922527dc4657807d9.zip
Convert a few ports to GH_TUPLE.
Sponsored by: Absolight
Diffstat (limited to 'databases/influxdb/Makefile')
-rw-r--r--databases/influxdb/Makefile82
1 files changed, 23 insertions, 59 deletions
diff --git a/databases/influxdb/Makefile b/databases/influxdb/Makefile
index 3a415c02d221..dd6ecd57e7ba 100644
--- a/databases/influxdb/Makefile
+++ b/databases/influxdb/Makefile
@@ -18,24 +18,24 @@ USE_RC_SUBR= influxd
USE_GITHUB= yes
GH_ACCOUNT= influxdata:DEFAULT
-GH_TUPLE= BurntSushi:toml:9906417:toml \
- bmizerany:pat:c068ca2:pat \
- boltdb:bolt:5cc10bb:bolt \
- davecgh:go-spew:5215b55:go_spew \
- dgrijalva:jwt-go:63734ea:jwt_go \
- dgryski:go-bits:2ad8d70:go_bits \
- dgryski:go-bitstream:7d46cd2:go_bitstream \
- gogo:protobuf:0394392:protobuf \
- golang:snappy:d9eb7a3:snappy \
- influxdata:usage-client:6d38953:usage_client \
- jwilder:encoding:4dada27:encoding \
- kimor79:gollectd:61d0dee:gollectd \
- paulbellamy:ratecounter:5a11f58:ratecounter \
- peterh:liner:8975875:liner \
- rakyll:statik:274df12:statik \
- retailnext:hllpp:38a7bb7:hllpp \
- collectd:go-collectd:9fc824c:go_collectd \
- golang:crypto:c197bcf:crypto
+GH_TUPLE= BurntSushi:toml:9906417:toml/src/github.com/BurntSushi/toml \
+ bmizerany:pat:c068ca2:pat/src/github.com/bmizerany/pat \
+ boltdb:bolt:5cc10bb:bolt/src/github.com/boltdb/bolt \
+ davecgh:go-spew:5215b55:go_spew/src/github.com/davecgh/go-spew \
+ dgrijalva:jwt-go:63734ea: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:0394392:protobuf/src/github.com/gogo/protobuf \
+ golang:snappy:d9eb7a3:snappy/src/github.com/golang/snappy \
+ influxdata:usage-client:6d38953:usage_client/src/github.com/influxdata/usage-client \
+ jwilder:encoding:4dada27:encoding/src/github.com/jwilder/encoding \
+ kimor79:gollectd:61d0dee:gollectd/src/github.com/kimor79/gollectd \
+ paulbellamy:ratecounter:5a11f58:ratecounter/src/github.com/paulbellamy/ratecounter \
+ peterh:liner:8975875:liner/src/github.com/peterh/liner \
+ rakyll:statik:274df12:statik/src/github.com/rakyll/statik \
+ retailnext:hllpp:38a7bb7:hllpp/src/github.com/retailnext/hllpp \
+ collectd:go-collectd:9fc824c:go_collectd/src/collectd.org \
+ golang:crypto:c197bcf:crypto/src/golang.org/x/crypto
SUB_FILES= influxd
SUB_LIST+= INFLUXD_USER=${INFLUXD_USER} \
@@ -63,25 +63,7 @@ GROUPS= ${INFLUXD_GROUP}
STRIP= # stripping can break go binaries
post-patch:
- @${MKDIR} ${WRKSRC}/src/github.com/BurntSushi
- @${MKDIR} ${WRKSRC}/src/github.com/bmizerany
- @${MKDIR} ${WRKSRC}/src/github.com/boltdb
- @${MKDIR} ${WRKSRC}/src/github.com/davecgh
- @${MKDIR} ${WRKSRC}/src/github.com/dgrijalva
- @${MKDIR} ${WRKSRC}/src/github.com/dgryski
- @${MKDIR} ${WRKSRC}/src/github.com/gogo
- @${MKDIR} ${WRKSRC}/src/github.com/golang
- @${MKDIR} ${WRKSRC}/src/github.com/hashicorp
- @${MKDIR} ${WRKSRC}/src/github.com/influxdata
- @${MKDIR} ${WRKSRC}/src/github.com/jwilder
- @${MKDIR} ${WRKSRC}/src/github.com/kimor79
- @${MKDIR} ${WRKSRC}/src/github.com/paulbellamy
- @${MKDIR} ${WRKSRC}/src/github.com/peterh
- @${MKDIR} ${WRKSRC}/src/github.com/rakyll
- @${MKDIR} ${WRKSRC}/src/github.com/retailnext
- @${MKDIR} ${WRKSRC}/src/golang.org/x
- @${MKDIR} ${WRKSRC}/src/gopkg.in/fatih
- @${MKDIR} ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${PORTNAME}
+ @${MKDIR} ${WRKSRC}/src/github.com/${GH_ACCOUNT_DEFAULT}/${PORTNAME}
@cd ${WRKSRC} && \
${MV} LICENSE build.sh gobuild.sh node.go tests \
circle-test.sh importer package.sh toml \
@@ -91,28 +73,10 @@ post-patch:
.mention-bot Dockerfile_build_ubuntu64_git appveyor.yml coordinator models stress \
Dockerfile_test_ubuntu32 build-docker.sh errors.go monitor tcp \
Godeps build.py etc nightly.sh test.sh \
- ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${PORTNAME}
- @${MV} ${WRKSRC_toml} ${WRKSRC}/src/github.com/BurntSushi/toml
- @${MV} ${WRKSRC_pat} ${WRKSRC}/src/github.com/bmizerany/pat
- @${MV} ${WRKSRC_bolt} ${WRKSRC}/src/github.com/boltdb/bolt
- @${MV} ${WRKSRC_go_spew} ${WRKSRC}/src/github.com/davecgh/go-spew
- @${MV} ${WRKSRC_jwt_go} ${WRKSRC}/src/github.com/dgrijalva/jwt-go
- @${MV} ${WRKSRC_go_bits} ${WRKSRC}/src/github.com/dgryski/go-bits
- @${MV} ${WRKSRC_go_bitstream} ${WRKSRC}/src/github.com/dgryski/go-bitstream
- @${MV} ${WRKSRC_protobuf} ${WRKSRC}/src/github.com/gogo/protobuf
- @${MV} ${WRKSRC_snappy} ${WRKSRC}/src/github.com/golang/snappy
- @${MV} ${WRKSRC_usage_client} ${WRKSRC}/src/github.com/influxdata/usage-client
- @${MV} ${WRKSRC_encoding} ${WRKSRC}/src/github.com/jwilder/encoding
- @${MV} ${WRKSRC_gollectd} ${WRKSRC}/src/github.com/kimor79/gollectd
- @${MV} ${WRKSRC_ratecounter} ${WRKSRC}/src/github.com/paulbellamy/ratecounter
- @${MV} ${WRKSRC_liner} ${WRKSRC}/src/github.com/peterh/liner
- @${MV} ${WRKSRC_statik} ${WRKSRC}/src/github.com/rakyll/statik
- @${MV} ${WRKSRC_hllpp} ${WRKSRC}/src/github.com/retailnext/hllpp
- @${MV} ${WRKSRC_go_collectd} ${WRKSRC}/src/collectd.org
- @${MV} ${WRKSRC_crypto} ${WRKSRC}/src/golang.org/x/crypto
+ ${WRKSRC}/src/github.com/${GH_ACCOUNT_DEFAULT}/${PORTNAME}
do-build:
- @cd ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT} && \
+ @cd ${WRKSRC}/src/github.com/${GH_ACCOUNT_DEFAULT}/${GH_PROJECT} && \
${SETENV} GOPATH=${WRKSRC} go install -ldflags "-X main.version=${DISTVERSION}" ./...
do-install:
@@ -125,9 +89,9 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/influx_tsm ${STAGEDIR}${PREFIX}/bin/influx_tsm
@${SED} -i .bak -e \
"s|/tmp/influxdb/development|/var/db/influxdb|g" \
- ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT}/etc/config.sample.toml
+ ${WRKSRC}/src/github.com/${GH_ACCOUNT_DEFAULT}/${GH_PROJECT}/etc/config.sample.toml
${INSTALL_DATA} \
- ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT}/etc/config.sample.toml \
+ ${WRKSRC}/src/github.com/${GH_ACCOUNT_DEFAULT}/${GH_PROJECT}/etc/config.sample.toml \
${STAGEDIR}${PREFIX}/etc/influxd.conf.sample
@${MKDIR} ${STAGEDIR}/var/db/influxdb
@${MKDIR} ${STAGEDIR}/var/log/influxdb