Lines 1-7
Link Here
|
1 |
# $FreeBSD$ |
1 |
# $FreeBSD$ |
2 |
|
2 |
|
3 |
PORTNAME= git-chglog |
3 |
PORTNAME= git-chglog |
4 |
DISTVERSION= 0.9.1 |
4 |
DISTVERSIONPREFIX= v |
|
|
5 |
DISTVERSION= 0.10.0 |
5 |
CATEGORIES= textproc |
6 |
CATEGORIES= textproc |
6 |
|
7 |
|
7 |
MAINTAINER= vulcan@wired.sh |
8 |
MAINTAINER= vulcan@wired.sh |
Lines 12-33
Link Here
|
12 |
|
13 |
|
13 |
RUN_DEPENDS= git:devel/git |
14 |
RUN_DEPENDS= git:devel/git |
14 |
|
15 |
|
15 |
USES= go |
16 |
USES= go:modules |
16 |
USE_GITHUB= yes |
17 |
USE_GITHUB= yes |
17 |
GH_ACCOUNT= ${PORTNAME} |
18 |
GH_ACCOUNT= ${PORTNAME} |
|
|
19 |
GH_TUPLE= AlecAivazis:survey:v1.8.8:alecaivazis_survey/vendor/gopkg.in/AlecAivazis/survey.v1 \ |
20 |
cpuguy83:go-md2man:f79a8a8ca69d:cpuguy83_go_md2man_v2/vendor/github.com/cpuguy83/go-md2man/v2 \ |
21 |
davecgh:go-spew:v1.1.1:davecgh_go_spew/vendor/github.com/davecgh/go-spew \ |
22 |
fatih:color:v1.10.0:fatih_color/vendor/github.com/fatih/color \ |
23 |
go-yaml:yaml:9f266ea9e77c:go_yaml_yaml_1/vendor/gopkg.in/yaml.v3 \ |
24 |
go-yaml:yaml:v2.4.0:go_yaml_yaml/vendor/gopkg.in/yaml.v2 \ |
25 |
golang:sys:d5e6a3e2c0ae:golang_sys/vendor/golang.org/x/sys \ |
26 |
imdario:mergo:v0.3.11:imdario_mergo/vendor/github.com/imdario/mergo \ |
27 |
kballard:go-shellquote:95032a82bc51:kballard_go_shellquote/vendor/github.com/kballard/go-shellquote \ |
28 |
kyokomi:emoji:v1.5.1:kyokomi_emoji/vendor/gopkg.in/kyokomi/emoji.v1 \ |
29 |
mattn:go-colorable:v0.1.8:mattn_go_colorable/vendor/github.com/mattn/go-colorable \ |
30 |
mattn:go-isatty:v0.0.12:mattn_go_isatty/vendor/github.com/mattn/go-isatty \ |
31 |
mgutz:ansi:9520e82c474b:mgutz_ansi/vendor/github.com/mgutz/ansi \ |
32 |
pmezard:go-difflib:v1.0.0:pmezard_go_difflib/vendor/github.com/pmezard/go-difflib \ |
33 |
russross:blackfriday:v2.0.1:russross_blackfriday_v2/vendor/github.com/russross/blackfriday/v2 \ |
34 |
shurcooL:sanitized_anchor_name:v1.0.0:shurcool_sanitized_anchor_name/vendor/github.com/shurcooL/sanitized_anchor_name \ |
35 |
stretchr:testify:v1.6.1:stretchr_testify/vendor/github.com/stretchr/testify \ |
36 |
tsuyoshiwada:go-gitcmd:5f1f5f9475df:tsuyoshiwada_go_gitcmd/vendor/github.com/tsuyoshiwada/go-gitcmd \ |
37 |
urfave:cli:v1.22.5:urfave_cli/vendor/github.com/urfave/cli |
18 |
|
38 |
|
19 |
GO_PKGNAME= github.com/${GH_ACCOUNT}/${GH_PROJECT} |
|
|
20 |
GO_TARGET= ./cmd/${PORTNAME} |
39 |
GO_TARGET= ./cmd/${PORTNAME} |
21 |
|
40 |
|
22 |
PLIST_FILES= bin/${PORTNAME} |
41 |
PLIST_FILES= bin/${PORTNAME} |
23 |
PORTDOCS= CHANGELOG.md CONTRIBUTING.md README.md |
42 |
PORTDOCS= CHANGELOG.md CONTRIBUTING.md README.md |
24 |
PORTEXAMPLES= ${EXAMPLES:T} |
43 |
_EXAMPLES= .chglog/CHANGELOG.tpl.md .chglog/config.yml |
|
|
44 |
PORTEXAMPLES= ${_EXAMPLES:T} |
25 |
|
45 |
|
26 |
OPTIONS_DEFINE= DOCS EXAMPLES |
46 |
OPTIONS_DEFINE= DOCS EXAMPLES |
27 |
EXAMPLES_DESC= Install example template format and configuration |
47 |
EXAMPLES_DESC= Install example template format and configuration |
28 |
|
48 |
|
29 |
EXAMPLES= .chglog/CHANGELOG.tpl.md .chglog/config.yml |
|
|
30 |
|
31 |
post-install-DOCS-on: |
49 |
post-install-DOCS-on: |
32 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
50 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
33 |
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} |
51 |
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} |
Lines 34-39
Link Here
|
34 |
|
52 |
|
35 |
post-install-EXAMPLES-on: |
53 |
post-install-EXAMPLES-on: |
36 |
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR} |
54 |
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR} |
37 |
cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${STAGEDIR}${EXAMPLESDIR} |
55 |
cd ${WRKSRC} && ${INSTALL_DATA} ${_EXAMPLES} ${STAGEDIR}${EXAMPLESDIR} |
38 |
|
56 |
|
39 |
.include <bsd.port.mk> |
57 |
.include <bsd.port.mk> |