aboutsummaryrefslogblamecommitdiff
path: root/textproc/spiff/Makefile
blob: ae1680bd6dcad3673bc3a3f66cd5016ca2525b98 (plain) (tree)
1
2
3
4
5
6
7
8
9
                     
                     
                         
                  



                                                                                      
                                                               
 
                  


                                      
 

                                                      




                                                                 

                    
                   
                                      


                                                                        

                      
PORTNAME=	spiff
PORTVERSION=	1.0.8
DISTVERSIONPREFIX=	v
PORTREVISION=	13
CATEGORIES=	textproc

MAINTAINER=	swills@FreeBSD.org
COMMENT=	Declarative YAML templating system tuned for BOSH deployment manifests
WWW=		https://github.com/cloudfoundry-incubator/spiff

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>