summaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorskv <skv@FreeBSD.org>2002-07-06 10:10:09 +0000
committerskv <skv@FreeBSD.org>2002-07-06 10:10:09 +0000
commit2c7869bb87c46d42f601475c844bc88fb25a3808 (patch)
treeb1388cb2a7e0b355751817d9f155c6f926f64200 /devel
parent3b3d562e404d4f20d03b1486894e3cba64b3c98f (diff)
downloadFreeBSD-ports-2c7869bb87c46d42f601475c844bc88fb25a3808.zip
FreeBSD-ports-2c7869bb87c46d42f601475c844bc88fb25a3808.tar.gz
Add p5-POE-Component-DirWatch 0.01, POE directory watcher.
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-POE-Component-DirWatch/Makefile33
-rw-r--r--devel/p5-POE-Component-DirWatch/distinfo1
-rw-r--r--devel/p5-POE-Component-DirWatch/pkg-comment1
-rw-r--r--devel/p5-POE-Component-DirWatch/pkg-descr11
-rw-r--r--devel/p5-POE-Component-DirWatch/pkg-plist9
6 files changed, 56 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index a596d59..d5a79ea 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -493,6 +493,7 @@
SUBDIR += p5-POE-Component-Client-Ping
SUBDIR += p5-POE-Component-Client-UserAgent
SUBDIR += p5-POE-Component-DBIAgent
+ SUBDIR += p5-POE-Component-DirWatch
SUBDIR += p5-POE-Component-IKC
SUBDIR += p5-POE-Component-IKC-ReallySimple
SUBDIR += p5-POE-Component-JobQueue
diff --git a/devel/p5-POE-Component-DirWatch/Makefile b/devel/p5-POE-Component-DirWatch/Makefile
new file mode 100644
index 0000000..5d6f5d2
--- /dev/null
+++ b/devel/p5-POE-Component-DirWatch/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: POE-Component-DirWatch
+# Date created: 06 July 2002
+# Whom: Sergey Skvortsov <skv@protey.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= POE-Component-DirWatch
+PORTVERSION= 0.01
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= POE
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= skv@FreeBSD.org
+
+BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/POE.pm:${PORTSDIR}/devel/p5-POE
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+PLIST_SUB= EXAMPLESDIR="share/examples/${PORTNAME}"
+
+MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+MAN3= POE::Component::DirWatch.3
+
+post-install:
+.ifndef(NOPORTDOCS)
+ @${ECHO_MSG} "===> Installing examples for ${PKGNAME}"
+ @${MKDIR} ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/eg/* ${EXAMPLESDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/devel/p5-POE-Component-DirWatch/distinfo b/devel/p5-POE-Component-DirWatch/distinfo
new file mode 100644
index 0000000..ad0ffbe
--- /dev/null
+++ b/devel/p5-POE-Component-DirWatch/distinfo
@@ -0,0 +1 @@
+MD5 (POE-Component-DirWatch-0.01.tar.gz) = 50e50973105af9e179fb33db12a8273b
diff --git a/devel/p5-POE-Component-DirWatch/pkg-comment b/devel/p5-POE-Component-DirWatch/pkg-comment
new file mode 100644
index 0000000..72ac4ec
--- /dev/null
+++ b/devel/p5-POE-Component-DirWatch/pkg-comment
@@ -0,0 +1 @@
+POE directory watcher
diff --git a/devel/p5-POE-Component-DirWatch/pkg-descr b/devel/p5-POE-Component-DirWatch/pkg-descr
new file mode 100644
index 0000000..05a962b
--- /dev/null
+++ b/devel/p5-POE-Component-DirWatch/pkg-descr
@@ -0,0 +1,11 @@
+POE::Component::DirWatch watches a directory for files. It creates a
+separate session which invokes a user-supplied callback as soon as it
+finds a file in the directory.
+
+Its primary intended use is processing a "drop-box" style directory,
+such as an FTP upload directory.
+
+WWW: http://search.cpan.org/search?dist=POE-Component-DirWatch
+
+-- Sergey Skvortsov
+skv@FreeBSD.org
diff --git a/devel/p5-POE-Component-DirWatch/pkg-plist b/devel/p5-POE-Component-DirWatch/pkg-plist
new file mode 100644
index 0000000..2ddcecc
--- /dev/null
+++ b/devel/p5-POE-Component-DirWatch/pkg-plist
@@ -0,0 +1,9 @@
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/POE/Component/DirWatch/.packlist
+lib/perl5/site_perl/%%PERL_VER%%/POE/Component/DirWatch.pm
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/POE/Component/DirWatch
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/POE/Component 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/POE 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/POE/Component 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/POE 2>/dev/null || true
+%%PORTDOCS%%%%EXAMPLESDIR%%/dirwatch
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
OpenPOWER on IntegriCloud