aboutsummaryrefslogtreecommitdiff
path: root/devel/etcd
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2014-03-17 16:02:56 +0000
committerSteve Wills <swills@FreeBSD.org>2014-03-17 16:02:56 +0000
commitee8c1de7551e8bddee4d0880383b870593b62f51 (patch)
tree0bb40c25bbbc7ff0decf30242f34706e653b9794 /devel/etcd
parent85b81c8aaa2394eaf88cd35c48cc10e47d58ea80 (diff)
downloadports-ee8c1de7551e8bddee4d0880383b870593b62f51.tar.gz
ports-ee8c1de7551e8bddee4d0880383b870593b62f51.zip
Notes
Diffstat (limited to 'devel/etcd')
-rw-r--r--devel/etcd/Makefile19
-rw-r--r--devel/etcd/distinfo4
2 files changed, 14 insertions, 9 deletions
diff --git a/devel/etcd/Makefile b/devel/etcd/Makefile
index d635736dcd87..1e90af84a84e 100644
--- a/devel/etcd/Makefile
+++ b/devel/etcd/Makefile
@@ -1,29 +1,31 @@
# $FreeBSD$
PORTNAME= etcd
-PORTVERSION= 0.2.0
+PORTVERSION= 0.3.0
CATEGORIES= devel
PKGNAMEPREFIX= coreos-
MAINTAINER= ports@robakdesign.com
COMMENT= Highly-available key value store and service discovery
+LICENSE= APACHE20
+
BUILD_DEPENDS= ${LOCALBASE}/bin/go:${PORTSDIR}/lang/go
USE_GITHUB= yes
GH_ACCOUNT= coreos
GH_TAGNAME= v${PORTVERSION}
-GH_COMMIT= f04fdf1
+GH_COMMIT= a643476
-PLIST_FILES= bin/${PORTNAME}
+PLIST_FILES= bin/bench \
+ bin/etcd
PORTDOCS= README.md
-OPTIONS_DEFINE= DOCS ETCDCTL
+OPTIONS_DEFINE= DOCS
DOCS_DESC= Install etcd README file
-ETCDCTL_DESC= Install etcdctl commandline tool
-ETCDCTL_RUN_DEPENDS= etcdctl:${PORTSDIR}/devel/etcdctl
+.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e 's|$$VER|${DISTVERSION}|' ${WRKSRC}/scripts/release-version
@@ -33,8 +35,11 @@ do-build:
cd ${WRKSRC}; ${SH} build
do-install:
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
+.endif
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/bench ${STAGEDIR}${PREFIX}/bin/
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/etcd ${STAGEDIR}${PREFIX}/bin/
.include <bsd.port.mk>
diff --git a/devel/etcd/distinfo b/devel/etcd/distinfo
index 2aa76802da09..a57747ad657d 100644
--- a/devel/etcd/distinfo
+++ b/devel/etcd/distinfo
@@ -1,2 +1,2 @@
-SHA256 (etcd-0.2.0.tar.gz) = 834706a3707b22cd14bf2d4f871f847b6c7eec13b530ea4e58d359b0a6bdc8db
-SIZE (etcd-0.2.0.tar.gz) = 1501687
+SHA256 (etcd-0.3.0.tar.gz) = a524490f5447ab746e0040bb6d3c5a4afccb8014adb8ca09e7e275b7e21b995a
+SIZE (etcd-0.3.0.tar.gz) = 911770