freebsd-ports/devel/awless/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

37 lines
769 B
Makefile

# Created by: Dmitri Goutnik <dg@syrec.org>
# $FreeBSD$
PORTNAME= awless
DISTVERSIONPREFIX= v
DISTVERSION= 0.1.9
CATEGORIES= devel
MAINTAINER= dg@syrec.org
COMMENT= Fast, powerful and easy-to-use CLI for AWS
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= go:lang/go
USE_GITHUB= yes
GH_ACCOUNT= wallix
GH_SUBDIR= src/github.com/wallix/${PORTNAME}
OPTIONS_DEFINE= DOCS
PLIST_FILES= bin/awless
PORTDOCS= README.md CHANGELOG.md
do-build:
@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} GOPATH=${WRKSRC} go build -o ${PORTNAME} )
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>