diff options
author | mat <mat@FreeBSD.org> | 2004-05-10 23:10:40 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2004-05-10 23:10:40 +0800 |
commit | 1ac8d5878af53388c6921d59ba8d5fdba258b45d (patch) | |
tree | 776757bef77a0bf3e6ceccd17e8e7842b2fdf1c2 /devel | |
parent | fe23bf438db11ae397f28ca70b1d9831433ab03d (diff) | |
download | freebsd-ports-gnome-1ac8d5878af53388c6921d59ba8d5fdba258b45d.tar.gz freebsd-ports-gnome-1ac8d5878af53388c6921d59ba8d5fdba258b45d.tar.zst freebsd-ports-gnome-1ac8d5878af53388c6921d59ba8d5fdba258b45d.zip |
Add p5-File-Grep 0.01, perl Module that Find matches to a pattern in
files or function.
PR: ports/66390
Submitted by: Xavier Beaudouin <kiwi@oav.net>
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/p5-File-Grep/Makefile | 28 | ||||
-rw-r--r-- | devel/p5-File-Grep/distinfo | 2 | ||||
-rw-r--r-- | devel/p5-File-Grep/pkg-descr | 4 | ||||
-rw-r--r-- | devel/p5-File-Grep/pkg-plist | 5 |
5 files changed, 40 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 086a316425a8..2024b00e3e63 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -743,6 +743,7 @@ SUBDIR += p5-File-Find-Rule SUBDIR += p5-File-Flat SUBDIR += p5-File-Flock + SUBDIR += p5-File-Grep SUBDIR += p5-File-Lock SUBDIR += p5-File-MMagic SUBDIR += p5-File-NCopy diff --git a/devel/p5-File-Grep/Makefile b/devel/p5-File-Grep/Makefile new file mode 100644 index 000000000000..5323bdc1f5dd --- /dev/null +++ b/devel/p5-File-Grep/Makefile @@ -0,0 +1,28 @@ +# New ports collection makefile for: File-Grep +# Date created: 08 May 2004 +# Whom: Xavier Beaudouin <kiwi@oav.net> +# +# $FreeBSD$ + +PORTNAME= File-Grep +PORTVERSION= 0.01 +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= File +PKGNAMEPREFIX= p5- + +MAINTAINER= kiwi@oav.net +COMMENT= Perl Module that Find matches to a pattern in files or function + +PERL_CONFIGURE= yes + +MAN3= File::Grep.3 + +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500600 +post-patch: + @${PERL} -pi -e 's/^our (\S+)/use vars qw{$$1};$$1/g' ${WRKSRC}/Grep.pm +.endif + +.include <bsd.port.post.mk> diff --git a/devel/p5-File-Grep/distinfo b/devel/p5-File-Grep/distinfo new file mode 100644 index 000000000000..cd559744328b --- /dev/null +++ b/devel/p5-File-Grep/distinfo @@ -0,0 +1,2 @@ +MD5 (File-Grep-0.01.tar.gz) = dbb9c99036208f3897fe81415c8d4ac9 +SIZE (File-Grep-0.01.tar.gz) = 4649 diff --git a/devel/p5-File-Grep/pkg-descr b/devel/p5-File-Grep/pkg-descr new file mode 100644 index 000000000000..9b624b74951b --- /dev/null +++ b/devel/p5-File-Grep/pkg-descr @@ -0,0 +1,4 @@ +The File::Grep module is designed for find matches to a pattern in +a series of files and related functions. + +WWW: http://search.cpan.org/dist/File-Grep/ diff --git a/devel/p5-File-Grep/pkg-plist b/devel/p5-File-Grep/pkg-plist new file mode 100644 index 000000000000..4c165cb89e6d --- /dev/null +++ b/devel/p5-File-Grep/pkg-plist @@ -0,0 +1,5 @@ +%%SITE_PERL%%/File/Grep.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/File/Grep/.packlist +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/File/Grep +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/File 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/File 2>/dev/null || true |