mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Add Perl modules for parsing and querying FreeBSD's Ports INDEX file
This commit is contained in:
parent
6641a49c5c
commit
75db9e78c2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=47770
11 changed files with 97 additions and 0 deletions
22
ports-mgmt/p5-FreeBSD-Ports/Makefile
Normal file
22
ports-mgmt/p5-FreeBSD-Ports/Makefile
Normal file
|
@ -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>
|
1
ports-mgmt/p5-FreeBSD-Ports/distinfo
Normal file
1
ports-mgmt/p5-FreeBSD-Ports/distinfo
Normal file
|
@ -0,0 +1 @@
|
|||
MD5 (FreeBSD-Ports-0.03.tar.bz2) = ca874e00cff23d7ec946abdadc761720
|
1
ports-mgmt/p5-FreeBSD-Ports/pkg-comment
Normal file
1
ports-mgmt/p5-FreeBSD-Ports/pkg-comment
Normal file
|
@ -0,0 +1 @@
|
|||
Perl modules for parsing FreeBSD's Ports INDEX file
|
17
ports-mgmt/p5-FreeBSD-Ports/pkg-descr
Normal file
17
ports-mgmt/p5-FreeBSD-Ports/pkg-descr
Normal file
|
@ -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
|
7
ports-mgmt/p5-FreeBSD-Ports/pkg-plist
Normal file
7
ports-mgmt/p5-FreeBSD-Ports/pkg-plist
Normal file
|
@ -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
|
|
@ -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
|
||||
|
|
22
textproc/p5-FreeBSD-Ports/Makefile
Normal file
22
textproc/p5-FreeBSD-Ports/Makefile
Normal file
|
@ -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>
|
1
textproc/p5-FreeBSD-Ports/distinfo
Normal file
1
textproc/p5-FreeBSD-Ports/distinfo
Normal file
|
@ -0,0 +1 @@
|
|||
MD5 (FreeBSD-Ports-0.03.tar.bz2) = ca874e00cff23d7ec946abdadc761720
|
1
textproc/p5-FreeBSD-Ports/pkg-comment
Normal file
1
textproc/p5-FreeBSD-Ports/pkg-comment
Normal file
|
@ -0,0 +1 @@
|
|||
Perl modules for parsing FreeBSD's Ports INDEX file
|
17
textproc/p5-FreeBSD-Ports/pkg-descr
Normal file
17
textproc/p5-FreeBSD-Ports/pkg-descr
Normal file
|
@ -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
|
7
textproc/p5-FreeBSD-Ports/pkg-plist
Normal file
7
textproc/p5-FreeBSD-Ports/pkg-plist
Normal file
|
@ -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
|
Loading…
Add table
Reference in a new issue