aboutsummaryrefslogtreecommitdiffstats
path: root/ports-mgmt
diff options
context:
space:
mode:
authortom <tom@FreeBSD.org>2001-09-13 06:58:50 +0800
committertom <tom@FreeBSD.org>2001-09-13 06:58:50 +0800
commitb87014108515ae52514f1d43cb15cdd7e9736e74 (patch)
tree22fec034505bf449290a032c37aa0709d1ee1b46 /ports-mgmt
parent21aa25ff215f8f44edb530a4f06c22b6f1a21d29 (diff)
downloadfreebsd-ports-gnome-b87014108515ae52514f1d43cb15cdd7e9736e74.tar.gz
freebsd-ports-gnome-b87014108515ae52514f1d43cb15cdd7e9736e74.tar.zst
freebsd-ports-gnome-b87014108515ae52514f1d43cb15cdd7e9736e74.zip
Add Perl modules for parsing and querying FreeBSD's Ports INDEX file
Diffstat (limited to 'ports-mgmt')
-rw-r--r--ports-mgmt/p5-FreeBSD-Ports/Makefile22
-rw-r--r--ports-mgmt/p5-FreeBSD-Ports/distinfo1
-rw-r--r--ports-mgmt/p5-FreeBSD-Ports/pkg-comment1
-rw-r--r--ports-mgmt/p5-FreeBSD-Ports/pkg-descr17
-rw-r--r--ports-mgmt/p5-FreeBSD-Ports/pkg-plist7
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 000000000000..5e51cc112720
--- /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 000000000000..6777dc99a66b
--- /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 000000000000..4ace9e196f0f
--- /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 000000000000..679267092e99
--- /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 000000000000..9e63253110c6
--- /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