From owner-svn-ports-all@freebsd.org Wed Jul 20 21:47:35 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 46D3DB9F3D3; Wed, 20 Jul 2016 21:47:35 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from prod2.absolight.net (mx3.absolight.net [IPv6:2a01:678:2:100::25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "plouf.absolight.net", Issuer "CAcert Class 3 Root" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 14CD41C34; Wed, 20 Jul 2016 21:47:35 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from prod2.absolight.net (localhost [127.0.0.1]) by prod2.absolight.net (Postfix) with ESMTP id 81068BDC68; Wed, 20 Jul 2016 23:47:32 +0200 (CEST) Received: from atuin.in.mat.cc (atuin.in.mat.cc [79.143.241.205]) by prod2.absolight.net (Postfix) with ESMTPA id 7C9B7BDC66; Wed, 20 Jul 2016 23:47:32 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by atuin.in.mat.cc (Postfix) with ESMTP id 3ACCB64C2189; Wed, 20 Jul 2016 23:47:32 +0200 (CEST) Date: Wed, 20 Jul 2016 23:47:31 +0200 From: Mathieu Arnold To: Kris Moore , 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: In-Reply-To: <201607201953.u6KJrEHl077436@repo.freebsd.org> References: <201607201953.u6KJrEHl077436@repo.freebsd.org> X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="==========88E07C3335A6825F0F7C==========" X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jul 2016 21:47:35 -0000 --==========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 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==========--