TLDR; turns out to be a misconception, has gone with dinosaurs. Golang Project treat such cases as bugs, submit any evidence to them. More info: https://honnef.co/posts/2016/10/go-and-strip/ Fix my port and ports I've committed yesterday. Bump PORTREVISION. Reported by: swills Approved by: portmgr (just fix it)
30 lines
607 B
Makefile
30 lines
607 B
Makefile
# Created by: Alexey Bobkov <mr.deadlystorm@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= mysqld_exporter
|
|
PORTVERSION= 0.10.0
|
|
PORTREVISION= 1
|
|
DISTVERSIONPREFIX=v
|
|
CATEGORIES= net-mgmt
|
|
|
|
MAINTAINER= mr.deadlystorm@gmail.com
|
|
COMMENT= Prometheus exporter for MySQL server metrics
|
|
|
|
LICENSE= APACHE20
|
|
|
|
USES= go
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= prometheus
|
|
|
|
GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME}
|
|
GO_TARGET= github.com/${GH_ACCOUNT}/${PORTNAME}
|
|
|
|
PLIST_FILES= bin/mysqld_exporter
|
|
|
|
USE_RC_SUBR= mysqld_exporter
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKDIR}/bin/mysqld_exporter ${STAGEDIR}${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|