From owner-svn-ports-all@freebsd.org Sun Nov 20 20:21:23 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AFCC8C4CE44; Sun, 20 Nov 2016 20:21:23 +0000 (UTC) (envelope-from dumbbell@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::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 85A77769; Sun, 20 Nov 2016 20:21:23 +0000 (UTC) (envelope-from dumbbell@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id uAKKLMTL049976; Sun, 20 Nov 2016 20:21:22 GMT (envelope-from dumbbell@FreeBSD.org) Received: (from dumbbell@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uAKKLM2t049974; Sun, 20 Nov 2016 20:21:22 GMT (envelope-from dumbbell@FreeBSD.org) Message-Id: <201611202021.uAKKLM2t049974@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dumbbell set sender to dumbbell@FreeBSD.org using -f From: =?UTF-8?Q?Jean-S=c3=a9bastien_P=c3=a9dron?= Date: Sun, 20 Nov 2016 20:21:22 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r426621 - in head/net/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.23 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: Sun, 20 Nov 2016 20:21:23 -0000 Author: dumbbell (src committer) Date: Sun Nov 20 20:21:22 2016 New Revision: 426621 URL: https://svnweb.freebsd.org/changeset/ports/426621 Log: net/cf: Update to 6.22.2 The port is also converted to USES=go, which greatly simplifies it. Approved by: ci Differential Revision: https://reviews.freebsd.org/D7740 Deleted: head/net/cf/files/ Modified: head/net/cf/Makefile head/net/cf/distinfo Modified: head/net/cf/Makefile ============================================================================== --- head/net/cf/Makefile Sun Nov 20 20:19:51 2016 (r426620) +++ head/net/cf/Makefile Sun Nov 20 20:21:22 2016 (r426621) @@ -1,49 +1,37 @@ # $FreeBSD$ PORTNAME= cf -PORTVERSION= 6.12.2 +PORTVERSION= 6.22.2 DISTVERSIONPREFIX= v CATEGORIES= net MAINTAINER= swills@FreeBSD.org COMMENT= CLI for Cloud Foundry written in Go -BUILD_DEPENDS= ${LOCALBASE}/bin/go:lang/go \ - ${LOCALBASE}/bin/go-bindata:devel/go-bindata +LICENSE= APACHE20 + +BUILD_DEPENDS= ${LOCALBASE}/bin/go-bindata:devel/go-bindata USE_GITHUB= yes GH_ACCOUNT= cloudfoundry GH_PROJECT= cli +USES= go +GO_PKGNAME= code.cloudfoundry.org/cli + PLIST_FILES= bin/cf -PORTDOCS= BUILDING.md CHANGELOG.md INSTALL.md LICENSE README.md VERSION +PORTDOCS= CHANGELOG.md LICENSE NOTICE README.md STRIP= # stripping can break go binaries OPTIONS_DEFINE= DOCS 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/ + @${REINPLACE_CMD} \ + -e "s/BUILT_FROM_SOURCE/${PORTVERSION}/g" \ + ${WRKSRC}/cf/app_constants.go + @: ${LN} -s ../.. ${WRKSRC}/vendor/code.cloudfoundry.org/cli do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} @@ -51,4 +39,7 @@ do-install-DOCS-on: ${INSTALL_MAN} ${WRKSRC}/${x} ${STAGEDIR}${DOCSDIR} .endfor +post-install: + ${MV} ${STAGEDIR}${PREFIX}/bin/cli ${STAGEDIR}${PREFIX}/bin/cf + .include Modified: head/net/cf/distinfo ============================================================================== --- head/net/cf/distinfo Sun Nov 20 20:19:51 2016 (r426620) +++ head/net/cf/distinfo Sun Nov 20 20:21:22 2016 (r426621) @@ -1,2 +1,3 @@ -SHA256 (cloudfoundry-cli-v6.12.2_GH0.tar.gz) = caa601410ff8b98b15e59171e042c88c09835d668b48560dde19c7a0e0ebc3fb -SIZE (cloudfoundry-cli-v6.12.2_GH0.tar.gz) = 2292064 +TIMESTAMP = 1479575472 +SHA256 (cloudfoundry-cli-v6.22.2_GH0.tar.gz) = fa5254a6e7197d9de86f3f9e1084d1f51f04cfa201b27c85b467a3320dbecda6 +SIZE (cloudfoundry-cli-v6.22.2_GH0.tar.gz) = 5399810