aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/prometheus2/Makefile
diff options
context:
space:
mode:
authorKoop Mast <kwm@rainbow-runner.nl>2018-11-12 00:22:39 +0800
committerKoop Mast <kwm@rainbow-runner.nl>2018-11-12 00:22:39 +0800
commit9b580ffb435c69606f640c5a657190b54a1ef870 (patch)
treeb85006a979d929da61946937a62b6c6b97fa4c79 /net-mgmt/prometheus2/Makefile
parent6a4416929169733984a0ac898468560f66931e1c (diff)
parentf86bb659dcd66c74ffce85ffcc1575d2095989f8 (diff)
downloadfreebsd-ports-gnome-gnome-3.28.tar.gz
freebsd-ports-gnome-gnome-3.28.tar.zst
freebsd-ports-gnome-gnome-3.28.zip
Merge branch 'master' into gnome-3.28gnome-3.28
Diffstat (limited to 'net-mgmt/prometheus2/Makefile')
-rw-r--r--net-mgmt/prometheus2/Makefile22
1 files changed, 4 insertions, 18 deletions
diff --git a/net-mgmt/prometheus2/Makefile b/net-mgmt/prometheus2/Makefile
index 3549757c4e0c..5c49a532be66 100644
--- a/net-mgmt/prometheus2/Makefile
+++ b/net-mgmt/prometheus2/Makefile
@@ -2,7 +2,8 @@
PORTNAME= prometheus
DISTVERSIONPREFIX= v
-DISTVERSION= 2.4.3
+DISTVERSION= 2.5.0
+PORTREVISION= 1
CATEGORIES= net-mgmt
MAINTAINER= dor.bsd@xm0.uk
@@ -12,14 +13,10 @@ LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= go gmake
-GO_PKGNAME= github.com/${GH_ACCOUNT}/${GH_PROJECT}
USE_GITHUB= yes
USE_RC_SUBR= prometheus
-OPTIONS_DEFINE= USE_SYSLOG
-OPTIONS_DEFAULT= USE_SYSLOG
-USE_SYSLOG_DESC= Install configuration files for syslog and newsyslog
-OPTIONS_SUB= yes
+GO_PKGNAME= github.com/${GH_ACCOUNT}/${GH_PROJECT}
PROMETHEUS_USER?= prometheus
PROMETHEUS_GROUP?= prometheus
@@ -35,9 +32,7 @@ PROMETHEUS_DB_DIR= /var/db/${PORTNAME}
PROMETHEUS_LOG_DIR= /var/log/prometheus
PROMETHEUS_LOG_FILE= ${PROMETHEUS_LOG_DIR}/prometheus.log
-SUB_FILES= prometheus \
- newsyslog.conf \
- syslog.d.conf
+SUB_FILES= prometheus
SUB_LIST+= PROMETHEUS_USER=${PROMETHEUS_USER} \
PROMETHEUS_GROUP=${PROMETHEUS_GROUP} \
@@ -88,13 +83,4 @@ do-install:
&& ${COPYTREE_SHARE} . ${STAGEDIR}${PROMETHEUS_CONSOLES_DIR} \
)
-post-install-USE_SYSLOG-on:
- @${MKDIR} ${STAGEDIR}${ETCDIR}
- ${INSTALL_DATA} \
- ${WRKDIR}/syslog.d.conf \
- ${STAGEDIR}${ETCDIR}/syslog.d.conf.sample
- ${INSTALL_DATA} \
- ${WRKDIR}/newsyslog.conf \
- ${STAGEDIR}${ETCDIR}/newsyslog.conf.sample
-
.include <bsd.port.mk>