/
Makefile
36 lines (24 loc) · 930 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
PORTNAME?= zed
DISTVERSIONPREFIX= v
DISTVERSION= 1.8.0
CATEGORIES= textproc
MAINTAINER= meta@FreeBSD.org
COMMENT= Command-line tool to manage and query Zed data lakes
WWW= https://zed.brimdata.io/
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
BROKEN_i386= fails to build: cannot use math.MaxUint32 (untyped int constant 4294967295) as int value in assignment (overflows)
USES= go:modules
GO_MODULE?= github.com/brimdata/zed
GO_PKGNAME?= github.com/brimdata/zed/cmd/zed
PLIST_FILES?= bin/zed
.include <bsd.port.pre.mk>
.if ${SLAVE_PORT} == no
x-maintainer-makesum:
${MAKE} DISTINFO_FILE=${.CURDIR}/distinfo.zed makesum
${MAKE} DISTINFO_FILE=${.CURDIR}/distinfo.zq -C "${.CURDIR}/../zq" makesum
${CAT} ${.CURDIR}/distinfo.zed ${.CURDIR}/distinfo.zq | \
${AWK} '$$1 != "TIMESTAMP" || NR == 1' > ${.CURDIR}/distinfo
${RM} ${.CURDIR}/distinfo.zed ${.CURDIR}/distinfo.zq
.endif
.include <bsd.port.post.mk>