diff options
author | tom <tom@FreeBSD.org> | 2001-09-12 22:58:50 +0000 |
---|---|---|
committer | tom <tom@FreeBSD.org> | 2001-09-12 22:58:50 +0000 |
commit | b87014108515ae52514f1d43cb15cdd7e9736e74 (patch) | |
tree | 22fec034505bf449290a032c37aa0709d1ee1b46 /ports-mgmt/p5-FreeBSD-Ports | |
parent | 21aa25ff215f8f44edb530a4f06c22b6f1a21d29 (diff) | |
download | FreeBSD-ports-b87014108515ae52514f1d43cb15cdd7e9736e74.zip FreeBSD-ports-b87014108515ae52514f1d43cb15cdd7e9736e74.tar.gz |
Add Perl modules for parsing and querying FreeBSD's Ports INDEX file
Diffstat (limited to 'ports-mgmt/p5-FreeBSD-Ports')
-rw-r--r-- | ports-mgmt/p5-FreeBSD-Ports/Makefile | 22 | ||||
-rw-r--r-- | ports-mgmt/p5-FreeBSD-Ports/distinfo | 1 | ||||
-rw-r--r-- | ports-mgmt/p5-FreeBSD-Ports/pkg-comment | 1 | ||||
-rw-r--r-- | ports-mgmt/p5-FreeBSD-Ports/pkg-descr | 17 | ||||
-rw-r--r-- | ports-mgmt/p5-FreeBSD-Ports/pkg-plist | 7 |
5 files changed, 48 insertions, 0 deletions
diff --git a/ports-mgmt/p5-FreeBSD-Ports/Makefile b/ports-mgmt/p5-FreeBSD-Ports/Makefile new file mode 100644 index 0000000..5e51cc1 --- /dev/null +++ b/ports-mgmt/p5-FreeBSD-Ports/Makefile @@ -0,0 +1,22 @@ +# New ports collection makefile for: p5-FreeBSD-Ports +# Date created: 12 September 2001 +# Whom: Tom Hukins <tom@FreeBSD.org> +# +# $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 <bsd.port.mk> diff --git a/ports-mgmt/p5-FreeBSD-Ports/distinfo b/ports-mgmt/p5-FreeBSD-Ports/distinfo new file mode 100644 index 0000000..6777dc9 --- /dev/null +++ b/ports-mgmt/p5-FreeBSD-Ports/distinfo @@ -0,0 +1 @@ +MD5 (FreeBSD-Ports-0.03.tar.bz2) = ca874e00cff23d7ec946abdadc761720 diff --git a/ports-mgmt/p5-FreeBSD-Ports/pkg-comment b/ports-mgmt/p5-FreeBSD-Ports/pkg-comment new file mode 100644 index 0000000..4ace9e1 --- /dev/null +++ b/ports-mgmt/p5-FreeBSD-Ports/pkg-comment @@ -0,0 +1 @@ +Perl modules for parsing FreeBSD's Ports INDEX file diff --git a/ports-mgmt/p5-FreeBSD-Ports/pkg-descr b/ports-mgmt/p5-FreeBSD-Ports/pkg-descr new file mode 100644 index 0000000..6792670 --- /dev/null +++ b/ports-mgmt/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/ports-mgmt/p5-FreeBSD-Ports/pkg-plist b/ports-mgmt/p5-FreeBSD-Ports/pkg-plist new file mode 100644 index 0000000..9e63253 --- /dev/null +++ b/ports-mgmt/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 |