freebsd-ports/textproc/spiff/Makefile
Dmitri Goutnik fc95b3f0cf Go ports: cleanup, finish transition to USES=go started with r505321 (cat. sysutils-x11)
- Remove custom build/install targets left in place after r505321
- Switch to the new GO_TARGET tuple syntax introduced in r512001

Reviewed by:	tobik
Approved by:	araujo (mentor), portmgr (adamw)
Differential Revision:	https://reviews.freebsd.org/D21744
2019-09-29 22:34:31 +00:00

31 lines
725 B
Makefile

# $FreeBSD$
PORTNAME= spiff
PORTVERSION= 1.0.8
DISTVERSIONPREFIX= v
CATEGORIES= textproc
MAINTAINER= swills@FreeBSD.org
COMMENT= Declarative YAML templating system tuned for BOSH deployment manifests
USES= go
USE_GITHUB= yes
GH_ACCOUNT= cloudfoundry-incubator
GO_PKGNAME= github.com/${GH_ACCOUNT}/${GH_PROJECT}
PLIST_FILES= bin/spiff
PORTDOCS= LICENSE README.md examples/cf-aws.yml \
examples/multi-az-cf-aws.yml examples/tutorial.md
OPTIONS_DEFINE= DOCS
do-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/LICENSE ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${COPYTREE_SHARE} examples ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>