pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/p5-Browser-Open



Module Name:    pkgsrc
Committed By:   mef
Date:           Mon Nov 18 12:21:57 UTC 2019

Added Files:
        pkgsrc/www/p5-Browser-Open: DESCR Makefile distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/www/p5-Browser-Open/DESCR \
    pkgsrc/www/p5-Browser-Open/Makefile pkgsrc/www/p5-Browser-Open/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/www/p5-Browser-Open/DESCR
diff -u /dev/null pkgsrc/www/p5-Browser-Open/DESCR:1.1
--- /dev/null   Mon Nov 18 12:21:57 2019
+++ pkgsrc/www/p5-Browser-Open/DESCR    Mon Nov 18 12:21:57 2019
@@ -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.
Index: pkgsrc/www/p5-Browser-Open/Makefile
diff -u /dev/null pkgsrc/www/p5-Browser-Open/Makefile:1.1
--- /dev/null   Mon Nov 18 12:21:57 2019
+++ pkgsrc/www/p5-Browser-Open/Makefile Mon Nov 18 12:21:57 2019
@@ -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"
Index: pkgsrc/www/p5-Browser-Open/distinfo
diff -u /dev/null pkgsrc/www/p5-Browser-Open/distinfo:1.1
--- /dev/null   Mon Nov 18 12:21:57 2019
+++ pkgsrc/www/p5-Browser-Open/distinfo Mon Nov 18 12:21:57 2019
@@ -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