From 2c7869bb87c46d42f601475c844bc88fb25a3808 Mon Sep 17 00:00:00 2001 From: skv Date: Sat, 6 Jul 2002 10:10:09 +0000 Subject: Add p5-POE-Component-DirWatch 0.01, POE directory watcher. --- devel/Makefile | 1 + devel/p5-POE-Component-DirWatch/Makefile | 33 +++++++++++++++++++++++++++++ devel/p5-POE-Component-DirWatch/distinfo | 1 + devel/p5-POE-Component-DirWatch/pkg-comment | 1 + devel/p5-POE-Component-DirWatch/pkg-descr | 11 ++++++++++ devel/p5-POE-Component-DirWatch/pkg-plist | 9 ++++++++ 6 files changed, 56 insertions(+) create mode 100644 devel/p5-POE-Component-DirWatch/Makefile create mode 100644 devel/p5-POE-Component-DirWatch/distinfo create mode 100644 devel/p5-POE-Component-DirWatch/pkg-comment create mode 100644 devel/p5-POE-Component-DirWatch/pkg-descr create mode 100644 devel/p5-POE-Component-DirWatch/pkg-plist (limited to 'devel') 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 +# +# $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 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%% -- cgit v1.1