From owner-svn-ports-all@FreeBSD.ORG Wed May 6 18:28:27 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 68D0FAB1; Wed, 6 May 2015 18:28:27 +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 566AD1B01; Wed, 6 May 2015 18:28:27 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t46ISRuQ053082; Wed, 6 May 2015 18:28:27 GMT (envelope-from swills@FreeBSD.org) Received: (from swills@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t46ISQ41053072; Wed, 6 May 2015 18:28:26 GMT (envelope-from swills@FreeBSD.org) Message-Id: <201505061828.t46ISQ41053072@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 18:28:26 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r385538 - in head/net: . cf cf/files 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 18:28:27 -0000 Author: swills Date: Wed May 6 18:28:25 2015 New Revision: 385538 URL: https://svnweb.freebsd.org/changeset/ports/385538 Log: net/cf: add port The official command line client for Cloud Foundry. WWW: http://cloudfoundry.org/ Added: head/net/cf/ head/net/cf/Makefile (contents, props changed) head/net/cf/distinfo (contents, props changed) head/net/cf/files/ head/net/cf/files/patch-cf_app_app.go (contents, props changed) head/net/cf/pkg-descr (contents, props changed) Modified: head/net/Makefile Modified: head/net/Makefile ============================================================================== --- head/net/Makefile Wed May 6 18:20:42 2015 (r385537) +++ head/net/Makefile Wed May 6 18:28:25 2015 (r385538) @@ -64,6 +64,7 @@ SUBDIR += c3270 SUBDIR += cagibi SUBDIR += ccxstream + SUBDIR += cf SUBDIR += chrony SUBDIR += citrix_ica SUBDIR += clamz Added: head/net/cf/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/cf/Makefile Wed May 6 18:28:25 2015 (r385538) @@ -0,0 +1,56 @@ +# $FreeBSD$ + +PORTNAME= cf +PORTVERSION= 6.11.2 +DISTVERSIONPREFIX= v +CATEGORIES= net + +MAINTAINER= swills@FreeBSD.org +COMMENT= CLI for Cloud Foundry written in Go + +BUILD_DEPENDS= ${LOCALBASE}/bin/go:${PORTSDIR}/lang/go \ + ${LOCALBASE}/bin/go-bindata:${PORTSDIR}/devel/go-bindata + +USE_GITHUB= yes +GH_ACCOUNT= cloudfoundry +GH_PROJECT= cli + +PLIST_FILES= bin/cf + +PORTDOCS= BUILDING.md CHANGELOG.md INSTALL.md LICENSE README.md VERSION + +STRIP= # stripping can break go binaries + +OPTIONS_DEFINE= DOCS + +.include + +post-patch: + @${REINPLACE_CMD} -e "s/BUILT_FROM_SOURCE/${PORTVERSION}/g" ${WRKSRC}/cf/app_constants.go + @cd ${WRKSRC} ; ${MKDIR} Godeps/_workspace/src/github.com/${GH_ACCOUNT}/${GH_PROJECT} ; \ + ${CP} -R .gitignore .travis.yml BUILDING.md CHANGELOG.md \ + INSTALL.md LICENSE README.md VERSION bin cf \ + cf_commands_excluded.json ci excluded.json fileutils fixtures \ + flags generic glob installers json main makefile plugin \ + plugin_examples release testhelpers utils words \ + Godeps/_workspace/src/github.com/${GH_ACCOUNT}/${GH_PROJECT} + +do-build: + cd ${WRKSRC}/Godeps/_workspace/src/github.com/${GH_ACCOUNT}/${GH_PROJECT} ; \ + ${SETENV} GOPATH=${WRKSRC}/Godeps/_workspace go-bindata -pkg \ + resources -o cf/resources/i18n_resources.go \ + cf/i18n/resources/... cf/i18n/test_fixtures/... + cd ${WRKSRC} ; \ + ${SETENV} GOPATH=${WRKSRC}/Godeps/_workspace go build -o out/cf ./main + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/out/cf \ + ${STAGEDIR}${PREFIX}/bin/ +.if ${PORT_OPTIONS:MDOCS} + ${MKDIR} ${STAGEDIR}${DOCSDIR} +.for x in ${PORTDOCS} + ${INSTALL_MAN} ${WRKSRC}/${x} ${STAGEDIR}${DOCSDIR} +.endfor +.endif + +.include Added: head/net/cf/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/cf/distinfo Wed May 6 18:28:25 2015 (r385538) @@ -0,0 +1,2 @@ +SHA256 (cloudfoundry-cli-v6.11.2_GH0.tar.gz) = 1c6ad0b18adc631fa4dd1ea3b91bf8103586db7620bc41be1099e9e1c21e0bbb +SIZE (cloudfoundry-cli-v6.11.2_GH0.tar.gz) = 2228133 Added: head/net/cf/files/patch-cf_app_app.go ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/cf/files/patch-cf_app_app.go Wed May 6 18:28:25 2015 (r385538) @@ -0,0 +1,11 @@ +--- cf/app/app.go.orig 2015-04-29 12:36:58.960111000 +0000 ++++ cf/app/app.go 2015-04-29 12:37:20.199807000 +0000 +@@ -98,7 +98,7 @@ + {{.Version}} + + {{.Title "` + T("BUILD TIME:") + `"}} +- {{.Compiled}} ++ BUILT_AT_UNKNOWN_TIME + {{range .Commands}} + {{.SubTitle .Name}}{{range .CommandSubGroups}} + {{range .}} {{.Name}} {{.Description}} Added: head/net/cf/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/cf/pkg-descr Wed May 6 18:28:25 2015 (r385538) @@ -0,0 +1,3 @@ +The official command line client for Cloud Foundry. + +WWW: http://cloudfoundry.org/