From owner-svn-ports-head@FreeBSD.ORG Mon Jan 20 16:58:28 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BFC71C0A; Mon, 20 Jan 2014 16:58:28 +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)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id ABAE01371; Mon, 20 Jan 2014 16:58:28 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s0KGwScC068413; Mon, 20 Jan 2014 16:58:28 GMT (envelope-from sunpoet@svn.freebsd.org) Received: (from sunpoet@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s0KGwRMO068408; Mon, 20 Jan 2014 16:58:27 GMT (envelope-from sunpoet@svn.freebsd.org) Message-Id: <201401201658.s0KGwRMO068408@svn.freebsd.org> From: Sunpoet Po-Chuan Hsieh Date: Mon, 20 Jan 2014 16:58:27 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r340409 - in head/www: . p5-Browser-Open 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.17 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: Mon, 20 Jan 2014 16:58:28 -0000 Author: sunpoet Date: Mon Jan 20 16:58:27 2014 New Revision: 340409 URL: http://svnweb.freebsd.org/changeset/ports/340409 QAT: https://qat.redports.org/buildarchive/r340409/ Log: - Add p5-Browser-Open 0.04 The functions optionaly exported by this module allows you to open URLs in the user browser. A set of known commands per OS-name is tested for presence, and the first one found is executed. With an optional parameter, all known commands are checked. The "open_browser" uses the system() function to execute the command. If you want more control, you can get the command with the "open_browser_cmd" or "open_browser_cmd_all" functions and then use whatever method you want to execute it. WWW: http://search.cpan.org/dist/Browser-Open/ Added: head/www/p5-Browser-Open/ head/www/p5-Browser-Open/Makefile (contents, props changed) head/www/p5-Browser-Open/distinfo (contents, props changed) head/www/p5-Browser-Open/pkg-descr (contents, props changed) head/www/p5-Browser-Open/pkg-plist (contents, props changed) Modified: head/www/Makefile Modified: head/www/Makefile ============================================================================== --- head/www/Makefile Mon Jan 20 16:55:10 2014 (r340408) +++ head/www/Makefile Mon Jan 20 16:58:27 2014 (r340409) @@ -635,6 +635,7 @@ SUBDIR += p5-Ark SUBDIR += p5-Bigtop SUBDIR += p5-Blog-Spam + SUBDIR += p5-Browser-Open SUBDIR += p5-Business-PayPal SUBDIR += p5-CGI-Ajax SUBDIR += p5-CGI-Application Added: head/www/p5-Browser-Open/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/p5-Browser-Open/Makefile Mon Jan 20 16:58:27 2014 (r340409) @@ -0,0 +1,20 @@ +# Created by: Sunpoet Po-Chuan Hsieh +# $FreeBSD$ + +PORTNAME= Browser-Open +PORTVERSION= 0.04 +CATEGORIES= www perl5 +MASTER_SITES= CPAN +MASTER_SITE_SUBDIR= CPAN:CFRANKS +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Open a browser in a given URL + +LICENSE= ART10 GPLv1 +LICENSE_COMB= dual + +USE_PERL5= configure +USES= perl5 + +.include Added: head/www/p5-Browser-Open/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/p5-Browser-Open/distinfo Mon Jan 20 16:58:27 2014 (r340409) @@ -0,0 +1,2 @@ +SHA256 (Browser-Open-0.04.tar.gz) = aceb3129782fe06e5b6e3e4b1a97e20c208426e5870ea67fb63b79188b056867 +SIZE (Browser-Open-0.04.tar.gz) = 4006 Added: head/www/p5-Browser-Open/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/p5-Browser-Open/pkg-descr Mon Jan 20 16:58:27 2014 (r340409) @@ -0,0 +1,12 @@ +The functions optionaly exported by this module allows you to open URLs in the +user browser. + +A set of known commands per OS-name is tested for presence, and the first one +found is executed. With an optional parameter, all known commands are checked. + +The "open_browser" uses the system() function to execute the command. If you +want more control, you can get the command with the "open_browser_cmd" or +"open_browser_cmd_all" functions and then use whatever method you want to +execute it. + +WWW: http://search.cpan.org/dist/Browser-Open/ Added: head/www/p5-Browser-Open/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/p5-Browser-Open/pkg-plist Mon Jan 20 16:58:27 2014 (r340409) @@ -0,0 +1,6 @@ +%%SITE_PERL%%/Browser/Open.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Browser/Open/.packlist +%%PERL5_MAN3%%/Browser::Open.3.gz +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Browser/Open +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Browser +@dirrmtry %%SITE_PERL%%/Browser