aboutsummaryrefslogtreecommitdiff
path: root/textproc/go-yq/Makefile
blob: 8133091499fb1e3d201ff13d4ebb46a6f4a9635e (plain) (blame)
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
37
38
39
40
41
42
43
44
# Created by: Pavel Timofeev <timp87@gmail.com>

PORTNAME=	go-yq
DISTVERSIONPREFIX=	v
DISTVERSION=	4.16.2
PORTREVISION=	1
CATEGORIES=	textproc

MAINTAINER=	timp87@gmail.com
COMMENT=	Portable commandline YAML processor written in go

LICENSE=	MIT

USES=		go:modules
USE_GITHUB=	yes
GH_ACCOUNT=	mikefarah
GH_PROJECT=	yq

GH_TUPLE=	\
		elliotchance:orderedmap:v1.4.0:elliotchance_orderedmap/vendor/github.com/elliotchance/orderedmap \
		fatih:color:v1.13.0:fatih_color/vendor/github.com/fatih/color \
		go-yaml:yaml:496545a6307b:go_yaml_yaml/vendor/gopkg.in/yaml.v3 \
		goccy:go-yaml:v1.9.4:goccy_go_yaml/vendor/github.com/goccy/go-yaml \
		golang:sys:97ca703d548d:golang_sys/vendor/golang.org/x/sys \
		golang:xerrors:5ec99f83aff1:golang_xerrors/vendor/golang.org/x/xerrors \
		inconshreveable:mousetrap:v1.0.0:inconshreveable_mousetrap/vendor/github.com/inconshreveable/mousetrap \
		jinzhu:copier:v0.3.4:jinzhu_copier/vendor/github.com/jinzhu/copier \
		magiconair:properties:v1.8.5:magiconair_properties/vendor/github.com/magiconair/properties \
		mattn:go-colorable:v0.1.12:mattn_go_colorable/vendor/github.com/mattn/go-colorable \
		mattn:go-isatty:v0.0.14:mattn_go_isatty/vendor/github.com/mattn/go-isatty \
		op:go-logging:b2cb9fa56473:op_go_logging/vendor/gopkg.in/op/go-logging.v1 \
		spf13:cobra:v1.3.0:spf13_cobra/vendor/github.com/spf13/cobra \
		spf13:pflag:v1.0.5:spf13_pflag/vendor/github.com/spf13/pflag \
		timtadh:data-structures:v0.5.3:timtadh_data_structures/vendor/github.com/timtadh/data-structures \
		timtadh:lexmachine:v0.2.2:timtadh_lexmachine/vendor/github.com/timtadh/lexmachine

CONFLICTS_INSTALL=	yq

do-install:
	${INSTALL_PROGRAM} ${WRKDIR}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${GH_PROJECT}

PLIST_FILES=	bin/${GH_PROJECT}

.include <bsd.port.mk>