From owner-svn-ports-head@FreeBSD.ORG Fri Jun 12 02:28:58 2015 Return-Path: Delivered-To: svn-ports-head@hub.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 7DBD99E1; Fri, 12 Jun 2015 02:28:58 +0000 (UTC) (envelope-from swills@FreeBSD.org) 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 6B4151930; Fri, 12 Jun 2015 02:28:58 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t5C2Swvd065575; Fri, 12 Jun 2015 02:28:58 GMT (envelope-from swills@FreeBSD.org) Received: (from swills@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t5C2SvDX065570; Fri, 12 Jun 2015 02:28:57 GMT (envelope-from swills@FreeBSD.org) Message-Id: <201506120228.t5C2SvDX065570@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: swills set sender to swills@FreeBSD.org using -f From: Steve Wills Date: Fri, 12 Jun 2015 02:28:57 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r389261 - in head/devel: . godep X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Jun 2015 02:28:58 -0000 Author: swills Date: Fri Jun 12 02:28:56 2015 New Revision: 389261 URL: https://svnweb.freebsd.org/changeset/ports/389261 Log: devel/godep: create port godep helps build packages reproducibly by fixing their dependencies. WWW: https://github.com/tools/godep Added: head/devel/godep/ head/devel/godep/Makefile (contents, props changed) head/devel/godep/distinfo (contents, props changed) head/devel/godep/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Fri Jun 12 02:23:33 2015 (r389260) +++ head/devel/Makefile Fri Jun 12 02:28:56 2015 (r389261) @@ -625,6 +625,7 @@ SUBDIR += go-uuid SUBDIR += gob2 SUBDIR += gobject-introspection + SUBDIR += godep SUBDIR += godot SUBDIR += goffice SUBDIR += goffice010 Added: head/devel/godep/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/godep/Makefile Fri Jun 12 02:28:56 2015 (r389261) @@ -0,0 +1,40 @@ +# $FreeBSD$ + +PORTNAME= godep +PORTVERSION= 0.0.0.2015061101 +CATEGORIES= devel + +MAINTAINER= swills@FreeBSD.org +COMMENT= Godep helps build packages reproducibly + +BUILD_DEPENDS= ${LOCALBASE}/bin/go:${PORTSDIR}/lang/go + +USE_GITHUB= yes +GH_ACCOUNT= tools:DEFAULT kr:fs golang:tools +GH_PROJECT= godep:DEFAULT fs:fs tools:tools +GH_TAGNAME= e28aafa:DEFAULT 2788f0d:fs a6d2a42:tools + +PLIST_FILES= bin/godep + +STRIP= # stripping can break go binaries + +post-patch: + @${MKDIR} ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${PORTNAME} +.for src in .gitignore License Readme.md dep.go doc.go get.go go.go main.go \ + match_test.go path.go pkg.go restore.go rewrite.go rewrite_test.go \ + save.go save_test.go update.go update_test.go util.go vcs.go + @${MV} ${WRKSRC}/${src} \ + ${WRKSRC}/src/github.com/tools/${PORTNAME} +.endfor + @${MKDIR} ${WRKSRC}/src/github.com/kr + @${MKDIR} ${WRKSRC}/src/golang.org/x + @${MV} ${WRKSRC_fs} ${WRKSRC}/src/github.com/kr/fs + @${MV} ${WRKSRC_tools} ${WRKSRC}/src/golang.org/x/tools + +do-build: + @cd ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${PORTNAME}; ${SETENV} ${BUILD_ENV} GOPATH=${WRKSRC} go build + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${PORTNAME}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + +.include Added: head/devel/godep/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/godep/distinfo Fri Jun 12 02:28:56 2015 (r389261) @@ -0,0 +1,6 @@ +SHA256 (tools-godep-0.0.0.2015061101-e28aafa_GH0.tar.gz) = a7dcdd7d7381e79e5c48f1abb44edabeed184c9c0aea3c1d58e8cafc57943fde +SIZE (tools-godep-0.0.0.2015061101-e28aafa_GH0.tar.gz) = 20441 +SHA256 (kr-fs-2788f0d_GH0.tar.gz) = 51899cf8a55f8feefcdd33c04cf5e74937319d45ce0f04aa175188573f3284c9 +SIZE (kr-fs-2788f0d_GH0.tar.gz) = 4361 +SHA256 (golang-tools-a6d2a42_GH0.tar.gz) = f46a91af2efc4ad3bbb4c8196183e1d396fefe2b33d8720c4198a5585f06780e +SIZE (golang-tools-a6d2a42_GH0.tar.gz) = 1625666 Added: head/devel/godep/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/godep/pkg-descr Fri Jun 12 02:28:56 2015 (r389261) @@ -0,0 +1,3 @@ +Godep helps build packages reproducibly by fixing their dependencies. + +WWW: https://github.com/tools/godep