pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/p5-Browser-Open www/p5-Browser-Open: import p5-Bro...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7e21846f6d88
branches:  trunk
changeset: 404851:7e21846f6d88
user:      mef <mef%pkgsrc.org@localhost>
date:      Mon Nov 18 12:21:57 2019 +0000

description:
www/p5-Browser-Open: import 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.

diffstat:

 www/p5-Browser-Open/DESCR    |  11 +++++++++++
 www/p5-Browser-Open/Makefile |  19 +++++++++++++++++++
 www/p5-Browser-Open/distinfo |   6 ++++++
 3 files changed, 36 insertions(+), 0 deletions(-)

diffs (48 lines):

diff -r ec2c700b33fd -r 7e21846f6d88 www/p5-Browser-Open/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/p5-Browser-Open/DESCR Mon Nov 18 12:21:57 2019 +0000
@@ -0,0 +1,11 @@
+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.
diff -r ec2c700b33fd -r 7e21846f6d88 www/p5-Browser-Open/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/p5-Browser-Open/Makefile      Mon Nov 18 12:21:57 2019 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2019/11/18 12:21:57 mef Exp $
+
+DISTNAME=      Browser-Open-0.04
+PKGNAME=       p5-${DISTNAME}
+CATEGORIES=    www perl5
+MASTER_SITES=  https://cpan.metacpan.org/authors/id/C/CF/CFRANKS/
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://cpan.metacpan.org/authors/id/C/CF/CFRANKS/
+COMMENT=       Open a browser in a given URL
+LICENSE=       ${PERL5_LICENSE}
+
+DEPENDS+=      p5-parent>=0:../../devel/p5-parent
+
+PERL5_PACKLIST=        auto/Browser/Open/.packlist
+USE_LANGUAGES= # none
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r ec2c700b33fd -r 7e21846f6d88 www/p5-Browser-Open/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/p5-Browser-Open/distinfo      Mon Nov 18 12:21:57 2019 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/11/18 12:21:57 mef Exp $
+
+SHA1 (Browser-Open-0.04.tar.gz) = 332ff73c052b1ac881f42cc30611cffdebb330fb
+RMD160 (Browser-Open-0.04.tar.gz) = 6a2d22df08dad52bc4ab7dff2d2b4ae95185d26b
+SHA512 (Browser-Open-0.04.tar.gz) = 70f5559c4dd4a07ed8513340871a2c04b2c4118b8f160e23586fc170d5f9123ab287d6031860096ca6329c03df8f077d96f0af2656efe46a9b1629d92255e7ae
+Size (Browser-Open-0.04.tar.gz) = 4006 bytes



Home | Main Index | Thread Index | Old Index