summaryrefslogtreecommitdiff
path: root/devel/p5-POE-Component-DirWatch
diff options
context:
space:
mode:
authorSergey Skvortsov <skv@FreeBSD.org>2002-07-06 10:10:09 +0000
committerSergey Skvortsov <skv@FreeBSD.org>2002-07-06 10:10:09 +0000
commit332edaba36942c6c131a3ad703b8a67244bd5a1e (patch)
tree789b3329c7f7ae9608d253158e00ae40173418c7 /devel/p5-POE-Component-DirWatch
parentUpgrade to 4.0 SDK. (diff)
Add p5-POE-Component-DirWatch 0.01, POE directory watcher.
Notes
Notes: svn path=/head/; revision=62515
Diffstat (limited to 'devel/p5-POE-Component-DirWatch')
-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
5 files changed, 55 insertions, 0 deletions
diff --git a/devel/p5-POE-Component-DirWatch/Makefile b/devel/p5-POE-Component-DirWatch/Makefile
new file mode 100644
index 000000000000..5d6f5d2d26cf
--- /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 000000000000..ad0ffbed7a08
--- /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 000000000000..72ac4ec42d5c
--- /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 000000000000..05a962b6149e
--- /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 000000000000..2ddceccbcd5e
--- /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%%