From owner-svn-ports-all@freebsd.org Thu Sep 15 09:45:19 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 0BC0CBDA740; Thu, 15 Sep 2016 09:45:19 +0000 (UTC) (envelope-from robak@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C30181FCD; Thu, 15 Sep 2016 09:45:18 +0000 (UTC) (envelope-from robak@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u8F9jHpb005772; Thu, 15 Sep 2016 09:45:17 GMT (envelope-from robak@FreeBSD.org) Received: (from robak@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u8F9jHPK005771; Thu, 15 Sep 2016 09:45:17 GMT (envelope-from robak@FreeBSD.org) Message-Id: <201609150945.u8F9jHPK005771@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: robak set sender to robak@FreeBSD.org using -f From: Bartek Rutkowski Date: Thu, 15 Sep 2016 09:45:17 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r422183 - head/devel/etcd X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 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: Thu, 15 Sep 2016 09:45:19 -0000 Author: robak Date: Thu Sep 15 09:45:17 2016 New Revision: 422183 URL: https://svnweb.freebsd.org/changeset/ports/422183 Log: devel/etcd: minor port updates * Switch to USES=go and drop BUILD_DEPENDS * Limit portscout version scans to 2.* version * Correct PORTREVISION placement Modified: head/devel/etcd/Makefile Modified: head/devel/etcd/Makefile ============================================================================== --- head/devel/etcd/Makefile Thu Sep 15 09:28:54 2016 (r422182) +++ head/devel/etcd/Makefile Thu Sep 15 09:45:17 2016 (r422183) @@ -2,8 +2,8 @@ PORTNAME= etcd PORTVERSION= 2.3.7 -PORTREVISION= 1 DISTVERSIONPREFIX= v +PORTREVISION= 2 CATEGORIES= devel PKGNAMEPREFIX= coreos- @@ -13,10 +13,14 @@ COMMENT= Highly-available key value stor LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= ${LOCALBASE}/bin/go:lang/go - CONFLICTS_INSTALL=coreos-etcdctl-0.* coreos-etcd3-* +PORTSCOUT= limit:^2.* + +USES= go +GO_PKGNAME= github.com/coreos/etcd +GO_TARGET= github.com/coreos/etcd \ + github.com/coreos/etcd/etcdctl USE_GITHUB= yes GH_ACCOUNT= coreos @@ -27,12 +31,9 @@ PORTDOCS= README.md OPTIONS_DEFINE= DOCS DOCS_DESC= Install etcd README file -do-build: - cd ${WRKSRC}; ${SH} build - do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/bin/etcd ${STAGEDIR}${PREFIX}/bin/ - ${INSTALL_PROGRAM} ${WRKSRC}/bin/etcdctl ${STAGEDIR}${PREFIX}/bin/ + ${INSTALL_PROGRAM} ${GO_WRKDIR_BIN}/etcd ${STAGEDIR}${PREFIX}/bin/ + ${INSTALL_PROGRAM} ${GO_WRKDIR_BIN}/etcdctl ${STAGEDIR}${PREFIX}/bin/ do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR}