Commit 8e09a2f5 authored by wg's avatar wg
Browse files

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
parent 2df4fb24
......@@ -410,6 +410,7 @@
SUBDIR += eris
SUBDIR += esdl
SUBDIR += etcd
SUBDIR += etcdctl
SUBDIR += etl
SUBDIR += eventxx
SUBDIR += evolution-gconf-tools
......
# $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>
SHA256 (etcdctl-0.1.2.tar.gz) = 63c949193196a6f888ec540d71a1c6d70cbccaa7b64b622ac1074e1dcc01fa5a
SIZE (etcdctl-0.1.2.tar.gz) = 30845
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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment