aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2016-12-05 23:33:01 +0800
committermat <mat@FreeBSD.org>2016-12-05 23:33:01 +0800
commit95d669135f36e20c07698286eb5b3bd2161f3db5 (patch)
tree69cc29d90a764b0aa6a9768fa3c00967c7fd774c /net-mgmt
parentb60999949519f4a136b852d5bafc5d8dbc6b4e3c (diff)
downloadfreebsd-ports-gnome-95d669135f36e20c07698286eb5b3bd2161f3db5.tar.gz
freebsd-ports-gnome-95d669135f36e20c07698286eb5b3bd2161f3db5.tar.zst
freebsd-ports-gnome-95d669135f36e20c07698286eb5b3bd2161f3db5.zip
Use the /subdir part of GH_TUPLE.
Sponsored by: Absolight
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/kapacitor/Makefile119
1 files changed, 34 insertions, 85 deletions
diff --git a/net-mgmt/kapacitor/Makefile b/net-mgmt/kapacitor/Makefile
index 7b401bb1a833..8f1e63fdec84 100644
--- a/net-mgmt/kapacitor/Makefile
+++ b/net-mgmt/kapacitor/Makefile
@@ -20,38 +20,40 @@ USE_RC_SUBR= kapacitord
USE_GITHUB= yes
GH_ACCOUNT= influxdata:DEFAULT
-GH_TUPLE= bmizerany:pat:c068ca2:pat \
- collectd:go-collectd:9fc824c:go_collectd \
- dgryski:go-bits:2ad8d70:go_bits \
- dgryski:go-bitstream:7d46cd2:go_bitstream \
- dominikh:go-js-dom:24aa052:go_js_dom \
- fsnotify:fsnotify:fd9ec7d:fsnotify \
- go-pipe:pipe:3c2ca4d:pipe \
- golang:crypto:c197bcf:crypto \
- golang:net:6acef71:net \
- golang:snappy:d9eb7a3:snappy \
- golang:tools:fc2b74b:tools \
- golang:sys:b699b70:sys \
- gopherjs:gopherjs:e34a5cd:gopherjs \
- jwilder:encoding:4dada27:encoding \
- kardianos:osext:c2c54e5:osext \
- microcosm-cc:bluemonday:f77f16f:bluemonday \
- neelance:sourcemap:8c68805:sourcemap \
- paulbellamy:ratecounter:5a11f58:ratecounter \
- peterh:liner:8975875:liner \
- rakyll:statik:274df12:statik \
- retailnext:hllpp:38a7bb7:hllpp \
- russross:blackfriday:5f33e7b:blackfriday \
- sergi:go-diff:552b4e9:go_diff \
- shurcooL:github_flavored_markdown:7bcab91:github_flavored_markdown \
- shurcooL:gopherjslib:feb6d39:gopherjslib \
- shurcooL:highlight_diff:d3b292e:highlight_diff \
- shurcooL:highlight_go:7867c2d:highlight_go \
- shurcooL:httpfs:01ca90b:httpfs \
- shurcooL:sanitized_anchor_name:1dba4b3:sanitized_anchor_name \
- sourcegraph:annotate:f4cad6c:annotate \
- sourcegraph:syntaxhighlight:c95ac47:syntaxhighlight \
- stretchr:testify:18a02ba:testify
+GH_TUPLE= bmizerany:pat:c068ca2:pat/src/github.com/bmizerany/pat \
+ collectd:go-collectd:9fc824c:go_collectd/src/collectd.org \
+ dgryski:go-bits:2ad8d70:go_bits/src/github.com/dgryski/go-bits \
+ dgryski:go-bitstream:7d46cd2:go_bitstream/src/github.com/dgryski/go-bitstream \
+ dominikh:go-js-dom:24aa052:go_js_dom/src/honnef.co/go/js/dom \
+ fsnotify:fsnotify:fd9ec7d:fsnotify/src/github.com/fsnotify/fsnotify \
+ go-pipe:pipe:3c2ca4d:pipe/src/gopkg.in/pipe.v2 \
+ golang:crypto:c197bcf:crypto/src/golang.org/x/crypto \
+ golang:net:6acef71:net/src/golang.org/x/net \
+ golang:snappy:d9eb7a3:snappy/src/github.com/golang/snappy \
+ golang:tools:fc2b74b:tools/src/golang.org/x/tools \
+ golang:sys:b699b70:sys/src/golang.org/x/sys \
+ gopherjs:gopherjs:e34a5cd:gopherjs/src/github.com/gopherjs/gopherjs \
+ jwilder:encoding:4dada27:encoding/src/github.com/jwilder/encoding \
+ kardianos:osext:c2c54e5:osext/src/github.com/kardianos/osext \
+ microcosm-cc:bluemonday:f77f16f:bluemonday/src/github.com/microcosm-cc/bluemonday \
+ neelance:sourcemap:8c68805:sourcemap/src/github.com/neelance/sourcemap \
+ 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 \
+ russross:blackfriday:5f33e7b:blackfriday/src/github.com/russross/blackfriday \
+ sergi:go-diff:552b4e9:go_diff/src/github.com/sergi/go-diff \
+ shurcooL:github_flavored_markdown:7bcab91:github_flavored_markdown/src/github.com/shurcooL/github_flavored_markdown \
+ shurcooL:gopherjslib:feb6d39:gopherjslib/src/github.com/shurcooL/gopherjslib \
+ shurcooL:highlight_diff:d3b292e:highlight_diff/src/github.com/shurcooL/highlight_diff \
+ shurcooL:highlight_go:7867c2d:highlight_go/src/github.com/shurcooL/highlight_go \
+ shurcooL:httpfs:01ca90b:httpfs/src/github.com/shurcooL/httpfs \
+ shurcooL:sanitized_anchor_name:1dba4b3:sanitized_anchor_name/src/github.com/shurcooL/sanitized_anchor_name \
+ sourcegraph:annotate:f4cad6c:annotate/src/github.com/sourcegraph/annotate \
+ sourcegraph:syntaxhighlight:c95ac47:syntaxhighlight/src/github.com/sourcegraph/syntaxhighlight \
+ stretchr:testify:18a02ba:testify/src/github.com/stretchr/testify
+# 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}
@@ -61,27 +63,6 @@ STRIP= # stripping can break go binaries
post-patch:
@${MKDIR} ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${PORTNAME}
- @${MKDIR} ${WRKSRC}/src/github.com/bmizerany
- @${MKDIR} ${WRKSRC}/src/github.com/dgryski
- @${MKDIR} ${WRKSRC}/src/github.com/fsnotify
- @${MKDIR} ${WRKSRC}/src/github.com/golang
- @${MKDIR} ${WRKSRC}/src/github.com/gopherjs
- @${MKDIR} ${WRKSRC}/src/github.com/jwilder
- @${MKDIR} ${WRKSRC}/src/github.com/kardianos
- @${MKDIR} ${WRKSRC}/src/github.com/microcosm-cc
- @${MKDIR} ${WRKSRC}/src/github.com/neelance
- @${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/github.com/russross
- @${MKDIR} ${WRKSRC}/src/github.com/sergi
- @${MKDIR} ${WRKSRC}/src/github.com/shurcooL
- @${MKDIR} ${WRKSRC}/src/github.com/sourcegraph
- @${MKDIR} ${WRKSRC}/src/github.com/stretchr
- @${MKDIR} ${WRKSRC}/src/golang.org/x
- @${MKDIR} ${WRKSRC}/src/gopkg.in
- @${MKDIR} ${WRKSRC}/src/honnef.co/go/js
@cd ${WRKSRC} && ${MV} \
LICENSE alert.go auth batch.go build.py build.sh circle-test.sh circle.yml client clock cmd \
combine.go combine_test.go default.go delete.go derivative.go doc.go edge.go edge_test.go \
@@ -93,38 +74,6 @@ post-patch:
tickdoc.conf timer tmpldata udf udf.go udf_test.go union.go update_tick_docs.sh usr vendor \
vendor.list vendor.sh where.go window.go window_test.go \
${WRKSRC}/src/github.com/${GH_ACCOUNT}/${PORTNAME}
- @${MV} ${WRKSRC_annotate} ${WRKSRC}/src/github.com/sourcegraph/annotate
- @${MV} ${WRKSRC_blackfriday} ${WRKSRC}/src/github.com/russross/blackfriday
- @${MV} ${WRKSRC_bluemonday} ${WRKSRC}/src/github.com/microcosm-cc/bluemonday
- @${MV} ${WRKSRC_crypto} ${WRKSRC}/src/golang.org/x/crypto
- @${MV} ${WRKSRC_encoding} ${WRKSRC}/src/github.com/jwilder/encoding
- @${MV} ${WRKSRC_fsnotify} ${WRKSRC}/src/github.com/fsnotify/fsnotify
- @${MV} ${WRKSRC_github_flavored_markdown} ${WRKSRC}/src/github.com/shurcooL/github_flavored_markdown
- @${MV} ${WRKSRC_go_bitstream} ${WRKSRC}/src/github.com/dgryski/go-bitstream
- @${MV} ${WRKSRC_go_bits} ${WRKSRC}/src/github.com/dgryski/go-bits
- @${MV} ${WRKSRC_go_collectd} ${WRKSRC}/src/collectd.org
- @${MV} ${WRKSRC_go_diff} ${WRKSRC}/src/github.com/sergi/go-diff
- @${MV} ${WRKSRC_go_js_dom} ${WRKSRC}/src/honnef.co/go/js/dom
- @${MV} ${WRKSRC_gopherjslib} ${WRKSRC}/src/github.com/shurcooL/gopherjslib
- @${MV} ${WRKSRC_gopherjs} ${WRKSRC}/src/github.com/gopherjs/gopherjs
- @${MV} ${WRKSRC_highlight_diff} ${WRKSRC}/src/github.com/shurcooL/highlight_diff
- @${MV} ${WRKSRC_highlight_go} ${WRKSRC}/src/github.com/shurcooL/highlight_go
- @${MV} ${WRKSRC_hllpp} ${WRKSRC}/src/github.com/retailnext/hllpp
- @${MV} ${WRKSRC_httpfs} ${WRKSRC}/src/github.com/shurcooL/httpfs
- @${MV} ${WRKSRC_liner} ${WRKSRC}/src/github.com/peterh/liner
- @${MV} ${WRKSRC_net} ${WRKSRC}/src/golang.org/x/net
- @${MV} ${WRKSRC_osext} ${WRKSRC}/src/github.com/kardianos/osext
- @${MV} ${WRKSRC_pat} ${WRKSRC}/src/github.com/bmizerany/pat
- @${MV} ${WRKSRC_pipe} ${WRKSRC}/src/gopkg.in/pipe.v2
- @${MV} ${WRKSRC_ratecounter} ${WRKSRC}/src/github.com/paulbellamy/ratecounter
- @${MV} ${WRKSRC_sanitized_anchor_name} ${WRKSRC}/src/github.com/shurcooL/sanitized_anchor_name
- @${MV} ${WRKSRC_snappy} ${WRKSRC}/src/github.com/golang/snappy
- @${MV} ${WRKSRC_sourcemap} ${WRKSRC}/src/github.com/neelance/sourcemap
- @${MV} ${WRKSRC_statik} ${WRKSRC}/src/github.com/rakyll/statik
- @${MV} ${WRKSRC_syntaxhighlight} ${WRKSRC}/src/github.com/sourcegraph/syntaxhighlight
- @${MV} ${WRKSRC_sys} ${WRKSRC}/src/golang.org/x/sys
- @${MV} ${WRKSRC_testify} ${WRKSRC}/src/github.com/stretchr/testify
- @${MV} ${WRKSRC_tools} ${WRKSRC}/src/golang.org/x/tools
do-build:
@cd ${WRKSRC}/src/github.com/influxdata/${PORTNAME} \