pkgsrc/www/p5-Browser-Open/Makefile
mef 2bd6c4da18 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.
2019-11-18 12:21:57 +00:00

19 lines
542 B
Makefile

# $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
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"