From owner-svn-ports-all@FreeBSD.ORG Wed May 6 17:42:42 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 23152ABA; Wed, 6 May 2015 17:42:42 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 10A8815F0; Wed, 6 May 2015 17:42:42 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t46HgfPt030984; Wed, 6 May 2015 17:42:41 GMT (envelope-from swills@FreeBSD.org) Received: (from swills@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t46Hgfdl030980; Wed, 6 May 2015 17:42:41 GMT (envelope-from swills@FreeBSD.org) Message-Id: <201505061742.t46Hgfdl030980@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: swills set sender to swills@FreeBSD.org using -f From: Steve Wills Date: Wed, 6 May 2015 17:42:41 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r385531 - in head/textproc: . spiff X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 May 2015 17:42:42 -0000 Author: swills Date: Wed May 6 17:42:40 2015 New Revision: 385531 URL: https://svnweb.freebsd.org/changeset/ports/385531 Log: textproc/spiff: add port A declarative YAML templating system tuned for BOSH deployment manifests. WWW: https://github.com/cloudfoundry-incubator/spiff Added: head/textproc/spiff/ head/textproc/spiff/Makefile (contents, props changed) head/textproc/spiff/distinfo (contents, props changed) head/textproc/spiff/pkg-descr (contents, props changed) Modified: head/textproc/Makefile Modified: head/textproc/Makefile ============================================================================== --- head/textproc/Makefile Wed May 6 17:36:04 2015 (r385530) +++ head/textproc/Makefile Wed May 6 17:42:40 2015 (r385531) @@ -1459,6 +1459,7 @@ SUBDIR += source-highlight SUBDIR += sowing SUBDIR += spellutils + SUBDIR += spiff SUBDIR += sphinxsearch SUBDIR += sphinxsearch-devel SUBDIR += sq-hunspell Added: head/textproc/spiff/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/spiff/Makefile Wed May 6 17:42:40 2015 (r385531) @@ -0,0 +1,55 @@ +# $FreeBSD$ + +PORTNAME= spiff +PORTVERSION= 1.0.6 +DISTVERSIONPREFIX= v +CATEGORIES= textproc + +MAINTAINER= swills@FreeBSD.org +COMMENT= Declarative YAML templating system tuned for BOSH deployment manifests + +BUILD_DEPENDS= ${LOCALBASE}/bin/go:${PORTSDIR}/lang/go + +USE_GITHUB= yes +GH_ACCOUNT= cloudfoundry-incubator +GH_PROJECT= spiff + +PLIST_FILES= bin/spiff + +PORTDOCS= LICENSE README.md examples/cf-aws.yml \ + examples/multi-az-cf-aws.yml examples/tutorial.md + +STRIP= # stripping can break go binaries + +OPTIONS_DEFINE= DOCS + +.include + +post-patch: + @cd ${WRKSRC} ; ${MKDIR} src/github.com/${GH_ACCOUNT}/${GH_PROJECT} ; \ + ${MV} .gitignore .travis.yml Godeps LICENSE Makefile README.md \ + compare dynaml examples flow init_test.go scripts spiff.go \ + spiff_test.go yaml \ + src/github.com/${GH_ACCOUNT}/${GH_PROJECT} + @${MV} ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT}/Godeps/_workspace/src/github.com/${GH_ACCOUNT}/candiedyaml \ + ${WRKSRC}/src/github.com/${GH_ACCOUNT} + @${MV} ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT}/Godeps/_workspace/src/github.com/codegangsta \ + ${WRKSRC}/src/github.com + +do-build: + @cd ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT} ; \ + ${SETENV} GOPATH=${WRKSRC} go build spiff.go + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT}/${PORTNAME} \ + ${STAGEDIR}${PREFIX}/bin/ +.if ${PORT_OPTIONS:MDOCS} + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${CP} ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT}/LICENSE \ + ${STAGEDIR}${DOCSDIR} + ${CP} ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT}/README.md \ + ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT} && ${COPYTREE_SHARE} examples ${STAGEDIR}${DOCSDIR} +.endif + +.include Added: head/textproc/spiff/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/spiff/distinfo Wed May 6 17:42:40 2015 (r385531) @@ -0,0 +1,2 @@ +SHA256 (cloudfoundry-incubator-spiff-v1.0.6_GH0.tar.gz) = b63437485708b4df5e2515276bb0080b565959f7d82799d85e16e20323fb9617 +SIZE (cloudfoundry-incubator-spiff-v1.0.6_GH0.tar.gz) = 280939 Added: head/textproc/spiff/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/spiff/pkg-descr Wed May 6 17:42:40 2015 (r385531) @@ -0,0 +1,3 @@ +A declarative YAML templating system tuned for BOSH deployment manifests. + +WWW: https://github.com/cloudfoundry-incubator/spiff