mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
54e279cd72
Ports: benchmarks/hey benchmarks/vegeta databases/influxdb devel/arduino-builder devel/arduinoOTA devel/awless devel/git-codereview devel/git-town devel/gitlab-runner devel/grv devel/hub devel/jfrog-cli editors/micro finance/fixc misc/exercism net-mgmt/intel-snap net-mgmt/kapacitor net-mgmt/telegraf net/goreplay net/syncthing net/syncthing-cli net/syncthing-discosrv net/syncthing-inotify print/cups-connector security/sops security/vault sysutils/amazon-ssm-agent sysutils/circonus-agent sysutils/consul sysutils/consul_exporter sysutils/envconsul sysutils/serf textproc/consul-template textproc/spiff www/gobuffalo www/grafana2 www/grafana3 www/mattermost-server www/minio www/minio-client www/uchiwa Approved by: tcberner (mentor, implicit) Approved by: portmgr (port compliance, infrastructure)
35 lines
932 B
Makefile
35 lines
932 B
Makefile
# $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} ${MAKE_ENV} GOPATH=${WRKSRC} go build
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/goreplay \
|
|
${STAGEDIR}${PREFIX}/bin/
|
|
|
|
.include <bsd.port.mk>
|