summaryrefslogtreecommitdiffstats
path: root/ports-mgmt/p5-FreeBSD-Ports/pkg-descr
blob: bb234e879e83c7f505162a02af55e68cc4b4655e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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/
OpenPOWER on IntegriCloud