aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authortobez <tobez@FreeBSD.org>2010-12-04 03:53:54 +0800
committertobez <tobez@FreeBSD.org>2010-12-04 03:53:54 +0800
commite0b5c714a75d15e48707c26e92b550c3c9a3d6d0 (patch)
tree5850c70b8236170997826868a89d22afe956bd01 /textproc
parent05a4571fce5646fb13b525f7da74526c04537f1a (diff)
downloadfreebsd-ports-gnome-e0b5c714a75d15e48707c26e92b550c3c9a3d6d0.tar.gz
freebsd-ports-gnome-e0b5c714a75d15e48707c26e92b550c3c9a3d6d0.tar.zst
freebsd-ports-gnome-e0b5c714a75d15e48707c26e92b550c3c9a3d6d0.zip
Add textproc/p5-String-Flogger, a string munging Perl module for
loggers.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/p5-String-Flogger/Makefile27
-rw-r--r--textproc/p5-String-Flogger/distinfo2
-rw-r--r--textproc/p5-String-Flogger/pkg-descr6
-rw-r--r--textproc/p5-String-Flogger/pkg-plist5
5 files changed, 41 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 37ac05d3d0ad..3a0b73453bc3 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -637,6 +637,7 @@
SUBDIR += p5-String-CamelCase
SUBDIR += p5-String-Divert
SUBDIR += p5-String-Escape
+ SUBDIR += p5-String-Flogger
SUBDIR += p5-String-Format
SUBDIR += p5-String-Fraction
SUBDIR += p5-String-Koremutake
diff --git a/textproc/p5-String-Flogger/Makefile b/textproc/p5-String-Flogger/Makefile
new file mode 100644
index 000000000000..b6794bca726d
--- /dev/null
+++ b/textproc/p5-String-Flogger/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for: textproc/p5-String-Flogger
+# Date created: 03 December 2010
+# Whom: Anton Berezin <tobez@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= String-Flogger
+PORTVERSION= 1.101240
+CATEGORIES= textproc perl5
+MASTER_SITES= CPAN
+MASTER_SITE_SUBDIR= String
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= tobez@FreeBSD.org
+COMMENT= String munging for loggers
+
+BUILD_DEPENDS= p5-Params-Util>0:${PORTSDIR}/devel/p5-Params-Util \
+ p5-Sub-Exporter>0:${PORTSDIR}/devel/p5-Sub-Exporter \
+ p5-JSON>0:${PORTSDIR}/converters/p5-JSON
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= String::Flogger.3
+
+.include <bsd.port.mk>
diff --git a/textproc/p5-String-Flogger/distinfo b/textproc/p5-String-Flogger/distinfo
new file mode 100644
index 000000000000..77d07b0daf57
--- /dev/null
+++ b/textproc/p5-String-Flogger/distinfo
@@ -0,0 +1,2 @@
+SHA256 (String-Flogger-1.101240.tar.gz) = 4d5d26a479b68baa1dd1e1f28f1dc772400ecbe8639d2b8e71f1de2206557229
+SIZE (String-Flogger-1.101240.tar.gz) = 10497
diff --git a/textproc/p5-String-Flogger/pkg-descr b/textproc/p5-String-Flogger/pkg-descr
new file mode 100644
index 000000000000..2e1af96115d1
--- /dev/null
+++ b/textproc/p5-String-Flogger/pkg-descr
@@ -0,0 +1,6 @@
+String::Flogger::flog() args are mostly just like sprintf arguments, but
+non-strings (like references, objects, and undef) are converted to JSON,
+and we can defer evaluation of bits of the message so that it won't be
+evaluated unless needed.
+
+WWW: http://search.cpan.org/dist/String-Flogger/
diff --git a/textproc/p5-String-Flogger/pkg-plist b/textproc/p5-String-Flogger/pkg-plist
new file mode 100644
index 000000000000..f034a75ae105
--- /dev/null
+++ b/textproc/p5-String-Flogger/pkg-plist
@@ -0,0 +1,5 @@
+%%SITE_PERL%%/String/Flogger.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/String/Flogger/.packlist
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/String/Flogger
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/String
+@dirrmtry %%SITE_PERL%%/String