From owner-svn-ports-head@freebsd.org Sat Mar 26 00:41:02 2016 Return-Path: Delivered-To: svn-ports-head@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 2CA83ADE99E; Sat, 26 Mar 2016 00:41:02 +0000 (UTC) (envelope-from brd@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 F1CBD1515; Sat, 26 Mar 2016 00:41:01 +0000 (UTC) (envelope-from brd@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u2Q0f14H062968; Sat, 26 Mar 2016 00:41:01 GMT (envelope-from brd@FreeBSD.org) Received: (from brd@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u2Q0ex4D062922; Sat, 26 Mar 2016 00:40:59 GMT (envelope-from brd@FreeBSD.org) Message-Id: <201603260040.u2Q0ex4D062922@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: brd set sender to brd@FreeBSD.org using -f From: Brad Davis Date: Sat, 26 Mar 2016 00:40:59 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r411910 - in head/devel: . rubygem-p4ruby rubygem-p4ruby/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-head@freebsd.org X-Mailman-Version: 2.1.21 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: Sat, 26 Mar 2016 00:41:02 -0000 Author: brd Date: Sat Mar 26 00:40:59 2016 New Revision: 411910 URL: https://svnweb.freebsd.org/changeset/ports/411910 Log: Add a new port: devel/rubygem-p4ruby Approved by: bdrewery (mentor) Added: head/devel/rubygem-p4ruby/ head/devel/rubygem-p4ruby/Makefile (contents, props changed) head/devel/rubygem-p4ruby/distinfo (contents, props changed) head/devel/rubygem-p4ruby/files/ head/devel/rubygem-p4ruby/files/patch-ext__P4__clientprogressruby.cpp (contents, props changed) head/devel/rubygem-p4ruby/files/patch-ext__P4__clientuserruby.cpp (contents, props changed) head/devel/rubygem-p4ruby/files/patch-ext__P4__extconf.rb (contents, props changed) head/devel/rubygem-p4ruby/files/patch-ext__P4__p4.cpp (contents, props changed) head/devel/rubygem-p4ruby/files/patch-ext__P4__p4clientapi.cpp (contents, props changed) head/devel/rubygem-p4ruby/files/patch-ext__P4__p4error.cpp (contents, props changed) head/devel/rubygem-p4ruby/files/patch-ext__P4__p4mapmaker.cpp (contents, props changed) head/devel/rubygem-p4ruby/files/patch-ext__P4__p4mergedata.cpp (contents, props changed) head/devel/rubygem-p4ruby/files/patch-ext__P4__p4result.cpp (contents, props changed) head/devel/rubygem-p4ruby/files/patch-ext__P4__p4specdata.cpp (contents, props changed) head/devel/rubygem-p4ruby/files/patch-ext__P4__specmgr.cpp (contents, props changed) head/devel/rubygem-p4ruby/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Fri Mar 25 23:30:06 2016 (r411909) +++ head/devel/Makefile Sat Mar 26 00:40:59 2016 (r411910) @@ -5012,6 +5012,7 @@ SUBDIR += rubygem-open3_backport SUBDIR += rubygem-open4 SUBDIR += rubygem-orm_adapter + SUBDIR += rubygem-p4ruby SUBDIR += rubygem-paint SUBDIR += rubygem-paperclip SUBDIR += rubygem-parser Added: head/devel/rubygem-p4ruby/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/rubygem-p4ruby/Makefile Sat Mar 26 00:40:59 2016 (r411910) @@ -0,0 +1,22 @@ +# $FreeBSD$ + +PORTNAME= p4ruby +PORTVERSION= 2015.2.1313860 +CATEGORIES= devel rubygems +MASTER_SITES= RG + +MAINTAINER= brd@FreeBSD.org +COMMENT= Ruby bindings for the Perforce API + +LICENSE= BSD2CLAUSE + +BUILD_DEPENDS+= ${LOCALBASE}/lib/perforce/libclient.a:${PORTSDIR}/devel/p4api +RUN_DEPENDS:= ${BUILD_DEPENDS} + +USE_RUBY= yes +USE_RUBYGEMS= yes +RUBYGEM_AUTOPLIST= yes + +CONFIGURE_ARGS= --with-p4api-dir=${LOCALBASE} --with-p4api-lib=${LOCALBASE}/lib/perforce + +.include Added: head/devel/rubygem-p4ruby/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/rubygem-p4ruby/distinfo Sat Mar 26 00:40:59 2016 (r411910) @@ -0,0 +1,2 @@ +SHA256 (rubygem/p4ruby-2015.2.1313860.gem) = 15151901b7d77f6b2a1c99749ebfdad14bbd58b3bac27ec239bfdbff53d9bd9b +SIZE (rubygem/p4ruby-2015.2.1313860.gem) = 57344 Added: head/devel/rubygem-p4ruby/files/patch-ext__P4__clientprogressruby.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/rubygem-p4ruby/files/patch-ext__P4__clientprogressruby.cpp Sat Mar 26 00:40:59 2016 (r411910) @@ -0,0 +1,13 @@ +--- ./ext/P4/clientprogressruby.cpp.orig 2015-02-11 21:56:41.253726893 +0000 ++++ ./ext/P4/clientprogressruby.cpp 2015-02-11 21:57:19.286226444 +0000 +@@ -39,8 +39,8 @@ + #include "gc_hack.h" + #include "extconf.h" + #include "p4utils.h" +-#include "p4/clientapi.h" +-#include "p4/clientprog.h" ++#include "perforce/clientapi.h" ++#include "perforce/clientprog.h" + #include "clientprogressruby.h" + + extern VALUE eP4; Added: head/devel/rubygem-p4ruby/files/patch-ext__P4__clientuserruby.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/rubygem-p4ruby/files/patch-ext__P4__clientuserruby.cpp Sat Mar 26 00:40:59 2016 (r411910) @@ -0,0 +1,17 @@ +--- ./ext/P4/clientuserruby.cpp.orig 2015-02-11 21:56:41.253726893 +0000 ++++ ./ext/P4/clientuserruby.cpp 2015-02-11 21:57:33.343960720 +0000 +@@ -37,10 +37,10 @@ + #include + #include + #include "undefdups.h" +-#include +-#include +-#include +-#include ++#include ++#include ++#include ++#include + #include "p4rubyconf.h" + #include "gc_hack.h" + #include "p4result.h" Added: head/devel/rubygem-p4ruby/files/patch-ext__P4__extconf.rb ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/rubygem-p4ruby/files/patch-ext__P4__extconf.rb Sat Mar 26 00:40:59 2016 (r411910) @@ -0,0 +1,44 @@ +--- ext/P4/extconf.rb.orig 2016-03-25 23:50:09.485520000 +0000 ++++ ext/P4/extconf.rb 2016-03-25 23:52:32.288698000 +0000 +@@ -354,22 +354,8 @@ + + # When running rake compile, use this instead of other options, I'm not sure how + # gem/bundler options are passed through via rake +- if ENV.has_key?('p4api_dir') +- p4api_dir = ENV['p4api_dir'] +- dir_config('p4api', "#{p4api_dir}/include", "#{p4api_dir}/lib") +- end +- +- if !p4api_dir && !with_config('p4api-dir') && enable_config('p4api-download', true) +- download_api_via_ftp +- unzip_file +- p4api_dir = downloaded_p4api_dir +- dir_config('p4api', "#{p4api_dir}/include", "#{p4api_dir}/lib") +- elsif with_config('p4api_dir') +- p4api_dir = with_config('p4api-dir') +- dir_config('p4api', "#{p4api_dir}/include", "#{p4api_dir}/lib") +- elsif !p4api_dir +- raise '--with-p4api-dir option has not been specified, and --disable-p4api-download is in effect' +- end ++ p4api_dir = with_config('p4api-dir') ++ dir_config('supp', "#{p4api_dir}/include/perforce", "#{p4api_dir}/lib/perforce") + + p4api_dir + end +@@ -569,7 +555,8 @@ + puts "$libs #{$libs}" + + # Parse the Version file into a ruby structure +-version_info = P4ApiVersion.load(p4api_dir) ++#version_info = P4ApiVersion.load(p4api_dir) ++version_info = P4ApiVersion.load("#{p4api_dir}/share/examples/p4api") + create_p4rubyconf_header(version_info, $libs) + + # This will generate a standard extconf.h based on what we discover locally. +@@ -577,4 +564,4 @@ + # don't believe we need to rely on actually. + create_header + +-create_makefile('P4') +\ No newline at end of file ++create_makefile('P4') Added: head/devel/rubygem-p4ruby/files/patch-ext__P4__p4.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/rubygem-p4ruby/files/patch-ext__P4__p4.cpp Sat Mar 26 00:40:59 2016 (r411910) @@ -0,0 +1,17 @@ +--- ./ext/P4/p4.cpp.orig 2015-02-11 21:56:41.253726893 +0000 ++++ ./ext/P4/p4.cpp 2015-02-11 21:57:38.243472610 +0000 +@@ -36,10 +36,10 @@ + ******************************************************************************/ + #include + #include "undefdups.h" +-#include +-#include +-#include +-#include ++#include ++#include ++#include ++#include + #include "p4result.h" + #include "specmgr.h" + #include "clientuserruby.h" Added: head/devel/rubygem-p4ruby/files/patch-ext__P4__p4clientapi.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/rubygem-p4ruby/files/patch-ext__P4__p4clientapi.cpp Sat Mar 26 00:40:59 2016 (r411910) @@ -0,0 +1,23 @@ +--- ./ext/P4/p4clientapi.cpp.orig 2015-02-11 21:56:41.253726893 +0000 ++++ ./ext/P4/p4clientapi.cpp 2015-02-11 21:57:42.902119989 +0000 +@@ -36,13 +36,13 @@ + ******************************************************************************/ + #include + #include "undefdups.h" +-#include +-#include +-#include +-#include +-#include +-#include +-#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include + #include "p4result.h" + #include "p4rubydebug.h" + #include "clientuserruby.h" Added: head/devel/rubygem-p4ruby/files/patch-ext__P4__p4error.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/rubygem-p4ruby/files/patch-ext__P4__p4error.cpp Sat Mar 26 00:40:59 2016 (r411910) @@ -0,0 +1,11 @@ +--- ./ext/P4/p4error.cpp.orig 2015-02-11 21:56:41.253726893 +0000 ++++ ./ext/P4/p4error.cpp 2015-02-11 21:57:46.404951840 +0000 +@@ -35,7 +35,7 @@ + ******************************************************************************/ + #include + #include "undefdups.h" +-#include ++#include + #include "p4rubydebug.h" + #include "p4utils.h" + #include "p4error.h" Added: head/devel/rubygem-p4ruby/files/patch-ext__P4__p4mapmaker.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/rubygem-p4ruby/files/patch-ext__P4__p4mapmaker.cpp Sat Mar 26 00:40:59 2016 (r411910) @@ -0,0 +1,15 @@ +--- ./ext/P4/p4mapmaker.cpp.orig 2015-02-11 21:56:41.253726893 +0000 ++++ ./ext/P4/p4mapmaker.cpp 2015-02-11 21:57:50.622092422 +0000 +@@ -35,9 +35,9 @@ + ******************************************************************************/ + #include + #include "undefdups.h" +-#include +-#include +-#include ++#include ++#include ++#include + #include "p4rubydebug.h" + #include "p4utils.h" + #include "p4mapmaker.h" Added: head/devel/rubygem-p4ruby/files/patch-ext__P4__p4mergedata.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/rubygem-p4ruby/files/patch-ext__P4__p4mergedata.cpp Sat Mar 26 00:40:59 2016 (r411910) @@ -0,0 +1,17 @@ +--- ./ext/P4/p4mergedata.cpp.orig 2015-02-11 21:56:41.253726893 +0000 ++++ ./ext/P4/p4mergedata.cpp 2015-02-11 21:57:54.274440052 +0000 +@@ -35,10 +35,10 @@ + ******************************************************************************/ + #include + #include "undefdups.h" +-#include +-#include +-#include +-#include ++#include ++#include ++#include ++#include + #include "p4result.h" + #include "p4rubydebug.h" + #include "clientuserruby.h" Added: head/devel/rubygem-p4ruby/files/patch-ext__P4__p4result.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/rubygem-p4ruby/files/patch-ext__P4__p4result.cpp Sat Mar 26 00:40:59 2016 (r411910) @@ -0,0 +1,11 @@ +--- ./ext/P4/p4result.cpp.orig 2015-02-11 21:56:41.261843618 +0000 ++++ ./ext/P4/p4result.cpp 2015-02-11 21:57:58.250220456 +0000 +@@ -37,7 +37,7 @@ + + #include + #include "undefdups.h" +-#include ++#include + #include "gc_hack.h" + #include "p4error.h" + #include "p4utils.h" Added: head/devel/rubygem-p4ruby/files/patch-ext__P4__p4specdata.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/rubygem-p4ruby/files/patch-ext__P4__p4specdata.cpp Sat Mar 26 00:40:59 2016 (r411910) @@ -0,0 +1,17 @@ +--- ./ext/P4/p4specdata.cpp.orig 2015-02-11 21:56:41.261843618 +0000 ++++ ./ext/P4/p4specdata.cpp 2015-02-11 21:58:02.592245739 +0000 +@@ -38,10 +38,10 @@ + + #include + #include "undefdups.h" +-#include +-#include +-#include +-#include ++#include ++#include ++#include ++#include + #include "p4rubydebug.h" + #include "p4utils.h" + #include "p4specdata.h" Added: head/devel/rubygem-p4ruby/files/patch-ext__P4__specmgr.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/rubygem-p4ruby/files/patch-ext__P4__specmgr.cpp Sat Mar 26 00:40:59 2016 (r411910) @@ -0,0 +1,17 @@ +--- ./ext/P4/specmgr.cpp.orig 2015-02-11 21:56:41.261843618 +0000 ++++ ./ext/P4/specmgr.cpp 2015-02-11 21:58:06.073099450 +0000 +@@ -38,10 +38,10 @@ + #include + #include "p4utils.h" + #include "undefdups.h" +-#include +-#include +-#include +-#include ++#include ++#include ++#include ++#include + #include "p4rubyconf.h" + #include "gc_hack.h" + #include "p4rubydebug.h" Added: head/devel/rubygem-p4ruby/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/rubygem-p4ruby/pkg-descr Sat Mar 26 00:40:59 2016 (r411910) @@ -0,0 +1,4 @@ +The Ruby bindings for the Perforce Client API provide convenient classes +within Ruby for communicating with Perforce SCM servers. + +WWW: http://www.perforce.com/perforce/loadsupp.html