blob: 7177ecf45e2513168a3c05d05b4fbbf4413708b7 (
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
|
PORTNAME= coreos-ct
PORTVERSION= 0.9.0
DISTVERSIONPREFIX= v
PORTREVISION= 11
CATEGORIES= sysutils
MAINTAINER= fabian.freyer@physik.tu-berlin.de
COMMENT= Container Linux Config Transpiler
WWW= https://coreos.com/os/docs/latest/overview-of-ct.html
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= go
USE_GITHUB= yes
GH_ACCOUNT= coreos
GH_PROJECT= container-linux-config-transpiler
GO_PKGNAME= github.com/${GH_ACCOUNT}/${GH_PROJECT}
GO_BUILDFLAGS= -ldflags "-w -X github.com/${GH_ACCOUNT}/${GH_PROJECT}/internal/version.Raw=${PORTVERSION}"
GO_TARGET= ./internal:ct
OPTIONS_DEFINE= DOCS
PORTDOCS= README.md NEWS doc/*
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|