1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/devel/git-codereview/Makefile
Yuri Victorovich 54e279cd72 Make 41 Go ports respect MAKE_ENV. This is expected to unbreak them.
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)
2018-03-07 08:06:24 +00:00

33 lines
807 B
Makefile

# $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} ${MAKE_ENV} ${BUILD_ENV} GOPATH=${WRKSRC} go install ./...
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
.include <bsd.port.mk>