Line 0
Link Here
|
|
|
1 |
# $FreeBSD$ |
2 |
|
3 |
PORTNAME= git-chglog |
4 |
DISTVERSION= 0.9.1 |
5 |
CATEGORIES= textproc |
6 |
|
7 |
MAINTAINER= vulcan@wired.sh |
8 |
COMMENT= CHANGELOG generator implemented in Go |
9 |
|
10 |
LICENSE= MIT |
11 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
12 |
|
13 |
RUN_DEPENDS= git:devel/git |
14 |
|
15 |
USES= go |
16 |
USE_GITHUB= yes |
17 |
GH_ACCOUNT= ${PORTNAME} |
18 |
|
19 |
GO_PKGNAME= github.com/${GH_ACCOUNT}/${GH_PROJECT} |
20 |
GO_TARGET= ./cmd/${PORTNAME} |
21 |
|
22 |
PLIST_FILES= bin/${PORTNAME} |
23 |
PORTDOCS= CHANGELOG.md CONTRIBUTING.md README.md |
24 |
PORTEXAMPLES= ${EXAMPLES:T} |
25 |
|
26 |
OPTIONS_DEFINE= DOCS EXAMPLES |
27 |
EXAMPLES_DESC= Install example template format and configuration |
28 |
|
29 |
EXAMPLES= .chglog/CHANGELOG.tpl.md .chglog/config.yml |
30 |
|
31 |
post-install-DOCS-on: |
32 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
33 |
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} |
34 |
|
35 |
post-install-EXAMPLES-on: |
36 |
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR} |
37 |
cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${STAGEDIR}${EXAMPLESDIR} |
38 |
|
39 |
.include <bsd.port.mk> |