aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/prometheus2/Makefile
diff options
context:
space:
mode:
authorbrd <brd@FreeBSD.org>2018-03-31 06:29:50 +0800
committerbrd <brd@FreeBSD.org>2018-03-31 06:29:50 +0800
commit2b9f43bef4c122915cb8553826c2d00081896de8 (patch)
tree8e3aba6248f915124449913aff722dc3151b7f5b /net-mgmt/prometheus2/Makefile
parentbc90e75e59140ed3837fca1c9dd0ad1a9fd9d984 (diff)
downloadfreebsd-ports-gnome-2b9f43bef4c122915cb8553826c2d00081896de8.tar.gz
freebsd-ports-gnome-2b9f43bef4c122915cb8553826c2d00081896de8.tar.zst
freebsd-ports-gnome-2b9f43bef4c122915cb8553826c2d00081896de8.zip
Remove to fix history
PR: 225169 Reported by: mat
Diffstat (limited to 'net-mgmt/prometheus2/Makefile')
-rw-r--r--net-mgmt/prometheus2/Makefile53
1 files changed, 0 insertions, 53 deletions
diff --git a/net-mgmt/prometheus2/Makefile b/net-mgmt/prometheus2/Makefile
deleted file mode 100644
index a749cf7f4ace..000000000000
--- a/net-mgmt/prometheus2/Makefile
+++ /dev/null
@@ -1,53 +0,0 @@
-# $FreeBSD$
-
-PORTNAME= prometheus
-PORTVERSION= 2.1.0
-DISTVERSIONPREFIX= v
-CATEGORIES= net-mgmt
-
-MAINTAINER= dor.bsd@xm0.uk
-COMMENT= Systems monitoring and alerting toolkit
-
-LICENSE= APACHE20
-LICENSE_FILE= ${WRKSRC}/LICENSE
-
-USES= go gmake
-USE_GITHUB= yes
-GH_ACCOUNT= prometheus
-GH_PROJECT= prometheus
-
-GO_PKGNAME= github.com/${GH_ACCOUNT}/${GH_PROJECT}
-
-USE_RC_SUBR= prometheus
-
-USERS= prometheus
-GROUPS= prometheus
-
-BUILD_USER?= ${USER}
-LD_FLAG_X_PREFIX= -X ${GO_PKGNAME}/vendor/${GO_PKGNAME:H}/common/version
-LD_FLAG_STRING= -s \
- ${LD_FLAG_X_PREFIX}.Version=${PORTVERSION} \
- ${LD_FLAG_X_PREFIX}.Revision=${PORTREVISION} \
- ${LD_FLAG_X_PREFIX}.Branch=release-${PORTVERSION:R} \
- ${LD_FLAG_X_PREFIX}.BuildUser=${BUILD_USER}
-
-PROMETHEUS_BINARIES= prometheus promtool
-
-do-build:
-.for bin in ${PROMETHEUS_BINARIES}
- ( cd ${GO_WRKSRC}/cmd/${bin} ; \
- ${SETENV} ${MAKE_ENV} ${GO_ENV} go install -ldflags "${LD_FLAG_STRING}" )
-.endfor
-
-do-install:
-.for bin in ${PROMETHEUS_BINARIES}
- ${INSTALL_PROGRAM} ${GO_WRKDIR_BIN}/${bin} ${STAGEDIR}${PREFIX}/bin
-.endfor
-
- ${INSTALL_DATA} \
- ${WRKSRC}/documentation/examples/prometheus.yml \
- ${STAGEDIR}${LOCALBASE}/etc/prometheus.yml.sample
-
- ${MKDIR} ${STAGEDIR}${DESTDIR}/var/db/prometheus
-
-.include <bsd.port.mk>