1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-28 10:08:24 +00:00
freebsd-ports/devel/etcd31/Makefile
Dmitri Goutnik d84aa50743 Bump PORTREVISION after r517743 to force relinking.
Approved by:	araujo (mentor)
Differential Revision:	https://reviews.freebsd.org/D21854
2019-11-16 12:52:39 +00:00

41 lines
891 B
Makefile

# $FreeBSD$
PORTNAME= etcd
PORTVERSION= 3.1.20
DISTVERSIONPREFIX= v
PORTREVISION= 2
CATEGORIES= devel
PKGNAMEPREFIX= coreos-
PKGNAMESUFFIX= 31
MAINTAINER= olgeni@FreeBSD.org
COMMENT= Highly-available key value store and service discovery
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= go
CONFLICTS_INSTALL= coreos-etcd-* coreos-etcd32-* coreos-etcd33-* \
coreos-etcd34-* coreos-etcdctl-0.*
GO_PKGNAME= github.com/coreos/etcd
GO_TARGET= ./cmd/etcd ./cmd/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
post-patch:
${REINPLACE_CMD} -i '' "s@#cgo LDFLAGS: -ldl@@g;" ${WRKSRC}/cmd/vendor/github.com/coreos/pkg/dlopen/dlopen.go
do-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>