aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2017-01-02 03:33:50 +0800
committersunpoet <sunpoet@FreeBSD.org>2017-01-02 03:33:50 +0800
commit24354a017c89c9198311d44dab5f9e59375c1f32 (patch)
tree99d509874a770e917d7094d2e7fd0fb67f767ea2 /textproc
parent3e2fe73597ab23c6f5bb4737a6276602e254f0ea (diff)
downloadfreebsd-ports-gnome-24354a017c89c9198311d44dab5f9e59375c1f32.tar.gz
freebsd-ports-gnome-24354a017c89c9198311d44dab5f9e59375c1f32.tar.zst
freebsd-ports-gnome-24354a017c89c9198311d44dab5f9e59375c1f32.zip
Add p5-TOML-Parser 0.08
TOML::Parser is a simple toml parser. This data structure complies with the tests [1] in v0.4.0 specification. [1] https://github.com/toml-lang/toml/tree/v0.4.0/tests WWW: http://search.cpan.org/dist/TOML-Parser
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/p5-TOML-Parser/Makefile26
-rw-r--r--textproc/p5-TOML-Parser/distinfo3
-rw-r--r--textproc/p5-TOML-Parser/pkg-descr6
-rw-r--r--textproc/p5-TOML-Parser/pkg-plist8
5 files changed, 44 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 206403bebe5f..f34253b7e449 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -812,6 +812,7 @@
SUBDIR += p5-Syntax-Highlight-Engine-Kate
SUBDIR += p5-Syntax-Highlight-Perl-Improved
SUBDIR += p5-TOML
+ SUBDIR += p5-TOML-Parser
SUBDIR += p5-TeX-Encode
SUBDIR += p5-TeX-Hyphen
SUBDIR += p5-Template-Declare
diff --git a/textproc/p5-TOML-Parser/Makefile b/textproc/p5-TOML-Parser/Makefile
new file mode 100644
index 000000000000..daec95085214
--- /dev/null
+++ b/textproc/p5-TOML-Parser/Makefile
@@ -0,0 +1,26 @@
+# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= TOML-Parser
+PORTVERSION= 0.08
+CATEGORIES= textproc perl5
+MASTER_SITES= CPAN
+MASTER_SITE_SUBDIR= CPAN:KARUPA
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Simple toml parser
+
+LICENSE= ART10 GPLv1
+LICENSE_COMB= dual
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= p5-Types-Serialiser>=0:devel/p5-Types-Serialiser
+RUN_DEPENDS:= ${BUILD_DEPENDS}
+TEST_DEPENDS= p5-Test-Deep>=0:devel/p5-Test-Deep
+
+NO_ARCH= yes
+USE_PERL5= modbuildtiny
+USES= perl5
+
+.include <bsd.port.mk>
diff --git a/textproc/p5-TOML-Parser/distinfo b/textproc/p5-TOML-Parser/distinfo
new file mode 100644
index 000000000000..29d2996b11b3
--- /dev/null
+++ b/textproc/p5-TOML-Parser/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1483254386
+SHA256 (TOML-Parser-0.08.tar.gz) = 28e8e46122e4233e456b2d6986c6e78ffb9fecb790d99490b739d7c03817c16d
+SIZE (TOML-Parser-0.08.tar.gz) = 21963
diff --git a/textproc/p5-TOML-Parser/pkg-descr b/textproc/p5-TOML-Parser/pkg-descr
new file mode 100644
index 000000000000..63a6b5fa7571
--- /dev/null
+++ b/textproc/p5-TOML-Parser/pkg-descr
@@ -0,0 +1,6 @@
+TOML::Parser is a simple toml parser. This data structure complies with the
+tests [1] in v0.4.0 specification.
+
+[1] https://github.com/toml-lang/toml/tree/v0.4.0/tests
+
+WWW: http://search.cpan.org/dist/TOML-Parser/
diff --git a/textproc/p5-TOML-Parser/pkg-plist b/textproc/p5-TOML-Parser/pkg-plist
new file mode 100644
index 000000000000..8d1e497f6284
--- /dev/null
+++ b/textproc/p5-TOML-Parser/pkg-plist
@@ -0,0 +1,8 @@
+%%SITE_PERL%%/TOML/Parser.pm
+%%SITE_PERL%%/TOML/Parser/Tokenizer.pm
+%%SITE_PERL%%/TOML/Parser/Tokenizer/Strict.pm
+%%SITE_PERL%%/TOML/Parser/Util.pm
+%%PERL5_MAN3%%/TOML::Parser.3.gz
+%%PERL5_MAN3%%/TOML::Parser::Tokenizer.3.gz
+%%PERL5_MAN3%%/TOML::Parser::Tokenizer::Strict.3.gz
+%%PERL5_MAN3%%/TOML::Parser::Util.3.gz