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
This commit is contained in:
parent
cc7ae22d81
commit
6ca11dabc8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=333678
1 changed files with 8 additions and 6 deletions
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue