Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Nov 2013 12:11:31 +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: r333678 - head/devel/etcd
Message-ID:  <201311131211.rADCBVdY014611@svn.freebsd.org>

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

Log:
  devel/etcd: fix pkg prefix and add option
  
  - Fix pkg name prefix to include a dash
  - Add an option to install etcdctl
  
  PR:		ports/183921
  Submitted by:	maintainer

Modified:
  head/devel/etcd/Makefile

Modified: head/devel/etcd/Makefile
==============================================================================
--- head/devel/etcd/Makefile	Wed Nov 13 12:01:18 2013	(r333677)
+++ head/devel/etcd/Makefile	Wed Nov 13 12:11:30 2013	(r333678)
@@ -2,8 +2,9 @@
 
 PORTNAME=	etcd
 PORTVERSION=	0.1.2
+PORTREVISION=	1
 CATEGORIES=	devel
-PKGNAMEPREFIX=	coreos
+PKGNAMEPREFIX=	coreos-
 
 MAINTAINER=	ports@robakdesign.com
 COMMENT=	Highly-available key value store and service discovery
@@ -19,17 +20,18 @@ PLIST_FILES=	bin/${PORTNAME}
 
 PORTDOCS=	README.md
 
-NO_BUILD=	yes
-
-OPTIONS_DEFINE=	DOCS
+OPTIONS_DEFINE=	DOCS ETCDCTL
 DOCS_DESC=	Install etcd README file
 
+ETCDCTL_DESC=	Install etcdctl commandline tool
+ETCDCTL_RUN_DEPENDS=	etcdctl:${PORTSDIR}/devel/etcdctl
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|$$VER|${DISTVERSION}|' ${WRKSRC}/scripts/release-version
 	@${REINPLACE_CMD} -e '/VER=/d' ${WRKSRC}/scripts/release-version
 
-pre-install:
-	@(cd ${WRKSRC}; ${SH} build)
+do-build:
+	cd ${WRKSRC}; ${SH} build
 
 do-install:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}



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