1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00
freebsd-ports/sysutils/coreos-ct/Makefile
2023-04-08 10:13:25 -05:00

33 lines
777 B
Makefile

PORTNAME= coreos-ct
PORTVERSION= 0.9.0
DISTVERSIONPREFIX= v
PORTREVISION= 12
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>