Date: Wed, 20 Jul 2016 23:47:31 +0200 From: Mathieu Arnold <mat@FreeBSD.org> To: Kris Moore <kmoore@FreeBSD.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r418850 - in head/sysutils: . consul-alerts consul-alerts/files Message-ID: <EDEA863EC52707246802C0BF@atuin.in.mat.cc> In-Reply-To: <201607201953.u6KJrEHl077436@repo.freebsd.org> References: <201607201953.u6KJrEHl077436@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--==========88E07C3335A6825F0F7C========== Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline +--On 20 juillet 2016 19:53:14 +0000 Kris Moore <kmoore@FreeBSD.org> wrote: | + | +BUILD_DEPENDS= ${LOCALBASE}/bin/go:lang/go | + | +post-patch: | + @${MKDIR} ${WRKSRC}/src/github.com/AcalephStorage/consul-alerts | +.for src in .buildkite .buildkite-release .gitignore .travis.yml \ | + check-handler.go consul consul-alerts.go Dockerfile \ | + event-handler.go Godeps health-handler.go leader-election.go \ | + LICENSE Makefile notifier provision README.md send-notifs.go \ | + Vagrantfile watchers.go | + @${MV} ${WRKSRC}/${src} \ | + ${WRKSRC}/src/github.com/AcalephStorage/consul-alerts | +.endfor | + | +do-build: | + @cd ${WRKSRC}/src/github.com/AcalephStorage/consul-alerts; \ | + ${SETENV} ${BUILD_ENV} GOPATH=${WRKSRC} go build -v -x \ | + -ldflags "-X main.GitDescribe=v${PORTVERSION}" -o bin/consul-alerts | + | +do-install: | + ${INSTALL_PROGRAM} | ${WRKSRC}/src/github.com/AcalephStorage/consul-alerts/bin/consul-alerts | ${STAGEDIR}${PREFIX}/bin/consul-alerts + Unless I'm mistaken, all this is done (if differently) when you USES=go. https://www.freebsd.org/doc/en/books/porters-handbook/uses-go.html -- Mathieu Arnold --==========88E07C3335A6825F0F7C========== Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQJ8BAEBCgBmBQJXj/F0XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzQUI2OTc4OUQyRUQxMjEwNjQ0MEJBNUIz QTQ1MTZGMzUxODNDRTQ4AAoJEDpFFvNRg85I0z0P/3EvHXkvZlOrmVyr8cWfBecT +J8yegUY6PCTd3tVZiVlRaJi2OnFxdXpBZIvMbNQ3tKZLiKJ+Y3yDCDwXqELbe7D PWTzEjJosCMdXl/vgIuZLjLH73kS2MttN3h+wYDBOrBzL12UKCdKbyflCsZdaAwt pYJG1MpN7XbILKUFFLOVuKYXag35MP6t0S49xISHtf/DW+Q8z1/Bi3V4GO65BcPT m5opFqZjPyYSkmBeGdshi2cHuPJ4Y2/HiUbSESkMz4k0mq4mCeST/3DOc9Y0celk iP6jVxiMNMPgmEMz4NVOV3FgEd2/dFxxfgTPadJyQo93msNiSxDR+hppWEQVUfkT 9gYiqEom2LQuqcHqcBnxJDKiezRJ/PqOh60eXcUFUL1jApQmYE+BYfXXKURXnvRW 5tj8gMbUo1GHnoZc9L1LjzrE6XnT5SUN3g551yJH+/2UdGaJcY3SoCMs8OIPVsCh v3DtNvGtN6JMIYGz+4Jtie6a9Jqt1sms+3HG3kLADj9DfnPAt/tIGAraVFg2JH60 6AKEOXMACS/EaLVIRrgkbbc4/4rH8EVQ+/Uim5ouhY6LdengFdi7RT3gVAhbvjhE z+jjmwSuzxRAK1jQKTzMVbg4bsuep2MNoGhR5oJjmHsz/GGRMb4wZjRiwxatgRDO WWWA0xT63RcypxZBvTIT =HLdx -----END PGP SIGNATURE----- --==========88E07C3335A6825F0F7C==========--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?EDEA863EC52707246802C0BF>