blob: bfb7b8e067b07b20ce4263abccc667f13eb7aff5 (
plain)
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
|
PORTNAME= git-chglog
DISTVERSIONPREFIX= v
DISTVERSION= 0.14.0
CATEGORIES= textproc
MAINTAINER= lcook@FreeBSD.org
COMMENT= CHANGELOG generator implemented in Go
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= git:devel/git
USES= go:modules
USE_GITHUB= yes
GH_ACCOUNT= ${PORTNAME}
GH_TUPLE= AlecAivazis:survey:v2.2.9:alecaivazis_survey_v2/vendor/github.com/AlecAivazis/survey/v2 \
Masterminds:goutils:v1.1.1:masterminds_goutils/vendor/github.com/Masterminds/goutils \
Masterminds:semver:v3.1.1:masterminds_semver_v3/vendor/github.com/Masterminds/semver/v3 \
Masterminds:sprig:v3.2.2:masterminds_sprig_v3/vendor/github.com/Masterminds/sprig/v3 \
andygrunwald:go-jira:v1.13.0:andygrunwald_go_jira/vendor/github.com/andygrunwald/go-jira \
coreos:go-semver:v0.3.0:coreos_go_semver/vendor/github.com/coreos/go-semver \
cpuguy83:go-md2man:f79a8a8ca69d:cpuguy83_go_md2man_v2/vendor/github.com/cpuguy83/go-md2man/v2 \
davecgh:go-spew:v1.1.1:davecgh_go_spew/vendor/github.com/davecgh/go-spew \
dgrijalva:jwt-go:v3.2.0:dgrijalva_jwt_go/vendor/github.com/dgrijalva/jwt-go \
fatih:color:v1.10.0:fatih_color/vendor/github.com/fatih/color \
fatih:structs:v1.0.0:fatih_structs/vendor/github.com/fatih/structs \
go-yaml:yaml:9f266ea9e77c:go_yaml_yaml_1/vendor/gopkg.in/yaml.v3 \
go-yaml:yaml:v2.4.0:go_yaml_yaml/vendor/gopkg.in/yaml.v2 \
golang:crypto:0848c9571904:golang_crypto/vendor/golang.org/x/crypto \
golang:sys:d5e6a3e2c0ae:golang_sys/vendor/golang.org/x/sys \
golang:text:v0.3.0:golang_text/vendor/golang.org/x/text \
google:go-querystring:53e6ce116135:google_go_querystring/vendor/github.com/google/go-querystring \
google:uuid:v1.1.1:google_uuid/vendor/github.com/google/uuid \
huandu:xstrings:v1.3.1:huandu_xstrings/vendor/github.com/huandu/xstrings \
imdario:mergo:v0.3.12:imdario_mergo/vendor/github.com/imdario/mergo \
kballard:go-shellquote:95032a82bc51:kballard_go_shellquote/vendor/github.com/kballard/go-shellquote \
kyokomi:emoji:v2.2.8:kyokomi_emoji_v2/vendor/github.com/kyokomi/emoji/v2 \
mattn:go-colorable:v0.1.8:mattn_go_colorable/vendor/github.com/mattn/go-colorable \
mattn:go-isatty:v0.0.12:mattn_go_isatty/vendor/github.com/mattn/go-isatty \
mgutz:ansi:9520e82c474b:mgutz_ansi/vendor/github.com/mgutz/ansi \
mitchellh:copystructure:v1.0.0:mitchellh_copystructure/vendor/github.com/mitchellh/copystructure \
mitchellh:reflectwalk:v1.0.0:mitchellh_reflectwalk/vendor/github.com/mitchellh/reflectwalk \
pkg:errors:v0.8.0:pkg_errors/vendor/github.com/pkg/errors \
pmezard:go-difflib:v1.0.0:pmezard_go_difflib/vendor/github.com/pmezard/go-difflib \
russross:blackfriday:v2.0.1:russross_blackfriday_v2/vendor/github.com/russross/blackfriday/v2 \
shopspring:decimal:v1.2.0:shopspring_decimal/vendor/github.com/shopspring/decimal \
shurcooL:sanitized_anchor_name:v1.0.0:shurcool_sanitized_anchor_name/vendor/github.com/shurcooL/sanitized_anchor_name \
spf13:cast:v1.3.1:spf13_cast/vendor/github.com/spf13/cast \
stretchr:testify:v1.7.0:stretchr_testify/vendor/github.com/stretchr/testify \
trivago:tgo:v1.0.1:trivago_tgo/vendor/github.com/trivago/tgo \
tsuyoshiwada:go-gitcmd:5f1f5f9475df:tsuyoshiwada_go_gitcmd/vendor/github.com/tsuyoshiwada/go-gitcmd \
urfave:cli:v2.3.0:urfave_cli_v2/vendor/github.com/urfave/cli/v2
_BUILD_VERSION= ${DISTVERSIONFULL}
GO_TARGET= ./cmd/${PORTNAME}
GO_BUILDFLAGS= -ldflags "\
-s -w \
-X main.version=${_BUILD_VERSION}"
PLIST_FILES= bin/${PORTNAME}
PORTDOCS= CHANGELOG.md CONTRIBUTING.md README.md
_EXAMPLES= .chglog/CHANGELOG.tpl.md .chglog/config.yml
PORTEXAMPLES= ${_EXAMPLES:T}
OPTIONS_DEFINE= DOCS EXAMPLES
EXAMPLES_DESC= Install example template format and configuration
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${_EXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>
|