diff options
author | Steve Wills <swills@FreeBSD.org> | 2014-03-17 16:02:56 +0000 |
---|---|---|
committer | Steve Wills <swills@FreeBSD.org> | 2014-03-17 16:02:56 +0000 |
commit | ee8c1de7551e8bddee4d0880383b870593b62f51 (patch) | |
tree | 0bb40c25bbbc7ff0decf30242f34706e653b9794 /devel/etcd/Makefile | |
parent | 85b81c8aaa2394eaf88cd35c48cc10e47d58ea80 (diff) | |
download | ports-ee8c1de7551e8bddee4d0880383b870593b62f51.tar.gz ports-ee8c1de7551e8bddee4d0880383b870593b62f51.zip |
Notes
Diffstat (limited to 'devel/etcd/Makefile')
-rw-r--r-- | devel/etcd/Makefile | 19 |
1 files changed, 12 insertions, 7 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> |