View | Details | Raw Unified | Return to bug 250946
Collapse All | Expand All

(-)textproc/dasel/Makefile (+40 lines)
Line 0 Link Here
1
# $FreeBSD$
2
3
PORTNAME=	dasel
4
DISTVERSIONPREFIX=	v
5
DISTVERSION=	1.2.0
6
CATEGORIES=	textproc
7
8
MAINTAINER=	vulcan@wired.sh
9
COMMENT=	Query and update data structures from the command line
10
11
LICENSE=	MIT
12
LICENSE_FILE=	${WRKSRC}/LICENSE
13
14
USES=		go:modules
15
USE_GITHUB=	yes
16
GH_ACCOUNT=	tomwright
17
GH_TUPLE=	clbanning:mxj:v2.3.2:clbanning_mxj_v2/vendor/github.com/clbanning/mxj/v2 \
18
		go-yaml:yaml:v2.2.2:go_yaml_yaml/vendor/gopkg.in/yaml.v2 \
19
		inconshreveable:mousetrap:v1.0.0:inconshreveable_mousetrap/vendor/github.com/inconshreveable/mousetrap \
20
		pelletier:go-toml:v1.8.1:pelletier_go_toml/vendor/github.com/pelletier/go-toml \
21
		spf13:cobra:v1.0.0:spf13_cobra/vendor/github.com/spf13/cobra \
22
		spf13:pflag:v1.0.3:spf13_pflag/vendor/github.com/spf13/pflag
23
24
_BUILD_VERSION=	${DISTVERSION}
25
26
GO_TARGET=	./cmd/${PORTNAME}
27
GO_BUILDFLAGS=	-ldflags "\
28
		-s -w \
29
		-X github.com/${GH_ACCOUNT}/${GH_PROJECT}/internal.Version=${_BUILD_VERSION}"
30
31
PLIST_FILES=	bin/${PORTNAME}
32
PORTDOCS=	CODE_OF_CONDUCT.md README.md
33
34
OPTIONS_DEFINE=	DOCS
35
36
post-install-DOCS-on:
37
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
38
	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
39
40
.include <bsd.port.mk>
(-)textproc/dasel/distinfo (+15 lines)
Line 0 Link Here
1
TIMESTAMP = 1604835800
2
SHA256 (tomwright-dasel-v1.2.0_GH0.tar.gz) = b6bcf1045f976ecd95af5c8245c59644940b7f73bca0e84f3c228ae0d977346c
3
SIZE (tomwright-dasel-v1.2.0_GH0.tar.gz) = 2668909
4
SHA256 (clbanning-mxj-v2.3.2_GH0.tar.gz) = ee669332b5f66cce00ae2a894b958c20aa48706e7d0c1df0fe90b1511fdaff0a
5
SIZE (clbanning-mxj-v2.3.2_GH0.tar.gz) = 1094734
6
SHA256 (go-yaml-yaml-v2.2.2_GH0.tar.gz) = 42c3e4ef9eca2860d22b3c6c5582c6c13fb4b417e5ebc1acc56ee5e2c4ddcaff
7
SIZE (go-yaml-yaml-v2.2.2_GH0.tar.gz) = 70656
8
SHA256 (inconshreveable-mousetrap-v1.0.0_GH0.tar.gz) = 5edc7731c819c305623568e317aa253d342be3447def97f1fa9e10eb5ad819f6
9
SIZE (inconshreveable-mousetrap-v1.0.0_GH0.tar.gz) = 2290
10
SHA256 (pelletier-go-toml-v1.8.1_GH0.tar.gz) = 837b8407fb401deff36961ce32498a1145c5ef4bad0b0060a25e632c14621941
11
SIZE (pelletier-go-toml-v1.8.1_GH0.tar.gz) = 98819
12
SHA256 (spf13-cobra-v1.0.0_GH0.tar.gz) = 58dbfe1b4dbc6751575e94d1e62d073098e0b41790bc1c7a7a95ec6b870ac697
13
SIZE (spf13-cobra-v1.0.0_GH0.tar.gz) = 128897
14
SHA256 (spf13-pflag-v1.0.3_GH0.tar.gz) = 9e57f86f493f04d9077fccd04e7139ebf243dd544e917ab83d35729b3e54a124
15
SIZE (spf13-pflag-v1.0.3_GH0.tar.gz) = 46002
(-)textproc/dasel/pkg-descr (+9 lines)
Line 0 Link Here
1
Dasel (short for data-selector) allows
2
you to query and modify data structures
3
using selector strings.
4
5
Comparable to jq / yq, but supports JSON,
6
YAML, TOML and XML with zero runtime
7
dependencies.
8
9
WWW: https://github.com/TomWright/dasel

Return to bug 250946