aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorswills <swills@FreeBSD.org>2014-03-18 00:02:56 +0800
committerswills <swills@FreeBSD.org>2014-03-18 00:02:56 +0800
commite623e1e4dfc17d45be0f3a3b8e698bcccde75365 (patch)
tree0bb40c25bbbc7ff0decf30242f34706e653b9794 /devel
parent6d44ec8fbef70cec044d409e4d07a0c9d5efceac (diff)
downloadfreebsd-ports-gnome-e623e1e4dfc17d45be0f3a3b8e698bcccde75365.tar.gz
freebsd-ports-gnome-e623e1e4dfc17d45be0f3a3b8e698bcccde75365.tar.zst
freebsd-ports-gnome-e623e1e4dfc17d45be0f3a3b8e698bcccde75365.zip
- Update to 0.3.0
- Add LICENSE - Fix options for DOCS installation - Removed option for client port PR: ports/187626 Submitted by: Bartek Rutkowski <ports@robakdesign.com> (maintainer)
Diffstat (limited to 'devel')
-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