svn commit: r510136 - head/www/nginx-prometheus-exporter
Yuri Victorovich
yuri at FreeBSD.org
Thu Aug 29 03:45:34 UTC 2019
Author: yuri
Date: Thu Aug 29 03:45:33 2019
New Revision: 510136
URL: https://svnweb.freebsd.org/changeset/ports/510136
Log:
www/nginx-prometheus-exporter: Switch to USES=go:modules, fix build with go1.13
PR: 240170
Submitted by: Dmitri Goutnik <dg at syrec.org>
Approved by: portmgr (fix build)
Modified:
head/www/nginx-prometheus-exporter/Makefile
Modified: head/www/nginx-prometheus-exporter/Makefile
==============================================================================
--- head/www/nginx-prometheus-exporter/Makefile Thu Aug 29 03:42:29 2019 (r510135)
+++ head/www/nginx-prometheus-exporter/Makefile Thu Aug 29 03:45:33 2019 (r510136)
@@ -11,14 +11,11 @@ COMMENT= Prometheus exporter for NGINX and NGINX Plus
LICENSE= APACHE20
-USES= go
+USES= go:modules
USE_GITHUB= yes
GH_ACCOUNT= nginxinc
-GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME}
-GO_TARGET= github.com/${GH_ACCOUNT}/${PORTNAME}
-
PLIST_FILES= bin/${PORTNAME}
USE_RC_SUBR= ${PORTNAME}
@@ -27,8 +24,5 @@ LD_FLAG_X_PREFIX= -X main
LD_FLAG_STRING= -s \
${LD_FLAG_X_PREFIX}.version=${PORTVERSION}
GO_BUILDFLAGS= -v -ldflags "${LD_FLAG_STRING}"
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKDIR}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list