- Remove custom build/install targets left in place after r505321 - Switch to the new GO_TARGET tuple syntax introduced in r512001 - Switch to go:modules when upstream already uses them Reviewed by: tobik Approved by: araujo (mentor), portmgr (adamw) Differential Revision: https://reviews.freebsd.org/D21741
39 lines
785 B
Makefile
39 lines
785 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= etcd
|
|
PORTVERSION= 2.3.8
|
|
DISTVERSIONPREFIX= v
|
|
PORTREVISION= 2
|
|
CATEGORIES= devel
|
|
PKGNAMEPREFIX= coreos-
|
|
|
|
MAINTAINER= robak@FreeBSD.org
|
|
COMMENT= Highly-available key value store and service discovery
|
|
|
|
LICENSE= APACHE20
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
CONFLICTS_INSTALL=coreos-etcdctl-0.* coreos-etcd31-* coreos-etcd32-* coreos-etcd33-*
|
|
|
|
PORTSCOUT= limit:^2.*
|
|
|
|
USES= go
|
|
GO_PKGNAME= github.com/coreos/etcd
|
|
GO_TARGET= github.com/coreos/etcd \
|
|
github.com/coreos/etcd/etcdctl
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= coreos
|
|
|
|
PLIST_FILES= bin/etcd \
|
|
bin/etcdctl
|
|
PORTDOCS= README.md
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
DOCS_DESC= Install etcd README file
|
|
|
|
do-install-DOCS-on:
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|