aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/prometheus
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2016-12-02 11:58:21 +0000
committerMathieu Arnold <mat@FreeBSD.org>2016-12-02 11:58:21 +0000
commit8b4093cba5775260e98d51f74cd187fb9af825a8 (patch)
tree4a28bf50f532fa82a149cbc3f9c041d48a23921b /net-mgmt/prometheus
parentf38d6cb92bbd96d100bae02b23ace94acea1cf8e (diff)
downloadports-8b4093cba5775260e98d51f74cd187fb9af825a8.tar.gz
ports-8b4093cba5775260e98d51f74cd187fb9af825a8.zip
Notes
Diffstat (limited to 'net-mgmt/prometheus')
-rw-r--r--net-mgmt/prometheus/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/net-mgmt/prometheus/Makefile b/net-mgmt/prometheus/Makefile
index 86ef90f99152..8f18d923f69e 100644
--- a/net-mgmt/prometheus/Makefile
+++ b/net-mgmt/prometheus/Makefile
@@ -27,12 +27,11 @@ do-build:
(cd ${GO_WRKSRC}/cmd/prometheus ; ${SETENV} ${GO_ENV} go install)
(cd ${GO_WRKSRC}/cmd/promtool ; ${SETENV} ${GO_ENV} go install)
-post-stage:
- ${MKDIR} ${STAGEDIR}${DESTDIR}/var/db/prometheus
-
do-install:
${INSTALL_PROGRAM} ${GO_WRKDIR_BIN}/prometheus ${STAGEDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${GO_WRKDIR_BIN}/promtool ${STAGEDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/documentation/examples/prometheus.yml ${STAGEDIR}${LOCALBASE}/etc/prometheus.yml.sample
+ ${MKDIR} ${STAGEDIR}${DESTDIR}/var/db/prometheus
+
.include <bsd.port.mk>