Date: Fri, 18 Dec 2009 11:50:19 -0600 From: "Zane C.B." <vvelox@vvelox.net> To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org> Subject: ports/141754: New port: devel/p5-Dir-Watch Check for file/dir additions/removals to the current working directory. Message-ID: <1261158619.29033@vixen42.vulpes> Resent-Message-ID: <200912181750.nBIHo4Qi060314@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 141754 >Category: ports >Synopsis: New port: devel/p5-Dir-Watch Check for file/dir additions/removals to the current working directory. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Dec 18 17:50:03 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Zane C.B. >Release: FreeBSD 7.2-STABLE i386 >Organization: >Environment: System: FreeBSD 7.2-STABLE #2: Tue Sep 22 17:59:50 CDT 2009 root@vixen42.vulpes:/usr/obj/usr/src/sys/GENERIC >Description: NAME Dir::Watch - Watches the current directory for file additions or removals. VERSION Version 0.0.0 SYNOPSIS use Dir::Watch; $dirwatch=Dir::Watch->new; if($dirwatch->check){ print "There are new items\n"; } METHODS new This initiates the object. $dirwatch=Dir::Watch->new; check This checks for a new directories or files. If any thing has been added or removed, true is returned. If nothing has been added or removed, false is returned. if(!$dirwatch->check){ print "There have been either files/directories added or removed.\n"; } >How-To-Repeat: >Fix: --- p5-Dir-Watch.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # p5-Dir-Watch/ # p5-Dir-Watch/distinfo # p5-Dir-Watch/Makefile # p5-Dir-Watch/pkg-descr # p5-Dir-Watch/pkg-plist # echo c - p5-Dir-Watch/ mkdir -p p5-Dir-Watch/ > /dev/null 2>&1 echo x - p5-Dir-Watch/distinfo sed 's/^X//' >p5-Dir-Watch/distinfo << '2cb74ae0aef6d37f732b7b01a8deb5b1' XMD5 (Dir-Watch-0.0.0.tar.gz) = ee137c33f2e8768ed09561da3436e251 XSHA256 (Dir-Watch-0.0.0.tar.gz) = c00125f7aa4a7a14391176fc74e39f89f6adf129c44ea34e6a54dcbf51220ff9 XSIZE (Dir-Watch-0.0.0.tar.gz) = 3462 2cb74ae0aef6d37f732b7b01a8deb5b1 echo x - p5-Dir-Watch/Makefile sed 's/^X//' >p5-Dir-Watch/Makefile << '6b15a5cb0f781b6db2f42c293def29ac' X# New ports collection makefile for: devel/p5-Dir-Watch X# Date created: 2009-12-18 X# Whom: Zane C, Bowers <vvelox@vvelox.net> X# X# $FreeBSD$ X# X XPORTNAME= Dir-Watch XPORTVERSION= 0.0.0 XCATEGORIES= devel XMASTER_SITES= CPAN XMASTER_SITE_SUBDIR= ../../authors/id/V/VV/VVELOX XPKGNAMEPREFIX= p5- X XMAINTAINER= vvelox@vvelox.net XCOMMENT= Watches the current directory for file/dir additions or removals X XPERL_CONFIGURE= yes X XMAN3= Dir::Watch.3 X X.include <bsd.port.mk> 6b15a5cb0f781b6db2f42c293def29ac echo x - p5-Dir-Watch/pkg-descr sed 's/^X//' >p5-Dir-Watch/pkg-descr << '28b7faca109cb76e0b404b708e562209' XChecks for dir/file addition/removals in the current directory. X Xuse Dir::Watch; Xmy $dirwatch=Dir::Watch->new; Xif($dirwatch->check){ X print "There are new items\n"; X} X XWWW: http://search.cpan.org/dist/Dir-Watch/ 28b7faca109cb76e0b404b708e562209 echo x - p5-Dir-Watch/pkg-plist sed 's/^X//' >p5-Dir-Watch/pkg-plist << '1bee9d9c7f50b85f3dfb6ea526bb042b' X%%SITE_PERL%%/Dir/Watch.pm X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Dir/Watch/.packlist X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/ZDir/Watch X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Dir X@dirrmtry %%SITE_PERL%%/Dir/ 1bee9d9c7f50b85f3dfb6ea526bb042b exit --- p5-Dir-Watch.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1261158619.29033>