Hello. I tried to bring postgres_exporter to ports but it uses Mage instead of make. Mage is already in ports, but required bits in Uses/go.mk to enable Mage usage are absent... I'm not even sure how this should be done correctly. Can someone enable using Mage as a builder please? Thanks in advance.
This can be done in the postgres_exporter directly if needed by overwriting do-build and/or do-install. It does not need to be integrated in USES=go just to get one port to build. Note that www/gohugo also has a magefile but can be built just fine with USES=go as normal. I'd assume that postgres_exporter is no different. Anyway assigning to USES=go maintainer.
(In reply to Volodymyr Kostyrko from comment #0) I don't know what mage is but github.com/wrouesnel/postgres_exporter doesn't need it for build, it build just fine by regular "go build ./cmd/postgres_exporter". So I agree with Tobias, regular USES=go should be enough for creating postgres_exporter port.