Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Nov 2013 12:01:18 +0000 (UTC)
From:      William Grzybowski <wg@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r333677 - in head/devel: . etcdctl
Message-ID:  <201311131201.rADC1IM9010925@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wg
Date: Wed Nov 13 12:01:18 2013
New Revision: 333677
URL: http://svnweb.freebsd.org/changeset/ports/333677

Log:
  devel/etcdctl: Simple commandline client for etcd
  
  Etcdctl is a command line client for etcd. It can
  be used in scripts or for administrators to explore
  an etcd cluster.
  
  WWW: https://github.com/coreos/etcdctl#etcdctl
  
  PR:		ports/183845
  Submitted by:	ports robakdesign.com

Added:
  head/devel/etcdctl/
  head/devel/etcdctl/Makefile   (contents, props changed)
  head/devel/etcdctl/distinfo   (contents, props changed)
  head/devel/etcdctl/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Wed Nov 13 12:01:10 2013	(r333676)
+++ head/devel/Makefile	Wed Nov 13 12:01:18 2013	(r333677)
@@ -410,6 +410,7 @@
     SUBDIR += eris
     SUBDIR += esdl
     SUBDIR += etcd
+    SUBDIR += etcdctl
     SUBDIR += etl
     SUBDIR += eventxx
     SUBDIR += evolution-gconf-tools

Added: head/devel/etcdctl/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/etcdctl/Makefile	Wed Nov 13 12:01:18 2013	(r333677)
@@ -0,0 +1,40 @@
+# $FreeBSD$
+
+PORTNAME=	etcdctl
+PORTVERSION=	0.1.2
+CATEGORIES=	devel
+PKGNAMEPREFIX=	coreos-
+
+MAINTAINER=	ports@robakdesign.com
+COMMENT=	Simple commandline client for etcd
+
+BUILD_DEPENDS=	${LOCALBASE}/bin/go:${PORTSDIR}/lang/go
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	coreos
+GH_TAGNAME=	v${PORTVERSION}
+GH_COMMIT=	0aa41af
+
+PLIST_FILES=	bin/${PORTNAME}
+
+PORTDOCS=	README.md
+
+OPTIONS_DEFINE=	DOCS
+DOCS_DESC=	Install etcdctl README file
+
+.include <bsd.port.options.mk>
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|$$VER|${DISTVERSION}|' ${WRKSRC}/scripts/release-version
+	@${REINPLACE_CMD} -e '/VER=/d' ${WRKSRC}/scripts/release-version
+	@${REINPLACE_CMD} -e 's|#!/bin/bash|#!/bin/sh|' ${WRKSRC}/build
+
+do-build:
+	@(cd ${WRKSRC}; ${SH} build)
+
+do-install:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
+
+.include <bsd.port.mk>

Added: head/devel/etcdctl/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/etcdctl/distinfo	Wed Nov 13 12:01:18 2013	(r333677)
@@ -0,0 +1,2 @@
+SHA256 (etcdctl-0.1.2.tar.gz) = 63c949193196a6f888ec540d71a1c6d70cbccaa7b64b622ac1074e1dcc01fa5a
+SIZE (etcdctl-0.1.2.tar.gz) = 30845

Added: head/devel/etcdctl/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/etcdctl/pkg-descr	Wed Nov 13 12:01:18 2013	(r333677)
@@ -0,0 +1,5 @@
+Etcdctl is a command line client for etcd. It can
+be used in scripts or for administrators to explore
+an etcd cluster.
+
+WWW: https://github.com/coreos/etcdctl#etcdctl



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311131201.rADC1IM9010925>