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)
26 lines
589 B
Makefile
26 lines
589 B
Makefile
# Created by: Steve Wills <swills@FreeBSD.org>
|
|
# $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} ${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 <bsd.port.mk>
|