Date: Mon, 20 Jan 2014 16:58:27 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> 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 Message-ID: <201401201658.s0KGwRMO068408@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <sunpoet@FreeBSD.org> +# $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 <bsd.port.mk> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401201658.s0KGwRMO068408>