freebsd-ports/sysutils/epazote/Makefile
Yuri Victorovich 7615de3749 Made 10 Go ports respect MAKE_ENV. This is expected to unbreak them.
Ports:
www/go-appengine-sdk devel/go-bindata devel/gogs net/rclone security/obfs4proxy-tor
misc/cryptoballot www/grafana4 sysutils/epazote net-mgmt/prometheus1 security/honeybadger

While here, corrected PYTHON_CMD in www/go-appengine-sdk/Makefile.

Approved by:	tcberner (mentor, implicit)
Approved by:	portmgr (port compliance, infrastructure)
2018-03-04 23:14:00 +00:00

32 lines
843 B
Makefile

# $FreeBSD$
PORTNAME= epazote
PORTVERSION= 2.1.2
CATEGORIES= sysutils
MAINTAINER= nbari@tequila.io
COMMENT= Automated HTTP (microservices) supervisor
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= go>=1.7:lang/go
USES= compiler
USE_GITHUB= yes
GH_TUPLE= epazote:scheduler:0.1.0:scheduler/src/github.com/epazote/scheduler \
go-yaml:yaml:cd8b52f:yaml/src/github.com/go-yaml/yaml
GH_SUBDIR= src/github.com/${PORTNAME}/${PORTNAME}
PLIST_FILES= bin/epazote
do-build:
@cd ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT}; \
${SETENV} ${MAKE_ENV} ${BUILD_ENV} GOPATH=${WRKSRC} go build -ldflags \
"-X main.version=${PORTVERSION}" -o epazote cmd/epazote/main.go;
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT}/epazote ${STAGEDIR}${PREFIX}/bin/epazote
.include <bsd.port.mk>