aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2013-12-02 16:14:25 +0800
committersunpoet <sunpoet@FreeBSD.org>2013-12-02 16:14:25 +0800
commitddcbd48cb4dae94786bf94291a8101d9571b9a16 (patch)
treed2b0b240f8a515c9fbabbcb00b23d8630f27ba0e
parent684a76c8e3249a51acd81664764dc861c8093cf4 (diff)
downloadfreebsd-ports-gnome-ddcbd48cb4dae94786bf94291a8101d9571b9a16.tar.gz
freebsd-ports-gnome-ddcbd48cb4dae94786bf94291a8101d9571b9a16.tar.zst
freebsd-ports-gnome-ddcbd48cb4dae94786bf94291a8101d9571b9a16.zip
- Add p5-File-Tail-Scribe
- While I'm here: - Add LICENSE - Fix *_DEPENDS - Support STAGEDIR - Fix PLIST: add missing files It monitors files in a given directory (or set of directories), such as Apache log files in /var/log/httpd, and as the log files are written to, takes the changes and sends them to a running instance of the Scribe logging system. WWW: http://search.cpan.org/dist/File-Tail-Scribe/ PR: ports/184263 Submitted by: Hung-Yi Chen <gaod@hychen.org>
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-File-Tail-Scribe/Makefile25
-rw-r--r--devel/p5-File-Tail-Scribe/distinfo2
-rw-r--r--devel/p5-File-Tail-Scribe/pkg-descr6
-rw-r--r--devel/p5-File-Tail-Scribe/pkg-plist9
5 files changed, 43 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index e8cc22d78a90..45162cee52f8 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -2019,6 +2019,7 @@
SUBDIR += p5-File-Sync
SUBDIR += p5-File-Tail
SUBDIR += p5-File-Tail-Dir
+ SUBDIR += p5-File-Tail-Scribe
SUBDIR += p5-File-Temp
SUBDIR += p5-File-Tempdir
SUBDIR += p5-File-Touch
diff --git a/devel/p5-File-Tail-Scribe/Makefile b/devel/p5-File-Tail-Scribe/Makefile
new file mode 100644
index 000000000000..4deb79c85fb7
--- /dev/null
+++ b/devel/p5-File-Tail-Scribe/Makefile
@@ -0,0 +1,25 @@
+# Created by: Hung-Yi Chen <gaod@hychen.org>
+# $FreeBSD$
+
+PORTNAME= File-Tail-Scribe
+PORTVERSION= 0.13
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= gaod@hychen.org
+COMMENT= Perl Module to tail file to Scribe server
+
+LICENSE= ART10 GPLv1
+LICENSE_COMB= dual
+
+BUILD_DEPENDS= p5-File-Tail-Dir>=0:${PORTSDIR}/devel/p5-File-Tail-Dir \
+ p5-Log-Dispatch-Scribe>=0:${PORTSDIR}/devel/p5-Log-Dispatch-Scribe \
+ p5-Moose>=0:${PORTSDIR}/devel/p5-Moose
+RUN_DEPENDS:= ${BUILD_DEPENDS}
+TEST_DEPENDS= p5-Test-MockObject>=0:${PORTSDIR}/devel/p5-Test-MockObject
+
+USES= perl5
+USE_PERL5= configure
+
+.include <bsd.port.mk>
diff --git a/devel/p5-File-Tail-Scribe/distinfo b/devel/p5-File-Tail-Scribe/distinfo
new file mode 100644
index 000000000000..825e2c1d54c6
--- /dev/null
+++ b/devel/p5-File-Tail-Scribe/distinfo
@@ -0,0 +1,2 @@
+SHA256 (File-Tail-Scribe-0.13.tar.gz) = 75817c2c2d155707423fb26f5923a69dfc6834a8f532afaaf01a4069f15f8b20
+SIZE (File-Tail-Scribe-0.13.tar.gz) = 8656
diff --git a/devel/p5-File-Tail-Scribe/pkg-descr b/devel/p5-File-Tail-Scribe/pkg-descr
new file mode 100644
index 000000000000..53ac47a4eebd
--- /dev/null
+++ b/devel/p5-File-Tail-Scribe/pkg-descr
@@ -0,0 +1,6 @@
+It monitors files in a given directory (or set of directories), such as
+Apache log files in /var/log/httpd, and as the log files are written to,
+takes the changes and sends them to a running instance of the Scribe
+logging system.
+
+WWW: http://search.cpan.org/dist/File-Tail-Scribe/
diff --git a/devel/p5-File-Tail-Scribe/pkg-plist b/devel/p5-File-Tail-Scribe/pkg-plist
new file mode 100644
index 000000000000..bc3d941f29f5
--- /dev/null
+++ b/devel/p5-File-Tail-Scribe/pkg-plist
@@ -0,0 +1,9 @@
+bin/tail_to_scribe.pl
+%%SITE_PERL%%/File/Tail/Scribe.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/File/Tail/Scribe/.packlist
+%%PERL5_MAN3%%/File::Tail::Scribe.3.gz
+man/man1/tail_to_scribe.pl.1.gz
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/File/Tail/Scribe
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/File/Tail
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/File
+@dirrmtry %%SITE_PERL%%/File