From 75db9e78c2aaba35ee30e5920f6330da865d053c Mon Sep 17 00:00:00 2001 From: Tom Hukins Date: Wed, 12 Sep 2001 22:58:50 +0000 Subject: Add Perl modules for parsing and querying FreeBSD's Ports INDEX file --- textproc/Makefile | 1 + textproc/p5-FreeBSD-Ports/Makefile | 22 ++++++++++++++++++++++ textproc/p5-FreeBSD-Ports/distinfo | 1 + textproc/p5-FreeBSD-Ports/pkg-comment | 1 + textproc/p5-FreeBSD-Ports/pkg-descr | 17 +++++++++++++++++ textproc/p5-FreeBSD-Ports/pkg-plist | 7 +++++++ 6 files changed, 49 insertions(+) create mode 100644 textproc/p5-FreeBSD-Ports/Makefile create mode 100644 textproc/p5-FreeBSD-Ports/distinfo create mode 100644 textproc/p5-FreeBSD-Ports/pkg-comment create mode 100644 textproc/p5-FreeBSD-Ports/pkg-descr create mode 100644 textproc/p5-FreeBSD-Ports/pkg-plist (limited to 'textproc') diff --git a/textproc/Makefile b/textproc/Makefile index 1133702833a3..dfa1610b3c89 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -93,6 +93,7 @@ SUBDIR += openjade SUBDIR += opensched SUBDIR += p5-DelimMatch + SUBDIR += p5-FreeBSD-Ports SUBDIR += p5-HTML-Format SUBDIR += p5-LJ-SpellCheck SUBDIR += p5-Lingua-Ispell diff --git a/textproc/p5-FreeBSD-Ports/Makefile b/textproc/p5-FreeBSD-Ports/Makefile new file mode 100644 index 000000000000..5e51cc112720 --- /dev/null +++ b/textproc/p5-FreeBSD-Ports/Makefile @@ -0,0 +1,22 @@ +# New ports collection makefile for: p5-FreeBSD-Ports +# Date created: 12 September 2001 +# Whom: Tom Hukins +# +# $FreeBSD$ +# + +PORTNAME= FreeBSD-Ports +PORTVERSION= 0.03 +CATEGORIES= textproc perl5 +MASTER_SITES= http://people.FreeBSD.org/~tom/portpm/ +PKGNAMEPREFIX= p5- + +MAINTAINER= tom@FreeBSD.org + +USE_BZIP2= yes + +PERL_CONFIGURE= yes +MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} +MAN3= FreeBSD::Ports::Port.3 \ + FreeBSD::Ports.3 +.include diff --git a/textproc/p5-FreeBSD-Ports/distinfo b/textproc/p5-FreeBSD-Ports/distinfo new file mode 100644 index 000000000000..6777dc99a66b --- /dev/null +++ b/textproc/p5-FreeBSD-Ports/distinfo @@ -0,0 +1 @@ +MD5 (FreeBSD-Ports-0.03.tar.bz2) = ca874e00cff23d7ec946abdadc761720 diff --git a/textproc/p5-FreeBSD-Ports/pkg-comment b/textproc/p5-FreeBSD-Ports/pkg-comment new file mode 100644 index 000000000000..4ace9e196f0f --- /dev/null +++ b/textproc/p5-FreeBSD-Ports/pkg-comment @@ -0,0 +1 @@ +Perl modules for parsing FreeBSD's Ports INDEX file diff --git a/textproc/p5-FreeBSD-Ports/pkg-descr b/textproc/p5-FreeBSD-Ports/pkg-descr new file mode 100644 index 000000000000..679267092e99 --- /dev/null +++ b/textproc/p5-FreeBSD-Ports/pkg-descr @@ -0,0 +1,17 @@ +FreeBSD::Ports and FreeBSD::Ports::Port are modules for parsing +FreeBSD's Ports INDEX file and selecting ports that match certain +criteria. + +For example, you might want to list ports maintained by tom@FreeBSD.org +sorted alphabetically: + my $ports = tie my %port, 'FreeBSD::Ports', '/usr/ports/INDEX'; + $ports->maintainer('tom@FreeBSD.org'); + $ports->sort('alpha'); + foreach my $p (keys %port) { + print $p->as_ascii,"\n"; + } + +WWW: http://people.FreeBSD.org/~tom/portpm/ + +- Tom +tom@FreeBSD.org diff --git a/textproc/p5-FreeBSD-Ports/pkg-plist b/textproc/p5-FreeBSD-Ports/pkg-plist new file mode 100644 index 000000000000..9e63253110c6 --- /dev/null +++ b/textproc/p5-FreeBSD-Ports/pkg-plist @@ -0,0 +1,7 @@ +lib/perl5/site_perl/%%PERL_VER%%/FreeBSD/Ports/Port.pm +lib/perl5/site_perl/%%PERL_VER%%/FreeBSD/Ports.pm +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/FreeBSD/Ports/.packlist +@dirrm lib/perl5/site_perl/%%PERL_VER%%/FreeBSD/Ports +@dirrm lib/perl5/site_perl/%%PERL_VER%%/FreeBSD +@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/FreeBSD/Ports +@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/FreeBSD -- cgit v1.2.3