diff options
author | Dan Langille <dvl@FreeBSD.org> | 2018-03-28 13:09:43 +0000 |
---|---|---|
committer | Dan Langille <dvl@FreeBSD.org> | 2018-03-28 13:09:43 +0000 |
commit | 0da7c1e2bcf28b9529f63f0793798ede64feaeff (patch) | |
tree | 28fd38b7efa7b11e110c0f6ec0cff38fcae0007d /textproc/p5-YAML-PP | |
parent | f83cc745aac68cf9973c8282ced82bcd7873c7e4 (diff) | |
download | ports-0da7c1e2bcf28b9529f63f0793798ede64feaeff.tar.gz ports-0da7c1e2bcf28b9529f63f0793798ede64feaeff.zip |
Notes
Diffstat (limited to 'textproc/p5-YAML-PP')
-rw-r--r-- | textproc/p5-YAML-PP/Makefile | 15 | ||||
-rw-r--r-- | textproc/p5-YAML-PP/distinfo | 3 | ||||
-rw-r--r-- | textproc/p5-YAML-PP/pkg-descr | 20 | ||||
-rw-r--r-- | textproc/p5-YAML-PP/pkg-plist | 18 |
4 files changed, 56 insertions, 0 deletions
diff --git a/textproc/p5-YAML-PP/Makefile b/textproc/p5-YAML-PP/Makefile new file mode 100644 index 000000000000..208101d704a2 --- /dev/null +++ b/textproc/p5-YAML-PP/Makefile @@ -0,0 +1,15 @@ +# $FreeBSD$ + +PORTNAME= YAML-PP +PORTVERSION= 0.005 +CATEGORIES= textproc perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= dvl@FreeBSD.org +COMMENT= YAML which aims to parse YAML 1.2 & conform to the spec + +USES= perl5 +USE_PERL5= configure + +.include <bsd.port.mk> diff --git a/textproc/p5-YAML-PP/distinfo b/textproc/p5-YAML-PP/distinfo new file mode 100644 index 000000000000..0dcf57802eb1 --- /dev/null +++ b/textproc/p5-YAML-PP/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1522241881 +SHA256 (YAML-PP-0.005.tar.gz) = 91c2a2022489a00ad68c6d7a788aacee1a474f44ab22735fd699d6034a317640 +SIZE (YAML-PP-0.005.tar.gz) = 109473 diff --git a/textproc/p5-YAML-PP/pkg-descr b/textproc/p5-YAML-PP/pkg-descr new file mode 100644 index 000000000000..245933ae1a1c --- /dev/null +++ b/textproc/p5-YAML-PP/pkg-descr @@ -0,0 +1,20 @@ +WARNING: This is highly experimental. + +Here are a few examples of what you can do right now: + + my $yppl = YAML::PP::Loader->new; + my @documents = $yppl->load_string($yaml); + + # load file + my $yppl = YAML::PP::Loader->new; + my @documents = $yppl->load_file($filename); + + # The loader offers JSON::PP, boolean.pm or pureperl 1/0 (default) + # for booleans + my $yppl = YAML::PP::Loader->new(boolean => 'JSON::PP'); + my ($data1, $data2) = $yppl->load_string($yaml); + + my $yppd = YAML::PP::Dumper->new(); + my $yaml = $yppd->dump_string($data1, $data2); + +WWW: https://github.com/perlpunk/YAML-PP-p5 diff --git a/textproc/p5-YAML-PP/pkg-plist b/textproc/p5-YAML-PP/pkg-plist new file mode 100644 index 000000000000..fc0e5341a8ce --- /dev/null +++ b/textproc/p5-YAML-PP/pkg-plist @@ -0,0 +1,18 @@ +bin/yamlpp5-events +bin/yamlpp5-highlight +bin/yamlpp5-load +bin/yamlpp5-load-dump +%%SITE_PERL%%/YAML/PP.pm +%%SITE_PERL%%/YAML/PP/Constructor.pm +%%SITE_PERL%%/YAML/PP/Dumper.pm +%%SITE_PERL%%/YAML/PP/Emitter.pm +%%SITE_PERL%%/YAML/PP/Exception.pm +%%SITE_PERL%%/YAML/PP/Grammar.pm +%%SITE_PERL%%/YAML/PP/Highlight.pm +%%SITE_PERL%%/YAML/PP/Lexer.pm +%%SITE_PERL%%/YAML/PP/Loader.pm +%%SITE_PERL%%/YAML/PP/Parser.pm +%%SITE_PERL%%/YAML/PP/Reader.pm +%%SITE_PERL%%/YAML/PP/Render.pm +%%PERL5_MAN3%%/YAML::PP.3.gz +%%PERL5_MAN3%%/YAML::PP::Grammar.3.gz |